You are viewing a plain text version of this content. The canonical link for it is here.
Posted to bugs@httpd.apache.org by bu...@apache.org on 2004/04/22 13:54:30 UTC
DO NOT REPLY [Bug 28535] New: -
Internal server error through AllowOverride + .htaccess
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=28535>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND
INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=28535
Internal server error through AllowOverride + .htaccess
Summary: Internal server error through AllowOverride + .htaccess
Product: Apache httpd-2.0
Version: 2.0.49
Platform: PC
OS/Version: FreeBSD
Status: NEW
Severity: Normal
Priority: Other
Component: Core
AssignedTo: bugs@httpd.apache.org
ReportedBy: incmc@gmx.de
I tried the following config:
---
<Directory />
AllowOverride None
Options -Indexes
AuthType Basic
AuthName "Normaler Bereich"
AuthUserFile /usr/local/etc/apache2/apache2-passwords
Require valid-user
</Directory>
<Directory /usr/home/ftp-user/uiuI-3001/data>
AllowOverride Options
</Directory>
---
But this causes an internal server error if I put a .htaccess file with
the following content into an folder below
/usr/home/ftp-user/uiuI-3001/data:
---
AuthName "Test"
AuthType Basic
AuthUserFile /home/www/web509/html/news/.htpasswd
require valid-user
---
According to the Apache docs my config shouldn't allow overriding of
Auth directives!? Anything works correctly, when I remove the second
directory entry. The log file correctly mentions, that Auth* isn't allowed here,
but I don't understand why this causes an internal server error...
Jochen
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org