[mydomain.com...]
or
/usr/www/users/myname/al
I want to use another htaccess file in the myname (root) dir
to block some robots and picture hot linkers, but when ever I add the other htaccess file the app program's htaccess
file causes an error that won't let the cgi script run
for that app.
____________________________________________
affiliate htaccess file below
---------------------------------------------
IndexIgnore .htaccess */.?* *~ *# */HEADER* */README* */_vti*
<Limit PUT DELETE>
order deny,allow
deny from all
</Limit>
<Limit GET POST>
order deny,allow
allow from all
</Limit>
DirectoryIndex credits.html
Options ExecCGI
#AddHandler cgi-script .cgi
<Files .htaccess>
deny from all
</Files>
______________________________________
I have tried to add the "allowoverides All" directive
to this file, but get a 500 server error
_____________________________________
Here is the picture blocking file I want to add, it
works, but also cause a conflict with my affilate
program.
_______________________________________
RewriteEngine on
RewriteBase /
RewriteCond %{HTTP_REFERER}!^$
RewriteCond %{HTTP_REFERER}!^http://www.mydomain.com.*$ [NC]
RewriteCond %{HTTP_REFERER}!^http://mydomain.com.*$ [NC]
RewriteRule (\.[gG][iI][fF])¦(\.[jJ][pP][eE]?[gG])¦(\.[mM][iI][dD][iI]?)$ - [F]
any help is much appreciated
thanks, Mike