httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chris Edwards" <chris.edwa...@obinet.com>
Subject [users@httpd] how to rewrite 443 port to another
Date Wed, 31 Dec 2003 15:19:31 GMT
Hi

My server does virtual hosting and has a single ip address.  There is a cert
installed on the 443 port.  I want to install another certificate.  I'm
trying to use rewrite to change the port.  Its not working and I need some
help if anyone can offer.  Here is what I currently have configured:

<VirtualHost *:80>
  SSLDisable
  ServerName domain.com
  ServerAlias www.domain.com
  DocumentRoot /home/sites/www.domain.com/web
</Virtualhost>

<VirtualHost *:443>
  SSLDisable
  #AliasMatch ^(.*)    https://www.domain.com:4443/$1
  RewriteEngine on

  RewriteRule ^/(.*)    https://www.domain.com:4443/$1 [L,R]

  #RewriteCond %{SERVER_PORT} ^443$
  #RewriteRule ^.*$ https://www.domain.com:4443{REQUEST_URI} [R,L]
</Virtualhost>

<VirtualHost *:4443>
  SSLEnable
  SSLCertificateFile /usr/local/certs/www.domain.com.pem
  SSLCACertificateFile /usr/local/certs/ca_new.txt
  ServerName domain.com
  ServerAlias www.domain.com
  DocumentRoot /home/sites/www.domain.com/web
</Virtualhost>

Thanks!

-- 
Chris Edwards
Web Application Developer
Outer Banks Internet, Inc.
252-441-6698
chris.edwards@obinet.com
http://www.OuterBanksInternet.com

----- Original Message ----- 
From: "Lenny Sorey" <lrsorey@fatdot.com>
To: "Tomcat Users Group" <tomcat-user@jakarta.apache.org>
Cc: "Apache HTTP Users List" <users@httpd.apache.org>
Sent: Wednesday, December 31, 2003 9:13 AM
Subject: [users@httpd] Subject: HOWTO: Apache + Tomcat + mod_jk OR mod_jk2
even IIS


> For those seeking a solution to Integrating the following:
>
> Tomcat 4(or 5) and mod_jk2 (Tomcat/Jk2Generic)
> Tomcat 4.1.x and Apache 2.0.x on Linux with mod_jk2 and IP sockets
(LinuxJK2)
> Tomcat 4.1.x and Apache 2.0.x on Linux with mod_jk and IP sockets
(LinuxJK)
> Tomcat 4.1.x and IIS on Windows/2000 Professional with mod_jk and IP
sockets (WinJKIIS)
> Tomcat 4.1.x and IIS on Windows/2000 Professional with mod_jk2 and IP
sockets (WinJK2IIs)
> Tomcat 4.1.x and Apache 2.0.x on Windows/2000 Professional with mod_jk and
IP sockets (WinJKApache)
> Tomcat 4.1.x and Apache 2.0.x on Windows/2000 Professional with mod_jk2
and IP sockets (WinJK2Apache)
>
> I found the following site very helpful: I used this site to help me get
up and going with Tomcat 4.1.29 + Apache 2.0.48 + mod_jk2
>
>
> http://nagoya.apache.org/wiki/apachewiki.cgi?TomcatWeb
>
>
> Happy New Year and Good Luck!!
>
>
> Lenny Sorey
>
>
>
> ---------------------------------------------------------------------
> 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
>



---------------------------------------------------------------------
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