httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kohanm <kohan.mass...@gmail.com>
Subject [users@httpd] HTTPS requests redirect to HTTP
Date Sun, 31 Aug 2008 18:52:39 GMT
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.

Thanks.

MK

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