Apache 2.2 won't recognize virtual hosts
When I run Apache 2.2 (Debian Etch new instal) with its default apache2.conf, it runs fine. But when I add a virtual host to the httpd.conf file:
Code:
Listen 80 Code:
# apache2ctl restart Thanks for the help--I'm googled-out! |
Is the sections that enables virtual hosts uncommented. The section should be something like
Code:
# Virtual hosts |
It looks like this:
Code:
# Include the virtual host configurations: And actually, I'm getting this sometimes, too (when trying to use the virtual host code listed above): Code:
# apache2ctl start Any other ideas on getting the virtual hosts to be recognized normally? |
Ok, this was just because I had no knowledge of how to use Apache 2.2.
http://www.linux.com/article.pl?sid=05/09/01/186204. I needed to not have the virtual servers in httpd.conf, but instead have them in sites-available and then ln -s them to sites-enabled. I got this set of error messages, however: Code:
# apache2ctl start |
All times are GMT -5. The time now is 04:26 AM. |