Apache doesn't like internet connections, allows intranet
I recently installed apache2 on a spare debian box of mine. when I try to open the index page via the network, it works perfectly. But when I try to query it via my internet IP addy, it refuses the connection. Portmapping, port forwarding, firewall are all correctly set up. I know the machine accepts connections, because telnetd and sshd both work, Is there somthing that I have missed?
I know this was posted in the Networking board, but in hindsight it belongs here. |
assuming your network configuration is correct (routing, firewall, ....) then the key point to accepting or rejecting requests in apache is the "Deny" and "Allow" options within some other directives.
as an example, the next configuration will deny requests from "somedoamin.com" <Directory /opt/apache> Order Deny,Allow Deny from somedomain.com </Directory> there are many combinations for allow and deny. Apache manual gives you some good examples to review. I'd advise that you review your configuration file and check if you just trusting connections from local network. hope this helps Khalid El-Gazzar |
All times are GMT -5. The time now is 01:28 PM. |