Forum Moderators: phranque

Message Too Old, No Replies

How to Set Website to be Accessible Only From Localhost?

for development purpose

         

thedealmaker

5:38 pm on Jan 26, 2006 (gmt 0)

10+ Year Member



Hi,
I am developing a website and I want to know how to make site and files only accessible from localhost. I am using apache, php, mysql and Fedora linux. I tried to set "Allowed from all" to "Allowed from localhost" in httpd.conf, but localhost can't access the website anymore.

Many thanks.

mack1

6:35 pm on Jan 26, 2006 (gmt 0)

10+ Year Member



Make Apache listen only on the local connection:
Listen 127.0.0.1:80