May 5, 2010 at 12:29 PM
hello, With versión 1 of IIRF I was getting the following code, RewriteEngine On RewriteCond %{HTTP_REFERER} ^(http://.*\.?mydomain\.com).*$ RewriteRule .* /403.php I,L but now with versión 2.1 it doesn’t block access. I suppose it’s an easy-to-find error, but I’d appreciate some help, Thanks!
May 5, 2010 at 2:25 PM

Not sure, hard to read your config - the formatting is messed up. if you repost it so that it's readable, I'll have a look.

You need to rename the ini file in v2.x - have you done that?

Did you check the IIRF log file for warnings and errors?  Did you enable and check /iirfstatus? (via the new StatusInquiry directive)



May 5, 2010 at 2:29 PM
Edited May 5, 2010 at 2:31 PM

Sorry! file is:

RewriteEngine On

RewriteCond %{HTTP_REFERER} ^(http://.*\.?*$
RewriteRule .* /403.php I,L


yes, i've renamed the ini file thanks for your help :)

May 5, 2010 at 2:47 PM

The I,L options need to go in square brackets. 

Actually the I is unnecessary.

check /iirfstatus, it will indicate warnings. Also enable and check the IIRF log.

Troubleshooting IIRF operation is described in the documentation, and these are the first two suggestions I make.

good luck