On Wed, May 17, 2000 at 03:20:15PM -0600, Diana Shepard wrote:
> Can I use one apache with mod_ssl config file to
> service both https and http?  My install of apache
> with SSL is working fine, but my web application
> executes a java servlet which POSTs to an http CGI.
> apache chokes when it hits that servlet POST complaining
> that I'm speaking HTTP to an HTTPS port.
> 
> I have 2 Virtual hosts set up, one to service the http port
> and 1 to service the https port and the following:
> 
> Port 80
> 
> <IfDefine SSL>
> Listen 80
> Listen 443
> </IfDefine>
> 
> But this setup is not working.  Do I need a separate apache
> without SSL server instance to service http only?  Much thanks.
> 
The default httpd.conf that you get from a mod_ssl install will
serve both http and https when started with -DSSL (or startssl).
You don't need to add an extra vhost to serve http. 

vh

Mads Toftum
-- 
`Darn it, who spiked my coffee with water?!' - lwall

______________________________________________________________________
Apache Interface to OpenSSL (mod_ssl)                   www.modssl.org
User Support Mailing List                      [EMAIL PROTECTED]
Automated List Manager                            [EMAIL PROTECTED]

Reply via email to