Blocking a specific URL by IP (a URL create by mod-rewrite)
- by Alex
We need to block a specific URL for anyone not on a local IP (anyone without a 192.168.. address)
We however cannot use apache's
<Directory /var/www/foo/bar>
Order allow,deny
Allow from 192.168
</Directory>
<Files /var/www/foo/bar>
Order allow,deny
Allow from 192.168
<Files>
Because these would block specific files or directories, we need to block a specific URL which is created by mod-rewrite and the page is dynamically created using PHP.
Any ideas would be greatly appreciated