Portal Home > Knowledgebase > Articles Database > Problem with httpd.conf
Problem with httpd.conf
|Posted by Rytis, 11-01-2009, 02:06 PM|
I always used httpd.conf to set my virtualhosts and it worked perfect. Untill now.
All domains I point to my IP get's pointed to first virtual host folder. And it doesnt care about other settings. My config:
And it doesnt care about that I set blahblah.com to /var/www/epo, it just loads /var/epo.
Yes, I have restarted apache.
What's wrong here?
|Posted by markosolo, 11-01-2009, 02:23 PM|
|What happens when you switch the order of the Virtual Hosts around? Does it automatically only serve the top one still? You may want to try binding them to IP's and see what happens, eg:
Also, anything interesting in the logs?
|Posted by Rytis, 11-01-2009, 02:31 PM|
|Does it automatically only serve the top one still?
You may want to try binding them
Thanks, it helped I will follow you in twitter for this now :-P
|Posted by woods01, 11-01-2009, 05:56 PM|
|Why not just post what you actually have. The problem could simply be isolated to your computer.
Posting what you have shouldn't violate anything here.
The vhost file should start with
Add to Favourites Print this Article
Cloud backup (Views: 431)