Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

problem with virtual host

 
Gina Ferrara
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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>
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic