Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.server -> Re: ias config problem
Why do you have 4 virtualhost containers for 2 domains ? Your
configuration looks very confusing. An easy way to do this is to put
everything that is specific to each domain under its own virtualhost
directive and not under the main server configuration. Here's an
example for your case.
##### Main Server Configuration #######
# Since the webserver runs on this port, put it here
Port 5000
ServerName 10.10.10.8
###### Start Virtual Host directives ########
# Assuming this is your one IP address for both domains
NameVirtualHost 10.10.10.8
<VirtualHost 10.10.10.8>
ServerName www.domain1.com
ServerAdmin postmaster_at_domain1.com
DirectoryIndex index.html
DocumentRoot /disk1/u01/webdevel/copoloff/
<Directory />
Options MultiViews AllowOverride None
</VirtualHost>
<VirtualHost 10.10.10.8>
ServerName www.domain2.com
ServerAdmin postmaster_at_domain2.com
# Filename is case-sensitive
DirectoryIndex Login.jsp
DocumentRoot /disk1/u01/webdevel/insurfact/
<Directory />
Options MultiViews AllowOverride None
</VirtualHost>
# End VirtualHost directives
This should work if I have understood correctly what you are trying to say.
Murali
http://www.dbaquest.com/
Received on Fri Jan 18 2002 - 14:35:08 CST