I did the following:
1) Installed the latest release of Debian Squeeze on my Raspberry Pi
2) apt-get Apache2 and PHP
3) wrote a small PHP app to display a single PHP page
4) set my Raspberry Pi to have a static IP address (192.168.1.2)
5) set my ADSL2+ router to have a Virtual Server with address 192.168.1.2, and permitting inboud connections on HTTP port 80 and SSH port 22
6) accessed my wesite from my LAN behind the router: "192.168.1.2/index.php" -- no problems
7) found out my public IP address and submitted "aaa.bbb.ccc.ddd/index.php" from my LAN, again no problems
8) tried "aaa.bbb.ccc.ddd/index.php" from the public Internet outside my LAN. PROBLEM: Connection timesout
9) to eliminate my router and connection as the problem, I did the following: setup a website (Apple's MAMP) on a machine on the local LAN. Submitted "aaa.bbb.ccc.ddd/mamp.html" from the public Internet and got the expected response.
10) I guess step 9 confirms it's not a router setting or my ISP blocking inbound connections... (?)
QUESTION
a) Is there anything I need to set in apache2's conf file to allow access to the public Internet?
b) Is there anything else in the website config that might be blocking inbound public internet connections?
Any help anyone can give would be greatly appreciated.
Cheers
Tim