Re: Redirect HTTP to HTTPS does not work (mod_rewrite)
[
Date Prev
][
Date Next
][
Thread Prev
][
Thread Next
][
Date Index
][
Thread Index
]
To
:
users@xxxxxxxxxxxxxxxx
Subject
: Re: Redirect HTTP to HTTPS does not work (mod_rewrite)
From
: Felipe Roman <
roman.felipe@xxxxxxxxx
>
Date
: Tue, 16 Apr 2013 11:33:54 -0300
In-reply-to
: <
CAAKASGyU1aeNN-wazZ3DQuEwKw7kLiUv4O3U41omrbxoT7CYfw@mail.gmail.com
>
Reply-to
:
users@xxxxxxxxxxxxxxxx
On Tue, Apr 16, 2013 at 10:07 AM, Igor Cicimov
<
icicimov@xxxxxxxxx
>
wrote:
There shouldnt be empty line between these two.
Hi Igor,
In the conf file there isn't empty line between then:
RewriteCond %{HTTPS} !=on
RewriteRule ^/dashboard$ https://%{HTTP_HOST}/dashboard [R=301,L]
and I got the same problem after the redirect. I'm going to create a Virtualhost for this site and test using RedirectSSL, something like:
NameVirtualHost *:80
<VirtualHost *:80>
ServerName
mysite.example.com
DocumentRoot /usr/local/apache2/htdocs
Redirect permanent /secure
https://mysite.example.com/secure
</VirtualHost>
and see what happens.
Thanks again
--
Best Regards,
Felipe Roman
LinkedIn
http://au.linkedin.com/in/feliperoman
Follow-Ups
:
Re: Redirect HTTP to HTTPS does not work (mod_rewrite)
From:
Sean Alderman
References
:
Redirect HTTP to HTTPS does not work (mod_rewrite)
From:
Felipe Roman
Re: Redirect HTTP to HTTPS does not work (mod_rewrite)
From:
Igor Cicimov
Re: Redirect HTTP to HTTPS does not work (mod_rewrite)
From:
Felipe Roman
Re: Redirect HTTP to HTTPS does not work (mod_rewrite)
From:
Igor Cicimov
Prev by Date:
Re: Redirect HTTP to HTTPS does not work (mod_rewrite)
Next by Date:
Re: Redirect HTTP to HTTPS does not work (mod_rewrite)
Previous by thread:
Re: Redirect HTTP to HTTPS does not work (mod_rewrite)
Next by thread:
Re: Redirect HTTP to HTTPS does not work (mod_rewrite)
Index(es):
Date
Thread
[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]