Results 1 to 5 of 5
  1. #1
    Moderator wildjokerdesign's Avatar
    Join Date
    Jun 2003
    Location
    Kansas City Mo
    Posts
    5,721

    Default 401 No Authourization Error.

    I recently have been getting a 401 Error in my logs when I access the File Manager and phpMyAdmin. When I am using the features it seems to work fine but the error still shows up in the logs. The main reason I know this is because on one of my accounts I have the errors sent to me via e-mail. On the File Manager it seems to be on the images that it returns the error on phpMyAdmin it is on the access to the program directory.

    Has anyone else noticed the same?

    Shawn
    Shawn
    Please remember your charity of choice: http://www.redcross.org

    Handy Links: wildjokerdesign.net | Plain Text Editors: EditPlus | Crimson

  2. #2
    Senior Member FZ's Avatar
    Join Date
    May 2003
    Location
    Johannesburg, South Africa
    Posts
    1,024

    Default

    Hi Shawn,

    As far as I know, this is not an error. When you navigate to a directory that is password protected, the server has to send the 401 code to the browser to let it know that the resource being accessed requires a username and password to be accessed (and so also makes an enter username/password input dialog pop up). I just checked my PhpMyAdmin (and another password protected directory) to make sure this was the case, and it is. I also noted that the 401 is only sent once - when the person enters their login details (assuming they are correct) the same URL they tried to access in the first place is sent back with code 200 (which means "OK").
    Fayez Zaheer

  3. #3
    Moderator wildjokerdesign's Avatar
    Join Date
    Jun 2003
    Location
    Kansas City Mo
    Posts
    5,721

    Default

    Ahha I see. Must be a product of 2.0 I don't remember getting it on protected directories with 1.0 unless the access failed. Guess I need to go in and tweak my script some.

    Shawn
    Shawn
    Please remember your charity of choice: http://www.redcross.org

    Handy Links: wildjokerdesign.net | Plain Text Editors: EditPlus | Crimson

  4. #4
    Senior Member FZ's Avatar
    Join Date
    May 2003
    Location
    Johannesburg, South Africa
    Posts
    1,024

    Default

    Hmm, I may have misunderstood what your problem is here. Are you saying that the 401 is logged to your /var/log/httpd/error_log? I assumed you meant /var/log/httpd/access_log (which is what I checked). No 401s seem to be logged to my error_log (neither when using valid nor when using invalid details).
    Fayez Zaheer

  5. #5
    Moderator wildjokerdesign's Avatar
    Join Date
    Jun 2003
    Location
    Kansas City Mo
    Posts
    5,721

    Default

    I use a .htaccess file to direct errors to a script that then processes them and returns a page depending on what the error is. Also depending on the error it sends me an e-mail. The script does not actually write to the main logs but to a diffrent one. It is a pretty old one and I did alot of modifications on it.
    Shawn
    Please remember your charity of choice: http://www.redcross.org

    Handy Links: wildjokerdesign.net | Plain Text Editors: EditPlus | Crimson

Similar Threads

  1. Mive email / order completion major error
    By proaudiogear4less in forum Miva Merchant
    Replies: 5
    Last Post: 11-02-2005, 05:00 AM
  2. Proxy Error in osCommerce Checkout
    By zestgourmet in forum E-commerce
    Replies: 7
    Last Post: 08-12-2004, 11:21 AM
  3. .htaccess and 500 Internal Server Error
    By dpfaigin in forum CGI Scripts / Perl
    Replies: 16
    Last Post: 06-21-2004, 06:37 AM
  4. Problem with "Apache Error Message" feature
    By edson in forum General Discussion
    Replies: 3
    Last Post: 05-24-2004, 01:50 PM
  5. Replies: 2
    Last Post: 04-12-2004, 11:54 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •