2.0.48 authentication not working, anyone can get in

This is a discussion on 2.0.48 authentication not working, anyone can get in within the Linux Web Servers forums, part of the Web Server and Related Forums category; I'm trying to use basic authentication, but for some reason its not working. It never prompts me for a ...


Go Back   Usenet Forums > Web Server and Related Forums > Linux Web Servers

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 06-16-2004
news.caltech.edu
 
Posts: n/a
Default 2.0.48 authentication not working, anyone can get in

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>


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

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>
>
>


anyone have any suggestions for this? i'm really stumped as to why the
above config doesnt work.
  #3 (permalink)  
Old 06-18-2004
Torsten Lilge
 
Posts: n/a
Default Re: 2.0.48 authentication not working, anyone can get in

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
  #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
  #5 (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


ok i found out the reason it wasnt workinng ... because i am an idiot.
/dish/whis-disk/phppgadmin was the wrong path. I think it would be legal
for someone to shoot me now ;)

sorry to waste everyones time.

Ian
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
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

BB 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 05:11 AM.


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