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 for Error pages... (https://gfy.com/showthread.php?t=455618)

A C 04-13-2005 05:20 PM

htaccess for Error pages...
 
Whos got the code for me to copy and paste :)
just need it for all error pages to redirect to page.html or whatever

thanks guys

AC

VIPimp 04-13-2005 05:23 PM

ErrorDocument 400 http://www.epicgals.com/epic404/?
ErrorDocument 401 http://www.epicgals.com/epic404/?
ErrorDocument 403 http://www.epicgals.com/epic404/?
ErrorDocument 404 http://www.epicgals.com/epic404/?
ErrorDocument 500 http://www.epicgals.com/epic404/?

What each error/line means:
400 - Bad request
401 - Authorization Required
403 - Forbidden
404 - Wrong page
500 - Internal Server Error

David! 04-13-2005 05:24 PM

ErrorDocument 404 http://www.domain.com/errordocs/404.html
save as .htaccess
make a directory called errordocs
save your 404 page as 404.html in errordocs
works for me on a unix server

nmcog 04-13-2005 05:27 PM

www.htaccesstools.com

A C 04-13-2005 05:32 PM

thanks fellas


All times are GMT -7. The time now is 04:10 PM.

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