This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Tomcat and the fly likes problem with virtual host Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "problem with virtual host" Watch "problem with virtual host" New topic
Author

problem with virtual host

Gina Ferrara
Greenhorn

Joined: Jul 02, 2003
Posts: 6
Hi,
I’m trying to setup a virtual host on IBM HTTP server. The url works when using https://somesite.com, but when I try to access the same url using http://somesite.com I get the page cannot be displayed”
Here is what I have in httpd.conf file
Do I need to add anything else somewhere in the config file?
Also the app server I’m using is WAS 4.0
##### Virtual Host somesite.com ####
<VirtualHost ##.###.###.##:80>
ServerName somesite.com
DocumentRoot /usr/HTTPServer/htdocs/en_US/somesite.com/
Alias /images/ /usr/HTTPServer/htdocs/en_US/somesite.com/images/
</VirtualHost>

##### Virtual Host somesite.com:443 ####
<VirtualHost ##.###.###.##:443>
ServerName somesite.com
SSLCipherSpec SSL_DES_192_EDE3_CBC_WITH_MD5
SSLCipherSpec SSL_RC4_128_WITH_MD5
SSLCipherSpec SSL_RC2_CBC_128_CBC_WITH_MD5
SSLCipherSpec 3A
SSLCipherSpec 34
SSLCipherSpec 35
SSLV2Timeout 50
SSLV3Timeout 500
SSLEnable
DocumentRoot /usr/HTTPServer/htdocs/en_US/somesitecom/
Alias /images/ /usr/HTTPServer/htdocs/en_US/somesite.com/images/
CustomLog "|/usr/HTTPServer/bin/rotatelogs /usr/HTTPServer/logs/somesite.log 34545" combined
Keyfile /usr/HTTPServer/ssl/somesite.com/sslkey.kdb
SSLServerCert somesite_req
</VirtualHost>
 
jQuery in Action, 2nd edition
 
subject: problem with virtual host
 
Similar Threads
virtual hosts
HTTP Apache named virtual host how-to?
How to access the IBM HTTP Server ??
Problems setting up VirtualHost to access a webapp running in a Tomcat/Apache environment
configuring ssl for apache+openssl+tomcat