Neutralizer.
thanks for the support.
In my vbulletin configuration i have setup that guests are allowed to vew attachments and i want to keep it that way, and my question is how should i configure the rewrite rule to only limit the access to attachment.php
First i tried with:
PHP Code:
RewriteRule .*\.(php)$ http://www.myserver.com/img/forbid.jpe [R,NC]
But obviously it locks all the function in vbulletin (login.php, register.php, etc)
Then i tried with:
PHP Code:
RewriteRule attachment.php$ http://www.myserver.com/img/forbid.jpe [R,NC]
RewriteRule .attachment\.(php)$ http://www.myserver.com/img/forbid.jpe [R,NC]
RewriteRule .attach*\.(php)$ http://www.arquinauta.com/img/forbid.jpe [R,NC]
but none of them seem to work...
thanks again.