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} !=onRewriteRule ^/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