We have a system utilizing Mod_Rewrite in .htaccess to generate SEO Friendly URL’s.
My goal is to manage access to these URL’s by source IP address. Unfortunately the website engine does not have the ability to restrict access by IP, so I’m exploring possibilities to do this using Apache’s built in features.
Here is an example of the restriction scheme I’m thinking:
There is a pre-defined list of URL’s Everyone needs to have access to:
[
domain.com...]
[
domain.com...]
[
domain.com...]
There is a very large number of URL’s and only specific IP Addresses (several) need to have access to them.
[
domain.com...]
[
domain.com...]
…
[
domain.com...]
Access to these URL’s needs to be granted only to IP_Address1, IP_Address2, IP_Address3 and deny access for everyone else.
Please advice if such a thing is possible. If yes, then how can this be achieved.
Thanks in advice.