homepage Welcome to WebmasterWorld Guest from 54.226.252.142
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member

Visit PubCon.com
Home / Forums Index / Code, Content, and Presentation / Apache Web Server
Forum Library, Charter, Moderators: Ocean10000 & incrediBILL & phranque

Apache Web Server Forum

    
401 login error after Apache update
Matsaki




msg:4549253
 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!

 

lucy24




msg:4549274
 1:37 am on Feb 27, 2013 (gmt 0)

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

phranque




msg:4549316
 4:09 am on Feb 27, 2013 (gmt 0)

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.

Matsaki




msg:4549358
 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!

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Code, Content, and Presentation / Apache Web Server
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved