About .htaccess And 401 Error »  Show posts from    to     

Icy Phoenix


Old Support Topics - About .htaccess And 401 Error



Xusqui [ Sat 02 Sep, 2006 16:29 ]
Post subject: About .htaccess And 401 Error
Hile, neighbours and friends.

I've reviewed the error log in my domain and have a lot of errors like:

Code: [Hide]
  1. [Sat Sep 2 12:30:29 2006] [notice] cannot use a full URL in a 401 ErrorDocument directive --- ignoring! 


I've seen that the ErrorDocument directive for error 401 needs the complete path to the error file, not de url but the acces path, something like /home/domain.com/data/htdocs/xs/errors.php

The problem is that I got that error up to 4 times a second, son the error.log file is increasing huge and quickly... So the system will be slower when trying to access to it.

I've decided to comment the line in the .htaccess that refers to that error: this one:

Code: [Hide]
  1. ErrorDocument 401 /errors.php?code=401 


Don't know if this is something that will happen only to me or is something general...

Anyone can take a look at his/her error.log?

Thanks!!


Mighty Gorgon [ Sat 02 Sep, 2006 22:27 ]
Post subject: Re: About .htaccess And 401 Error
Maybe your host doesn't support 401 redirect...

I wouldn't worry about it... and keep the line commented!

Thanks for reporting.




Powered by Icy Phoenix