Guest_imported
New member
- Jan 1, 1970
- 0
I have in my httpd.conf file a VirtualHost like that:
<VirtualHost etc.etc.etc>
DocumentRoot /web/extra
<Location />
Options FollowSymLinks MultiViews Indexes ExecCGI
</Location>
DirectoryIndex index.html index.htm index.php index.cgi
</VirtualHost>
In /web/extra directory there are many subdirectories, each one containing a .htaccess file, but when I access these subdirectories, no authentication is done. I tried to put a Directory directive like:
<Directory /web/extra/user1>
AllowOverride AuthConfig
Order allow,deny
Allow from all
</Directory>
where user1 is one of the subdirectories with its .htaccess file, but still doesn't work. Worst, it occurs an Internal Server Error.
What's wrong???
<VirtualHost etc.etc.etc>
DocumentRoot /web/extra
<Location />
Options FollowSymLinks MultiViews Indexes ExecCGI
</Location>
DirectoryIndex index.html index.htm index.php index.cgi
</VirtualHost>
In /web/extra directory there are many subdirectories, each one containing a .htaccess file, but when I access these subdirectories, no authentication is done. I tried to put a Directory directive like:
<Directory /web/extra/user1>
AllowOverride AuthConfig
Order allow,deny
Allow from all
</Directory>
where user1 is one of the subdirectories with its .htaccess file, but still doesn't work. Worst, it occurs an Internal Server Error.
What's wrong???