Forum Moderators: bakedjake
Just came across this website and it looks like a great resource.
I have lots of URL's on my server and some of these URL's contain a directory called "/secure/pr".
What I need to do is to be able to secure this directory dynamically.
I was thinking about .htaccess, but that would involve putting a new .htaccess in each directory.
Ideally, I would like to add something to the server config, which says "Any request to a dir named 'pr' should be put through the mill and only allowed in if the IP address matches one in the list or a correct user and pass are given"
New sites are added all the time and the list of IP's and usernames passwords would change. This is where I think it is nto a good idea to use htaccess.
Any ideas?
Thanks in advance,
Mike Pearce