404 Error Redirect

ISAPI_Rewrite is Apache mod_rewrite compatible URL rewriter for Microsoft IIS
User avatar
Posts: 4
Joined: 18 Dec 2012, 09:14

404 Error Redirect

18 Dec 2012, 10:17

Hello,

I answered my last question but now I am on the hunt for a 404 Error Redirect for ISAPI Rewrite v3.

Anyone have such a thing? Can it be done?

User avatar
Posts: 871
Joined: 12 Mar 2012, 09:54

Re: 404 Error Redirect

18 Dec 2012, 11:08

You can try the code like this:

RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule .? /404.asp [R=301,L]

Return to ISAPI_Rewrite 3.0

Who is online

Users browsing this forum: No registered users and 30 guests