Jump to content
View in the app

A better way to browse. Learn more.

The Uniform Server Community

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Having trouble with Proxy settings in a Virtual Host

Featured Replies

I've almost got Dekiwiki functioning on Uniform Server, apart from one thing... I can't get the proxy module to work correctly. I have created a new virtual host in httpd.conf as follows:

 

-----------------------------------

<VirtualHost *>

ServerName dekiwiki

DocumentRoot /www/web

 

RewriteEngine On

RewriteCond %{REQUEST_URI} ^/$

RewriteRule ^/$ /index.php?title= [L,NE]

 

RewriteCond %{REQUEST_URI} !/(@api|editor|skins|config)/

RewriteCond %{REQUEST_URI} !/(redirect|texvc|index|Version).php

RewriteCond %{REQUEST_URI} !/error/(40(1|3|4)|500).html

RewriteCond %{REQUEST_URI} !/favicon.ico

RewriteCond %{REQUEST_URI} !/robots.txt

RewriteCond %{REQUEST_URI} !/dummy.php

RewriteCond %{REQUEST_URI} !/phpinfo.php

RewriteCond %{QUERY_STRING} ^$ [OR] %{REQUEST_URI} ^/Special:Search

RewriteRule ^/(.*)$ /index.php?title=$1 [L,QSA,NE]

 

ProxyPass /@api http://localhost:8081 retry=1

ProxyPassReverse /@api http://localhost:8081

SetEnv force-proxy-request-1.0 1

SetEnv proxy-nokeepalive 1

 

AllowEncodedSlashes On

</VirtualHost>

-------------------------------------

 

By commenting and uncommenting lines I can see that the problem lies with the ProxyPass directives. If I uncomment them the apache server will not start.

 

As mentioned on another thread Installing Dekiwiki... I've now managed to install the correct mod_proxy module and enable them in apache2. But despite searching these forum, Dekiwiki's forums and elsewhere I'm thoroughly stuck!

Does anyone know where next to look?

  • Author

Finally...it seems that the offending line is the retry=1 after the ProxyPass statement. Uniform Server is still using Apache 2.0.59, which does not recognise this argument. Once I remove that then server fires up.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

Account

Navigation

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.