The G flag returns a 410 Gone status code for the requested URL.

RewriteEngine On
RewriteRule \.cfm$ - [G]

The above rule will return a 410 Gone status for any URI ending in ".cfm", as is only right and proper.

The more verbose form of [Gone] is also permitted.

Back to RewriteFlags

RewriteFlags/G (last edited 2009-09-20 22:13:30 by localhost)