Tip of the week 17
Serve your apache website only on localhost
When you want to test something with apache2, it's useful to serve it only on localhost to see what happens and make sure everything goes well. So, you just have to edit your /etc/apache2/ports.conf and set the Listen directive to :
Listen 127.0.0.1:80
Listen 127.0.0.1:443 (if you want https)
Then, just restart apache2 :
natjohan# service apache2 restart
or
natjohan# /etc/init.d/apache2 restart
Comments