Re: PHP pages not working externally

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



Hi there, port 80 feeds an internal only website...

Apache is running 2 virtual hosts. one off port 80 and the other off port 8000.

Simple php scripts work fine but others, dont work at all.

ie, http://83.244.227.165:8000/test.php works fine externally but http://83.244.227.165:8000/test2.php (phpinfo page) does not work externally yet both work fine inside the lan.

"Keith Roberts" <keith@xxxxxxxxxxxx> wrote in message news:alpine.LFD.2.00.0909181245040.12909@xxxxxxxxxxxxxxxxxxx
On Fri, 18 Sep 2009, Cameron Edwards wrote:

To: 'Jack van Zanen' <jack@xxxxxxxxxxxx>
From: Cameron Edwards <Cam@xxxxxxxxxxxxx>
Subject: RE:  PHP pages not working externally

http://83.244.227.165:8000/test.php is the print that is working externally for me?

Alternatively, a static html page can be seen here: http://83.244.227.165:8000/ so i dont believe it to be firewall related.

They work for me as well. On port 8000 OK.

Why are you running apache on port 8000?

All web browsers default to using port 80 for http requests.

Are you running more than one instance of Apache?

Firewall rules can be set for each individual port. Because your firewall allows http connections on port 8000, doesn't necessarily mean that you can connect OK on port 80.

Please make sure your apache is listening on port 80, and that port 80 is not blocked by your firewall.

You can check which ports are open to others by going to http://www.grc.com and click on:

Services > ShieldsUp

You can then get an outsiders view of which ports are open to the internet.

HTH

Keith Roberts

-----------------------------------------------------------------
Websites:
http://www.php-debuggers.net
http://www.karsites.net
http://www.raised-from-the-dead.org.uk

All email addresses are challenge-response protected with
TMDA [http://tmda.net]
-----------------------------------------------------------------




[Index of Archives]     [PHP Users]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [Postgresql]     [PHP Books]     [PHP Databases]     [PHP SOAP]
  Powered by Linux