![]() |
Apache not working on localhost
Hello,
I've noticed in ISPCONFIG that Apache was not working, but all the hosted websites are accesible... Strange. I've checked apache with "apachectl status" and get following: Code:
Looking up localhostAny idea? |
What's the output of
Code:
httpd -t |
The output of httpd -t is
Code:
Syntax OK |
Ok, any errors in Apache's error log?
What's he output of Code:
netstat -tap |
netstat shows
Code:
tcp 0 0 server1.xxx:www *:* LISTEN 32034/apacheI've checked the apache error log, but there aren't errors related with this (just some "File does not exist: /var/www/sharedip/search.php", etc) I've also checked apache config (httpd.conf), dind't found nothing strange (for example "ServerName localhost") If it helps Apache is version 1.3.33 using ispconfig 2.2.13. |
Quote:
|
Thanks...
I have corrected the httpd.conf file to: Code:
Listen xx.xx.xx.xx:80Would it be better (more secure) to change it to Code:
Listen 80 |
Both solutions are ok. With the latter Apache will listen on all IP addresses.
|
to original thread opener:im not hijacking your thread. i just have a similar problem and hate to open a new thread for the same thing.
i have the same problem. im not exactly a noob at linux but i am at linux servers and stuff. httpd fails to start ive already set it to listen correctly and still nothing the only way i can get it to start is with Code:
httpd -e DEBUG |
please post the output of:
httpd -t and netstat -tap | grep http |
| All times are GMT +2. The time now is 22:44. |
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2013, vBulletin Solutions, Inc.