GoFuckYourself.com - Adult Webmaster Forum

GoFuckYourself.com - Adult Webmaster Forum (https://gfy.com/index.php)
-   Fucking Around & Business Discussion (https://gfy.com/forumdisplay.php?f=26)
-   -   .htaccess & 401 error (https://gfy.com/showthread.php?t=241654)

kenny 02-24-2004 06:05 AM

.htaccess & 401 error
 
Does anybody here use this

ErrorDocument 401 http://www.domain.com/error/

In their .htaccess file?


I was using it and it kept writing to the apache log file

/usr/local/apache/logs/error_log

The fucking log was 5 gigs in size!


I removed the 401 from my .htaccess files and the "error_log" file doesnt grow at that insane pace.

Project-Shadow 02-24-2004 06:52 AM

RewriteEngine on

ErrorDocument 403 http://www.xxx.com/403.shtml
ErrorDocument 404 http://www.xxx.com/404.shtml

---

You might want to add the actual file you're linking to at the end might be the cause of the problem.

kenny 02-24-2004 06:54 AM

Quote:

Originally posted by Project-Shadow
RewriteEngine on

ErrorDocument 403 http://www.xxx.com/403.shtml
ErrorDocument 404 http://www.xxx.com/404.shtml

---

You might want to add the actual file you're linking to at the end might be the cause of the problem.

I do in my actual .htaccess file:)


I am down to these four now

ErrorDocument 400
ErrorDocument 403
ErrorDocument 404
ErrorDocument 500


All times are GMT -7. The time now is 09:48 PM.

Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123