Solved

Running apache under linux with virt. servers

Posted on 1997-12-23
1
243 Views
Last Modified: 2010-03-18
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)!!
0
Comment
Question by:mie
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 4

Accepted Solution

by:
unicorntech earned 250 total points
ID: 1587254
The best way I have found to do this is to use a conf file such as the following:

<VirtualHost xxx.xxx.xxx.xxx>
ServerAdmin webmaster@foobar.com
DocumentRoot /path/to/doc/root/dir
ServerName www.foobar.comErrorLog logs/unicorntech-error_log
TransferLog logs/foobar-access_log
</VirtualHost>    

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

Hope this helps,




0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I have seen several blogs and forum entries elsewhere state that because NTFS volumes do not support linux ownership or permissions, they cannot be used for anonymous ftp upload through the vsftpd program.   IT can be done and here's how to get i…
Note: for this to work properly you need to use a Cross-Over network cable. 1. Connect both servers S1 and S2 on the second network slots respectively. Note that you can use the 1st slots but usually these would be occupied by the Service Provide…
If you're a developer or IT admin, you’re probably tasked with managing multiple websites, servers, applications, and levels of security on a daily basis. While this can be extremely time consuming, it can also be frustrating when systems aren't wor…
In this video we outline the Physical Segments view of NetCrunch network monitor. By following this brief how-to video, you will be able to learn how NetCrunch visualizes your network, how granular is the information collected, as well as where to f…

628 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question