Forum Moderators: phranque
[webmasterworld.com...]
If you are hosted on a name-based virtual server, this is a non-issue, since your site cannot be accessed at all by a true HTTP/1.0 client that does not send the HTTP_HOST header. Therefore, no conditional checking is needed, and you may use mod_alias or unconditional mod_rewrite code to return a 410 response.
Redirect 410 /previous-local-URL-path-to-removed-file
RedirectMatch 410 ^/previous-local-URL-path-to-removed-file$
RewriteRule ^previous-local-URL-path-to-removed-file$ - [G]
RewriteRule ^/previous-local-URL-path-to-removed-file$ - [G]
Jim