Welcome to WebmasterWorld Guest from 54.211.136.250

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)



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)

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



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)

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



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)



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

Thanks!