https://www.icyphoenix.com/viewtopic.php?f=35&t=262
-----------------------------------
Xusqui
Sat 02 Sep, 2006 16:29

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][Sat Sep  2 12:30:29 2006] [notice] cannot use a full URL in a 401 ErrorDocument directive --- ignoring![/code]

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]ErrorDocument 401 /errors.php?code=401[/code]

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

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! :wink:

Thanks for reporting. :wink:


