Win a copy of Testing JavaScript Applications this week in the HTML Pages with CSS and JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Bear Bibeault
  • Ron McLeod
  • Jeanne Boyarsky
  • Paul Clapham
Sheriffs:
  • Tim Cooke
  • Liutauras Vilda
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • fred rosenberger
  • salvin francis
Bartenders:
  • Piet Souris
  • Frits Walraven
  • Carey Brown

problem with virtual host

 
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>
 
Just let me do the talking. Ahem ... so ... you see ... we have this tiny ad...
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
    Bookmark Topic Watch Topic
  • New Topic