[2.0.40] Virtual Host Authentication Problem

This is a discussion on [2.0.40] Virtual Host Authentication Problem within the Apache Web Server forums, part of the Web Server and Related Forums category; Authentication works okay for normal document root. Its just for virtual host that the authentication does not activate. I setup ...


Go Back   Usenet Forums > Web Server and Related Forums > Apache Web Server

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 11-09-2003
Phillip Juan McClore
 
Posts: n/a
Default [2.0.40] Virtual Host Authentication Problem

Authentication works okay for normal document root. Its just for virtual
host that the authentication does not activate.

I setup as follows:

o created passwd file using htpasswd command

o copied .htaccess to virtual host docroot (permissions: are -rw-r--r--)

changing perms to -r-------- mad no difference.

* View of the .htaccess

~~~~~~~~~~~~~~~~~~

AuthUserFile /etc/commonwealth.pwd

AuthName "This is a CustomNet Commonwealth Initiative Protected Area"

AuthType Basic

<Limit GET>

require user commonweal

</Limit>

~~~~~~~~~~~~~~~~~~

o at httpd.conf I have AllowOverride directive set as follows

~~~~~~~~~~~~~~~~~~

AllowOverride AuthConfig

~~~~~~~~~~~~~~~~~~

o at httpd.conf I also tried Allow Override directive set as follows - no
change.

~~~~~~~~~~~~~~~~~~

AllowOverride AuthConfig Limit

~~~~~~~~~~~~~~~~~~

o the web server has been restarted, stopped completely and started up too.

I copied the .htaccess file to main document root and it works.

Any ideas?

Thanks!

Juan



"We can't solve problems by using the same kind of thinking we used when we
created them "- Albert Einstein


 


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 06:15 AM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0