Welcome to MobyThreads.com!
FAQFAQ      ProfileProfile    Private MessagesPrivate Messages   Log inLog in
All support for the MobyThreads Threaded phpBB MOD can now be found on welsolutions at this forum

[2.0.40] Virtual Host Authentication Problem

 
   Web Hosting and Web Master Forums (Home) -> Apache RSS
Next:  Icon Error  
Author Message
business1

External


Since: Nov 09, 2003
Posts: 1



(Msg. 1) Posted: Sun Nov 09, 2003 2:18 pm
Post subject: [2.0.40] Virtual Host Authentication Problem
Archived from groups: alt>apache>configuration (more info?)

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

 >> Stay informed about: [2.0.40] Virtual Host Authentication Problem 
Back to top
Login to vote
Display posts from previous:   
Related Topics:
virtual host problem - hi all i have add a virtual host in httpd.conf when i try to visit the url from the web my.ip/sitename all images's path point to my.ip/images how can i point image path to my.ip/sitename/images without change href from ="/images" to ="...

apache2 virtual host problem - Hi Gro&#118;p, A while ago I did a small site to display pict&#118;res from o&#118;r family re&#118;nion in England (mostly to see some pict&#118;res since I didn't get to go). Anyway, Speakeasy, my ISP in addition to providing DNS po...

Problem with virtual host - WAP site 403 Error - I've configured two virtual hosts for www web site and wap. WWW works fine, but as i get to wap site via IE or M3Gate Wap explorer it gives me 403 Forbidden error. All files (www and wap) are chmod 775/664 and user is apache, group apache. httpd.conf..

local virtual host config for testing setup problem - Ive got a dynddns address which works fine frmo the outside world. I want to set up another virtual host for testing purposes accessible only from my machine. from vhosts.conf ################# Named VirtualHosts NameVirtualHost * <VirtualHost *>....

Virtual host and cgi Help - iam running slackware 9.0 and apache1.3 webserver. i have set up virtualhost, and have 2 domains on my server, one of my domains(mydoamin2) canīt execute cgi, the other can. I get this in my error.log "Options execCGI is off in this directory"...
   Web Hosting and Web Master Forums (Home) -> Apache All times are: Pacific Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]