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: [email protected]
        ReportedBy: [EMAIL PROTECTED]


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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to