RE: Run SSL at another port

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> -----Original Message-----
> From: Dhika Cikul [mailto:dcikul@xxxxxxxxx] 
> Sent: Monday, January 15, 2007 12:29 PM
> To: users@xxxxxxxxxxxxxxxx
> Subject:  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@xxxxxxxxxxxxxxxx
>    "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
> For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx
>
 
 
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@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux