[CLUE-Tech] apache ssl only on non-well-known port?
Jeff Cann
j.cann at isuma.org
Fri Apr 2 20:59:37 MST 2004
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Friday 02 April 2004 7:04 am, David Anselmi wrote:
> Jeff Cann wrote:
> > Is it possible to setup apache 2.0.x running SSL listener only on another
> > port besides 443? If yes, can someone give me a quick overview?
>
> Yes. Looks like you use Listen to specify the port, and then enable SSL
> in a virtual host for that port.
Got it.
For the record, on redhat 9, you need these packages (at least):
httpd-2.0.40-21.9
mod_ssl-2.0.40-21.9
Next, I edited /etc/httpd/conf.d/ssl.conf and I changed lines 27, 90, and 94.
In this example, I put the listener on 444 - which is to avoid another SSL
web server (tomcat) which listens on the default HTTP SSL, port 443:
23 #
24 # When we also provide SSL we have to listen to the
25 # standard HTTP port (see above) and to the HTTPS port
26 #
27 Listen 444
90 <VirtualHost _default_:444>
91
92 # General setup for the virtual host
93 DocumentRoot "/var/www/phpgw"
94 ServerName my.server.com:444
95 ServerAdmin you at your.address
Follow up question: Not that it's terribly important, but I'm wondering if I
have to run a port 80 httpd listener. I'm not using it, I simply have an
HTML redirect page that moves the users to the SSL port.
Thanks!
- --
"Faith that does not affect a person's culture is a faith not fully embraced,
not entirely thought out, not faithfully lived."
- - Pope John Paul II
http://isuma.org/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)
iD8DBQFAbjapi4b9OApLCmoRAhP/AKCUNZBjbamN8sAgDMdM6dxzJnntXgCfXW69
m5bKzglrL4z5NPupmkqoJDQ=
=/SZp
-----END PGP SIGNATURE-----
More information about the clue-tech
mailing list