Apache Server configuration support - Why is Apache asking me to login?

This is Interesting: Free IT Magazines  
Home > Archive > Apache Server configuration support > December 2005 > Why is Apache asking me to login?





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Why is Apache asking me to login?
sorensong@gmail.com

2005-12-12, 6:06 pm

I have installed Apache (via Appserv) and I can't access the site over
IP, only localhost. When I try to access it over the internet I get
"HTTP/1.0 401 Unauthorized" and it prompts me to log in. Any ideas?
Thanks.

AJ

DC

2005-12-12, 6:06 pm

On 12 Dec 2005 14:19:16 -0800, sorensong@gmail.com wrote:

>I have installed Apache (via Appserv) and I can't access the site over
>IP, only localhost. When I try to access it over the internet I get
>"HTTP/1.0 401 Unauthorized" and it prompts me to log in. Any ideas?
>Thanks.
>
>AJ



Look for file such as .htaccess in your document root.
also look for htaccess in your httpd.conf
sorensong@gmail.com

2005-12-12, 8:51 pm

I did a search for htaccess in document root and can't find any files,
though I did find some htaccess files in other folders, so I'm not sure
what to do. As far as the httpd.conf file, I did find an instance of
htaccess but I'm sorta scared to mess with it, this is what I found:

AccessFileName .htaccess

sorensong@gmail.com

2005-12-12, 8:51 pm

Is there a default login/pass for this maybe? I never set any
login/pass for Apache that I'm aware of, only MySql.

DC

2005-12-13, 6:02 pm

On 12 Dec 2005 17:26:21 -0800, sorensong@gmail.com wrote:

>Is there a default login/pass for this maybe? I never set any
>login/pass for Apache that I'm aware of, only MySql.



that line in the conf file is fine, you don't need to change it.

Any directory that has a .htaccess file is password protected. I would look for that .htaccess file and just rename it to
..htaccess.disabled. and see if your page is still password protected.

apache dosn't come with any htaccess files already set up, although whoever packaged apache for you system usually makes a few changes.
Usually just default config changes and such. But I would check the faq's not from apache, but for the company that packaged it for your
system.
sorensong@gmail.com

2005-12-14, 6:00 pm

I've renamed all .htaccess files to .htaccess.disabled and it's still
asking for my pw. I'm going to look in the Appserv forums see if I can
find anything.

Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com