PDA

View Full Version : Disable Access to website from outside world


qualispace
2nd June 2007, 04:57 AM
Hello,

I want to disable the access to a certain website from outside world and it should be accessed only from a couple of IP addresses. I tried the following directives in the httpd.include file

Order deny,allow
Allow from <IP_ADDRESS>

However, when I try to restart Apache, it does not start and I get an error saying Order not allowed.

Any idea how can I achieve the requirement?

qualispace
2nd June 2007, 05:45 AM
Well, I found the solution by creating a .htaccess file. Now I need to know how can I restrict the access to the admin URL of a mailing list. Any idea?

breun
4th June 2007, 04:41 PM
Same deal. You can create a .htaccess file in the mailinglist software folder.

qualispace
5th June 2007, 01:51 AM
Can you give me a sample .htaccess file?

breun
5th June 2007, 04:29 AM
Just the same as the one you mentioned in your original post.