Forum Moderators: phranque
RewriteEngine on
RewriteCond %{REQUEST_FILENAME}.js -f
RewriteRule ^(.*)$ [mysite.net...] [L]
-regards
RewriteEngine on
rewritecond %{http_referer}!. [NC,OR]
RewriteCond %{HTTP_REFERER}!^http://(www\.)?mysite.net/.*$
RewriteRule \.(js¦css)$ - [F]
RewriteEngine on
RewriteCond %{HTTP_REFERER} .
RewriteCond %{HTTP_REFERER} !^http://(www\.)?mysite\.net
RewriteRule \.(js¦css)$ - [F]
Replace the broken pipe "¦" character with a solid pipe character from your keyboard before trying to use code posted on WebmasterWorld -- posting on this forum modifies that character.
Jim