Solved

Running apache under linux with virt. servers

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

NFR key for Veeam Backup for Microsoft Office 365

Veeam is happy to provide a free NFR license (for 1 year, up to 10 users). This license allows for the non‑production use of Veeam Backup for Microsoft Office 365 in your home lab without any feature limitations.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
ACK Attack 5 61
Client VPN Solution with Different LAN Access Based On User 2 79
Open BDS Pf 3 52
High Bandwidth Usage 6 76
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…
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…

820 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