Have a look at the bottom of your httpd.conf there are some dummy entries there for virtual hosting.
#<VirtualHost ip.address.of.host.some_domain.com> # ServerAdmin webmaster@host.some_domain.com # DocumentRoot /www/docs/host.some_domain.com # ServerName host.some_domain.com # ErrorLog logs/host.some_domain.com-error_log # CustomLog logs/host.some_domain.com-access_log common #</VirtualHost>
Chris
On Mon, 14 Aug 2000 22:51:05 +0530, Anurag Jalan wrote:
Hi all,
I run Apache 1.3.12 on my Lan .. for testing purposes ... I managed to get up and running with my webserver reasonably fast ...but setting up Name basedVirtual Hosts is causing me a lot of heartburn :-)
my Server Root is /usr/local/apache Doc Root is /usr/local/apache/www ScriptAlias is /usr/local/apache/www/cgi-bin
and then there's php3 module support builtin ...
my DNS is correctly setup ...
www.adventus.cxm is an Alias of server.adventus.cxm
NOW .. i need to setup a virtual server so that i can have 2 or 3 different versions ( themes / layout ) of our site for evaluation
Just stick a ScriptAlias directive in the VirtualHost context. (see below) I set up a testing environment at work a while back, involving a lot of virtual hosts so that each progammer has their own personal testing environment. The VirtualHost entries are IP based and look like this: <VirtualHost 10.1.10.197:80> ServerAdmin blah@whatever.com DocumentRoot /home/blah/public_html ScriptAlias /cgi-bin/ "/home/blah/public_html/cgi-bin/" CustomLog /usr/local/apache/current/logs/blah_access.log common ErrorLog /usr/local/apache/current/logs/blah_error.log </VirtualHost> Pretty much any directive that can be put in the "main server" configuration can also be put in the VirtualHost context. kw ----- Original Message ----- From: "Anurag Jalan" <a_jalan@vsnl.com> Cc: <suse-linux-e@suse.com> Sent: 14 August 2000, Monday 14:54 Subject: Re: [SLE] Virtual Hosting on Apache 1.3.12 Chris, what do i do about the ScriptAlias ? anurag--- Brevsville Administrator wrote: purposes..
I've seup hpro.adventus.cxm as an alias...
What do I need to Add to the httpd.conf to get my Virtual Host to work..?
I've tried several sugestions off the net ... without success:Common
errors are:
i) httpd refuses to start ii) hpro.adventus.cxm is busy !!!!!
Any suggestions would be *most* welcome !
Regards
Anurag
-- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/support/faq
-- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/support/faq
-- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/support/faq -- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/support/faq