httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "William C (Bill) Jones" <wcjo...@fccj.edu>
Subject Re: [users@httpd] rewriting http to https
Date Wed, 02 Oct 2002 21:47:53 GMT
>> <IfModule mod_rewrite.c>
>>         # initialize the rewrite engine
>>         RewriteEngine on
>>         RewriteLog /some/funky/dir/rewrite_log
>>         RewriteLogLevel 1
>>         # redirect all http requests to https
>>         RewriteCond %{SERVER_PORT} !^443$
>>         RewriteRule ^/(.*) https://%{SERVER_NAME}/$1 [L,R]
>> </IfModule>
> 
> I tried this new rewrite condition (check if 'not 443' instead of 'is 80'),
> and added the log level.  Still same issue.

Is your client really sending the HOST http/1.1 statement ?

-Bill-  :]
_Sx____________________
  ('>    iudicium ferat
  //\   Have Computer -
  v_/_    Will Hack...



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