FORUMS
November 20, 2008, 03:06:27 AM *
Welcome, Guest. Please login or register.

LOGIN With Username, Password And Session Length
News:
 
   Home   Help Search LOGIN REGISTER  
Pages: [1]   Go Down
  Print  
Author Topic: .htaccess Error Code Redirects / Comments  (Read 193 times)
FidelGonzales
PAID TO PERFORM
Administrator
Racer
*****

STATUS: +2/-0
Offline Offline

Posts: 831



View Profile WWW
« on: July 16, 2008, 08:11:25 AM »

SAMPLE ERROR CODE REDIRECTS / .HTACCESS COMMENTS - Include these comments into the .htaccess file in order to redirect visitors to the referenced web pages in the event of an error. /index.html can be changed to any specific page you desire to be displayed for each specific error.

HTACCESS ERROR REDIRECT CODES / COMMENTS

ErrorDocument 400 /index.html
ErrorDocument 401 /index.html
ErrorDocument 403 /index.html
ErrorDocument 404 /index.html
ErrorDocument 500 /index.html

HTACCESS ERROR DESCRIPTIONS

500     Internal Server Error
501    Not Implemented
502    Bad Gateway    
503    Service Unavailable    
504    Gateway Timeout    
505    HTTP Version Not Supported

ADDITIONAL HTACCESS RESOURCES

DYNAMIC DRIVE - .htaccess / .htpasswd Password Protected File Generator
http://tools.dynamicdrive.com/password/
http://www.javascriptkit.com/howto/htaccess.shtml
« Last Edit: August 18, 2008, 03:12:41 AM by FidelGonzales » Logged

FIDEL GONZALES
WEB|PHOTO|WRITE|MARKETING|DESIGN
================================
IM - DIRTFORGE
FOLLOW - http://twitter.com/DIRTFORGE
VISION - http://www.flickr.com/photos/DIRTFORGE/
INDUSTRY - OFF-ROAD POWERSPORTS AUTOMOTIVE
================================
Pages: [1]   Go Up
  Print  
 
Jump to:  

Powered by SMF 1.1.4 | SMF © 2006-2007, Simple Machines LLC
Joomla Bridge by JoomlaHacks.com