G
Guest
If I wanted to perform a redirect with htaccess to a perl script, how would
I perform this, would an example like this suffice:
RewriteEngine On
RewriteCond %{HTTP_REFERER} !^http://.*example.com*$ [NC]
RewriteRule .*\.(jpg|JPG)$ /path/to/perlscript.pl
[T=application/x-httpd-cgi,R]
I perform this, would an example like this suffice:
RewriteEngine On
RewriteCond %{HTTP_REFERER} !^http://.*example.com*$ [NC]
RewriteRule .*\.(jpg|JPG)$ /path/to/perlscript.pl
[T=application/x-httpd-cgi,R]