02-26-06 04:24 PM
jmroach wrote:
> httpd.conf
> ---
> ....
> <Directory /Library/WebServer/Documents/web>
Why don't you place your directives here inside this directory section
rater than using .htaccess files? Placing directives into the httpd.conf
is more efficient than checking and reading .htaccess files for each
request.
> AllowOverride All
Which means that now every module, which allows overriding directives in
.htaccess files, will check for .htaccess files. I don't understand
(from the performance point of view) why .htaccess files should be
preferred, if you can access the server config files...
> I get no popup window asking for a password at any point. I should get
> one when i try to access webpages located in ".../web", right?
The directives seems to be fine (but I would remove AuthGroupfile since
it's unused), and you don't have any 'Satisfy any' or ErrorDocument 401
http://example.com/some/file in place?
You must use
ErrorDocument 401 /some/file
instead, otherwise a 302 redirect but not a 401 authorization header
would be sent.
--
Robert
[ Post a follow-up to this message ]
|