I created a fresh VirtualHost to test this because at first I didn't believe what I was seeing.
Here's a fresh Apache config:
Code:
<VirtualHost *:81>
ServerAdmin xxxx@xxx.xxx
ServerName www.xxxxx.xxx:81
DocumentRoot /var/www
LogLevel warn
ErrorLog /var/log/apache2/altport-error.log
CustomLog /var/log/apache2/altport-access.log combined
<Directory />
Options FollowSymLinks
AllowOverride None
Order allow,deny
Deny from all
</Directory>
<Directory /var/www>
Order allow,deny
Allow from all
</Directory>
<Directory /var/www/log>
Order allow,deny
Deny from all
</Directory>
</VirtualHost>
Everything works as it should, no requests from xxxxx.xxx:81/log are served. Now, delete the log folder and add the following line to the config:
Code:
SCGIMount /log 127.0.0.1:5000
Now visiting /log gives a 500 Internal Server Error, which is a sign that the xmlrpc-c server sitting at 127.0.0.1:5000 is world accessible!
Does anyone know why mod_authz_host doesn't work on SCGI Mounts?