This is the mail archive of the
cygwin@cygwin.com
mailing list for the Cygwin project.
Re: Using authentication under Apache for Cygwin
S. L. wrote:
[...]
# Secure addbug form
<Directory "//sonscentral/users/adefaria/www/Internal/Release/addbug/">
AuthName "permission to add a bug"
AuthType Basic
AuthUserFile /etc/apache/addbug_users
Require valid-user
</Directory>
However that fails to work.
[...]
An "AllowOverride AuthConfig" directive, must also be placed. E.g.
<Directory "/your/directory/here">
Options Indexes FollowSymLinks
AllowOverride AuthConfig
order deny,allow
allow from all
</Directory>
and placing all authentication stuff in .htaccess, should do it.
Actually my <Directory /> had AllowOverried all. I tried:
# Secure addbug form
<Directory "//sonscentral/users/adefaria/www/Internal/Release/addbug/">
Options Indexes FollowSymLinks
AllowOverride AuthConfig
order deny,allow
allow from all
AuthName "permission to add a bug"
AuthType Basic
AuthUserFile /etc/apache/addbug_users
Require valid-user
</Directory>
And
# Secure addbug form
<Directory "//sonscentral/users/adefaria/www/Internal/Release/addbug/">
Options Indexes FollowSymLinks
AllowOverride AuthConfig
order deny,allow
allow from all
# AuthName "permission to add a bug"
# AuthType Basic
# AuthUserFile /etc/apache/addbug_users
# Require valid-user
</Directory>
With the .htaccess file. Neither method worked. I was allowed in without
any authentication.
===
There's too much blood in my caffeine system.
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/