httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mike McMullen" <>
Subject [users@httpd] Newbie ReWrite Question
Date Wed, 05 Apr 2006 21:38:30 GMT

Hi All,

Let me start off by stating I are ignernt of rewriting rules. In our .htaccess
files on our server I have the following magic that forces connections for
user-based directories to an SSL connection:

  RewriteEngine on

  RewriteCond %{SERVER_PORT} ^80$
  RewriteCond %{PATH_INFO} ^$
  RewriteRule ^(.*) [L]

  RewriteCond %{SERVER_PORT} ^80$
  RewriteRule ^(.*)$1

This magic was given to me awhile ago.

The new server I am putting in has multiple network cards in it. I would
like to if necessary force the incoming connection to use SSL but
stay on the same network path that the connection was initiated
with. One advantage is this keeps from going out of the internal
network, through a router and into the nic defined as the internet
facing IP.

Can someone show me what I need to change in the above?



The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
   "   from the digest:
For additional commands, e-mail:

View raw message