virtual host
krothNov 20 2008 — edited Nov 21 2008We're trying to set up virtual hosts on our 10g application server (release 10.1.2.0.2). We think we're close, but can't figure out what we're missing.
The following is from our httpd.conf file
# Port: The port to which the standalone server listens. Certain firewall
# products must be configured before Apache can listen to a specific port.
# Other running httpd servers will also interfere with this port. Disable
# all firewall, security, and other services if you encounter problems.
# To help diagnose problems use the Windows NT command NETSTAT -a
#
Port 80
Listen 7778
.
.
.
ServerName test1.somewhere.com
.
.
.
NameVirtualHost *:80
#
<VirtualHost *:80>
ServerName test1.somewhere.com
DocumentRoot "C:\Oracle\10gasR2Mid\Apache\Apache\htdocs"
DirectoryIndex index.html
</VirtualHost>
#
<VirtualHost *:80>
ServerName www.somewhere-else.com
DocumentRoot "C:\Oracle\10gasR2Mid\Apache\Apache\htdocs\somewhere_else"
DirectoryIndex index.html
</VirtualHost>
We found that if we set the www.somewhere-else.com virtual host to "Listen on all the main server ports", then we could get to www.somewhere-else.com but we couldn't log in to portal. We get a wwc-41439 error. We think the problem is with the ports but we're not sure what to do.
Thanks
Kim