Re: HTTPS requests redirect to HTTP

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxxxx
  "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx


[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux