Welcome to WebmasterWorld Guest from 54.147.158.215

Forum Moderators: Ocean10000 & incrediBILL & phranque

Message Too Old, No Replies

401 login error after Apache update

     
11:21 pm on Feb 26, 2013 (gmt 0)

New User

joined:Feb 26, 2013
posts: 2
votes: 0


I just updated Apache Apache 2.4.3 to 2.4.4 on my Ubuntu server. I have a developer URL for all developments of my projects.

The dev URL is password protected in the .htaccess file. But after the last Apache update I can't login. Something happened to the .htaccess file or other settings.

I'n not a server admin or expert on server config.

The message on the dev URL I try to open is:
Unauthorized

This server could not verify that you are authorized to access the document requested. Either you supplied the wrong credentials (e.g., bad password), or your browser doesn't understand how to supply the credentials required.

Additionally, a 401 Unauthorized error was encountered while trying to use an ErrorDocument to handle the request.


Anybody to my rescue please.

Many thanks!
1:37 am on Feb 27, 2013 (gmt 0)

Senior Member from US 

WebmasterWorld Senior Member lucy24 is a WebmasterWorld Top Contributor of All Time 5+ Year Member Top Contributors Of The Month

joined:Apr 9, 2011
posts:13218
votes: 348


Something happened to the .htaccess file or other settings.

If it's your own server why do you even have an htaccess file? Or was that a typo for htpasswd?

Or-- come clean now-- was it your host who did the upgrading and you're now stuck with the fallout?

Apache 2.4.3 to 2.4.4, hmm, file under: Problems We Wish We All Had
4:09 am on Feb 27, 2013 (gmt 0)

Administrator

WebmasterWorld Administrator phranque is a WebmasterWorld Top Contributor of All Time 10+ Year Member Top Contributors Of The Month

joined:Aug 10, 2004
posts:10563
votes: 15


welcome to WebmasterWorld, Matsaki!

you probably need a new htpasswd file:
http://httpd.apache.org/docs/current/programs/htpasswd.html [httpd.apache.org]

look for the AuthUserFile Directive in your .htaccess file or in a directory context in your .conf file to find the supposed location of the htpasswd file.
9:39 am on Feb 27, 2013 (gmt 0)

New User

joined:Feb 26, 2013
posts: 2
votes: 0


Many thanks phranque,
The .htaccess files was corrupted after update. Made a new a now it's working again.

Thanks!
 

Join The Conversation

Moderators and Top Contributors

Hot Threads This Week

Featured Threads

Free SEO Tools

Hire Expert Members