Soldato
Hi all,
Sure you've all read numerous posts about htaccess files, and i was pretty confident i was getting quite handy at them, while doing all sorts on a test install locally...
Then came using the rules on my live site, and bam, no worky...
Here's what won't work specifically, if anyone can point out what could be wrong i'd really appreciate it...
I've tried inside IF module, with and without () brackets, and i'm still stumped why my site is ignoring the conditions...
Local install.... type in.. http://localhost?p=http://www.someremotesite
Forbidden!.. exactly what i want...
Live install .... http://mysite.com?p=http://www. etc...
Reloads the page it's on with the query string still there...
Appreciate some help on this guys...
TIA.
Sure you've all read numerous posts about htaccess files, and i was pretty confident i was getting quite handy at them, while doing all sorts on a test install locally...
Then came using the rules on my live site, and bam, no worky...
Here's what won't work specifically, if anyone can point out what could be wrong i'd really appreciate it...
Code:
RewriteCond %{QUERY_STRING} ^.*\=temp_path.*$ [OR]
RewriteCond %{QUERY_STRING} ^.*\=c_temp.*$ [OR]
RewriteCond %{QUERY_STRING} ^.*//includes/header.php.*$ [OR]
RewriteCond %{QUERY_STRING} ^.*\=(ht|f)tp\:.*$ [NC]
RewriteRule .* - [F,L]
I've tried inside IF module, with and without () brackets, and i'm still stumped why my site is ignoring the conditions...
Local install.... type in.. http://localhost?p=http://www.someremotesite
Forbidden!.. exactly what i want...
Live install .... http://mysite.com?p=http://www. etc...
Reloads the page it's on with the query string still there...
Appreciate some help on this guys...
TIA.