Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

.htaccess rewrite engine

Status
Not open for further replies.

LenHewitt

Technical User
Jul 11, 2002
2
GB
Problem:

I'm attempting to automate broken link error reporting.

In .htaccess I have:

ErrorDocument 404 ErrorDocument 500
Many pages on the site are dynamic .PHP pages. I want to be able to pass through any QUERY_STRING of any URL on this site causing a 404 or 500 to the error404.php4

Can this be done with RewriteRule in the basedir .htaccess? If so, how?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top