View Single Post

  #4 (permalink)  
Old 06-22-2004
Ian L
 
Posts: n/a
Default Re: 2.0.48 authentication not working, anyone can get in

Torsten Lilge wrote:
> news.caltech.edu wrote:
>
>
>>I'm trying to use basic authentication, but for some reason its not working.
>>It never prompts me for a password. The same server is running another site
>>which is using basic authentication and thats working. I'm not sure whats
>>different about this other site that its not working. I have restarted
>>apache after making the changes to the conf file. Here's the relevant
>>section (the actual conf file has the correct server name and ip):
>>
>><VirtualHost 0.0.0.0:80>
>> ServerName my.server.name
>> DocumentRoot /disk/whis-site
>> CustomLog logs/access_log_whis combined
>> <Directory /disk/whis-disk/phppgadmin>
>> Options +ExecCGI Indexes
>> AuthType Basic
>> AuthName "Whis"
>> AuthUserFile /disk/whis_sitePassFile
>> Require valid-user
>> </Directory>
>></VirtualHost>
>>
>>

>
> Try 'Satisfy any' at the end of <Directory>.
>
> Best
> Torsten


I tried that, didnt work. I really dont understand why its not working
since the same set up on the same machine for another site IS working.
The only difference between this site and the other site is this site is
a namevirtualhost since its sharing the IP address with another site.
Does that require anything special?

thanks

Ian