httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jay Sprenkle <jspre...@reddawn.net>
Subject Re: [users@httpd] HTTPS requests redirect to HTTP
Date Sun, 31 Aug 2008 19:48:05 GMT
kohanm wrote:
> Hi,
>
> In the httpd-ssl.conf file I have this RewitreRule and it works fine
> for the HTTPS requests:
>
> RewriteEngine On
> RewriteCond %{QUERY_STRING}    ^(.*?)\.php&clue=([^&]+)$
> RewriteRule ^/List/$   /List/%1\.php?clue=%2 [R]
>
> But I want that rule redirects to http.
> How can I write a rule that after applying these rules, redirect HTTPS to HTTP?
>
> I changed the last line to:
>
> RewriteRule ^/List/$        http://mydomain/List/%1\.php?clue=%2 [R]
>
> It did not work.
>   
redirecting a secure connection to an insecure one?
Sounds like something not supported by design (I.E. this isn't a good thing)

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