Running apache under linux with virt. servers

I need a sample configuration file for running apache with virtual web servers. I have looked at httpd.conf but I need more info than this gives. This is urgent and a quick response would be appreciated (hence the high points)!!
Who is Participating?
unicorntechConnect With a Mentor Commented:
The best way I have found to do this is to use a conf file such as the following:

DocumentRoot /path/to/doc/root/dir
ServerName www.foobar.comErrorLog logs/unicorntech-error_log
TransferLog logs/foobar-access_log

You will also need to add a LISTEN directive to the conf file to enable this IP address.

Hope this helps,

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.