httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Boyle Owen" <Owen.Bo...@swx.com>
Subject RE: [users@httpd] Run SSL at another port
Date Mon, 15 Jan 2007 11:35:17 GMT
> -----Original Message-----
> From: Dhika Cikul [mailto:dcikul@gmail.com] 
> Sent: Monday, January 15, 2007 12:29 PM
> To: users@httpd.apache.org
> Subject: [users@httpd] Run SSL at another port
> 
> Hello, i have problem
> 
> I have apache installed and run normally.
> 
> i need run another apache process at another port, ex :
> http://mydomain.com:6666/ and i have set new httpd.conf with name
> httpd1.conf and run with :
> /usr/local/apache/bin/httpd -f /usr/local/apache/conf/httpd1.conf
> 
> The problem is i can run SSL with https://mydomain.com/ but i can't
> run SSL with https://mydomain.com:6666/
> 
> anyone knows how to set SSL at another port. Thank's

An SSL server is just another port-based virtual host. When you type
"https", port 443 is implied by default so "http://server/ is the same
as "https://server:443". 

If you want to use another port, just add on the port number as you have
done (ie, https://mydomain.com:6666/) and make sure you have an SSL VH
defined in the config, ie:

<VirtualHost *:6666>
  SSLEngine on etc... (rest of SSL directives)

Rgds,
Owen Boyle
Disclaimer: Any disclaimer attached to this message may be ignored. 

PS - you don't need to run a separate instance of apache for this. You
can just add the VH definition to the existing config...


> -- 
> Dhika Cikul
> 
> ---------------------------------------------------------------------
> The official User-To-User support forum of the Apache HTTP 
> Server Project.
> See <URL:http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
>    "   from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
>
 
 
This message is for the named person's use only. It may contain confidential, proprietary
or legally privileged information. No confidentiality or privilege is waived or lost by any
mistransmission. If you receive this message in error, please notify the sender urgently and
then immediately delete the message and any copies of it from your system. Please also immediately
destroy any hardcopies of the message. You must not, directly or indirectly, use, disclose,
distribute, print, or copy any part of this message if you are not the intended recipient.
The sender's company reserves the right to monitor all e-mail communications through their
networks. Any views expressed in this message are those of the individual sender, except where
the message states otherwise and the sender is authorised to state them to be the views of
the sender's company.

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message