Jump to content

looked around, couldn't find any already posted topics..


Witz

Recommended Posts

alright, I wanted to set up my apache to work with virtual hosts instead of just the main host. I have the tags and what not but when I configure the virtual host tags in the httpd.conf file then apache wont start up, I tried moving the tags into the vhost.conf file it doesn\'t work, how exactly do I get the vhosts to work?

All I can tell you is that I have vhost statements in my httpd.conf. You should not have to move them into a seperate file or set of files for it to work.

 

It sounds like you have a syntax problem. Post the vhosts section of your httpd.conf.

# Use name-based virtual hosting.

#

NameVirtualHost

 

#

# VirtualHost example:

# Almost any Apache directive may go into a VirtualHost container.

# The first VirtualHost section is used for requests without a known

# server name.

#

<VirtualHost enetwork.sytes.net>

ServerAdmin [email protected]

DocumentRoot C:Program FilesApache GroupApache2htdocs

ServerName enetwork.sytes.net

ErrorLog logs/error_log

CustomLog logs/access_log common

</VirtualHost>

i think it should be NameVirtualHost *

 

it also looks like the directories may be the problem, take note of the different syntax:

 

DocumentRoot C:Program FilesApache GroupApache2htdocs  

ServerName enetwork.sytes.net  

ErrorLog logs/error_log  

CustomLog logs/access_log common

 

to try to get further information check apache\'s error log in the log directory.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.