-   Linux - Server (
-   -   Web browser display issue with PHP? (

your_shadow03 02-16-2009 06:48 AM

Web browser display issue with PHP?
I have installed Fedora 10 freshly.I edited the virtulHost line as:
<VirtualHost *:80>
ServerAdmin root
Document /var/www/html
Restarted the apache.
I created a page index.php under /var/www/html and can see the output
I was connected to internet earlier.I edited /etc/hosts file too :
Code: localhost.localdomain localhost
The moment I disconnected internet.
I was not able to open the same page.
I wondered if it has issue with What I did is: removed the entry from /etc/hosts.And tried restarting the apache service.
To my surprise, it dint come up.
Any idea why its behaving so?

greeneagle 02-16-2009 07:03 AM

Anything in apache error or access logs?

sleddog 02-16-2009 07:23 AM

Is Apache listening on Look for the "Listen" line in httpd.conf.

Are you browsing on the same computer as Apache is installed, or from a seperate machine?

your_shadow03 02-16-2009 07:26 AM

I have only one Dell Laptop I am working on?
Surprisingly when i run

It shows me IP retreived from my ISP.

All times are GMT -5. The time now is 10:29 PM.