About .htaccess And 401 Error


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: [Download] [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: [Download] [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!!

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

Thanks for reporting. :wink:


Page 1 of 1


  
You cannot post new topics
You cannot reply to topics
You cannot edit your posts
You cannot delete your posts
You cannot vote in polls
You cannot attach files
You can download files
You cannot post calendar events

   

This is a "Lo-Fi" version of our main content. To view the full version with more information, formatting and images, please click here.

Powered by Icy Phoenix based on phpBB
Generation Time: 0.1148s (PHP: 14% SQL: 86%)
SQL queries: 13 - Debug Off - GZIP Enabled