Solved

Running apache under linux with virt. servers

Posted on 1997-12-23
1
216 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
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

VMware Disaster Recovery and Data Protection

In this expert guide, you’ll learn about the components of a Modern Data Center. You will use cases for the value-added capabilities of Veeam®, including combining backup and replication for VMware disaster recovery and using replication for data center migration.

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…
Email security requires an ever evolving service that stays up to date with counter-evolving threats. The Email Laundry perform Research and Development to ensure their email security service evolves faster than cyber criminals. We apply our Threat…
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…

810 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