Fixed it by adding
LISTEN 80
in addition to listen 8000. you must tell apache to listen for the port and declare in virtualhost. telling virtualhost isn't enough.
Search found 3 matches
- 2010/09/15 23:26:02
- Forum: CentOS 5 - Webhosting Support
- Topic: [SOLVED] can't get virtual hosts to work
- Replies: 5
- Views: 4024
- 2010/09/15 22:58:15
- Forum: CentOS 5 - Webhosting Support
- Topic: [SOLVED] can't get virtual hosts to work
- Replies: 5
- Views: 4024
Re: can't get virtual hosts to work
i realized the virtual host i was useing was wrong i changed the virtual host to NameVirtualHost *:80 ServerName efw.local DocumentRoot /home/toonamo/Public_HTML and tried NameVirtualHost 192.168.15.1:80 ServerName efw.local DocumentRoot /home/toonamo/Public_HTML however it is still not working.
- 2010/09/15 22:05:02
- Forum: CentOS 5 - Webhosting Support
- Topic: [SOLVED] can't get virtual hosts to work
- Replies: 5
- Views: 4024
[SOLVED] can't get virtual hosts to work
apache appears to be running fine and if i use the default listen and specify a directory then that works but i can't get the virtual directorys to work at all. here is my httpd.conf file [code]ServerTokens OS ServerRoot "/etc/httpd" PidFile run/httpd.pid Timeout 120 KeepAlive Off MaxKeepAliveReques...