Solved

Running apache under linux with virt. servers

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

Give your grad a cloud of their own!

With up to 8TB of storage, give your favorite graduate their own personal cloud to centralize all their photos, videos and music in one safe place. They can save, sync and share all their stuff, and automatic photo backup helps free up space on their smartphone and tablet.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
OpenWrt 1 36
IPA - running on unsupported CentOS servers? 1 94
How to get IPA working with samba on RHEL 6? 1 82
Virtual Firewall to Filter DHCP Traffic? 23 77
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…
This tutorial gives a high-level tour of the interface of Marketo (a marketing automation tool to help businesses track and engage prospective customers and drive them to purchase). You will see the main areas including Marketing Activities, Design …
Windows 10 is mostly good. However the one thing that annoys me is how many clicks you have to do to dial a VPN connection. You have to go to settings from the start menu, (2 clicks), Network and Internet (1 click), Click VPN (another click) then fi…

895 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

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now