![]() |
Web browser display issue with PHP?
I have installed Fedora 10 freshly.I edited the virtulHost line as:
[code] <VirtualHost *:80> ServerName asklinux.com ServerAdmin root Document /var/www/html </VirtualHost> Restarted the apache. I created a page index.php under /var/www/html and can see the output http://asklinux.com/index.php. I was connected to internet earlier.I edited /etc/hosts file too : Code:
127.0.0.1 asklinux.com localhost.localdomain localhostI was not able to open the same page. I wondered if it has issue with asklinux.com.So What I did is: removed the asklinux.com entry from /etc/hosts.And tried restarting the apache service. To my surprise, it dint come up. Any idea why its behaving so? |
Anything in apache error or access logs?
|
Is Apache listening on 127.0.0.1? Look for the "Listen" line in httpd.conf.
Are you browsing on the same computer as Apache is installed, or from a seperate machine? |
I have only one Dell Laptop I am working on?
Surprisingly when i run Code:
#ifconfig |
| All times are GMT -5. The time now is 04:36 PM. |