[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#710412: mod_access_compat apparently not working



Package: apache2
Version: 2.4.4-2

cat > /etc/apache2/sites-enabled/test
<VirtualHost *:80>
	ServerName test
	DocumentRoot /tmp/test
	<Directory /tmp/test>
		Order allow,deny
		Allow from all
	</Directory>
</VirtualHost>
^D
mkdir /tmp/test
echo Hello World > /tmp/test/index.html
apachectl restart
http_proxy=127.0.0.1 wget http://test/

Expected result: index.html is downloaded
Actual result: ERROR 403: Forbidden.

Replacing "Order allow,deny", "Allow from all" with "Require all granted" makes it work.

However, mod_access_compat *is* enabled
$ cat /etc/apache2/mods-enabled/access_compat.load 
LoadModule access_compat_module /usr/lib/apache2/modules/mod_access_compat.so

$ apachectl -t -D DUMP_MODULES | grep access
 access_compat_module (shared)

a2dismod access_compat && a2enmod access_compat does not help either


Reply to: