Hello all.
I need to install a little local Apache+PHP+MySQL server in a Tablet PC so it can show local PHP pages with database data. How can I configure the server so it only accepts local access? (no traffic from anywhere outsite the tablet device). I know I can setup a firewall so it blocks all port 80 traffic but, is there a way to configure this in Apache, so I don't have to tinker with firewalls? What's the best method to accomplish this?
Thank you.
Local-only Apache server
Moderator: General Moderators
- Kieran Huggins
- DevNet Master
- Posts: 3635
- Joined: Wed Dec 06, 2006 4:14 pm
- Location: Toronto, Canada
- Contact:
Re: Local-only Apache server
In Apache's config modify the Listen line to read:
and then restart Apache. That *should* do it...
Code: Select all
Listen 127.0.0.1:80Re: Local-only Apache server
Thank you for the tip!!