× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Here is a simple config for SSL and non SSL. Notice the virtual host and the two listen statements. That is the key.



LoadModule ibm_ssl_module /QSYS.LIB/QHTTPSVR.LIB/QZSRVSSL.SRVPGM

Listen 10.1.3.4:80
Listen 10.1.3.4:443
DocumentRoot /www/webrsp/htdocs
Options -ExecCGI -FollowSymLinks -SymLinksIfOwnerMatch -Includes -IncludesNOEXEC

ErrorLog logs/basic_error_log
LogLevel error

DirectoryIndex index.htm index.html

KeepAliveTimeout 600
MaxKeepAliveRequests 50
UseCanonicalName Off


SetEnv HTTPS_PORT 443
<VirtualHost *:443>
SSLAppName IBM_HTTP_SERVER
SSLEngine On
SSLCacheDisable
</VirtualHost>

<Directory />
order deny,allow
deny from all
</Directory>

<Directory /www/webrsp/htdocs>
order allow,deny
allow from all
</Directory>



Thank you,
Schadd Gray
Damon Technologies, Inc.
www.damontech.com
-----Original Message----- From: Stefan Tageson
Sent: Wednesday, December 01, 2010 8:15 AM
To: MIDRANGE-L@xxxxxxxxxxxx
Subject: Apache simple config for ssl and non-ssl communications in the sameserver instance

Hello,

Anybody that can help me with a simple configuration example that shows how to setup an Apache web server instance that can handle both ssl and non ssl traffic? Currently I'm only able to get ssl OR non ssl to work, not both. Most likely a PICNIC kind of problem.

Best regards

Stefan Tageson
AddconIT AB
S:t Gertrudsgatan 3, SE-211 25 Malmö, Sweden
Cell : +46 (0) 732 36 99 34
stefan.tageson@xxxxxxxxxxx<mailto:stefan.tageson@xxxxxxxxxxx>

http://www.addconit.se/


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.