Page is a not externally linkable
- Code, Content, and Presentation
-- Apache Web Server
---- attempt to block hot-linking actually blocks everything


richcasto - 5:32 pm on Sep 27, 2002 (gmt 0)


Any clue why this doesn't work, in my .htaccess in the document root directory? I get a 404 error.

This is on a shared server, so maybe the Apache config is preventing it somehow? (mod_rewrite is enabled, because other rewrites work fine)

RewriteEngine on
RewriteCond %{HTTP_HOST} ^vanity\.domain\.tld$
RewriteRule ^(.*)$ [domain.tld...] [L,R=permanent]

Thanks!

Rich
P.S. Sticky me if you want the real URL's.


Thread source:: http://www.webmasterworld.com/apache/33.htm
Brought to you by WebmasterWorld: http://www.webmasterworld.com