Basic .htaccess Question
I've played with .htaccess before but not to this level.
We have a site still in development, when complete.
I need to restrict the site so it can only be accessed by 4 IP's at least for now.
That part I have found on my own.
Order deny,allow
Deny from all
Allow From 127.0.0.1 (Do I need this for the site to function?)
Allow from XXX.XXX.XXX
Allow from XXX.XXX.XXX
Allow from XXX.XXX.XXX
Allow from XXX.XXX.XXX
Options -Index (Stop search engine indexing and directory listing, I believe?)
My main question is can I just dump this in Public_HTML and configure the website to use this globally or do I still have to place a copy in every folder?
I'm running on a GoDaddy VPS server though I don't think that matters.
Thanks,
Kenny
Please sign in to leave a comment.
Comments
0 comments