[mythtv-users] MythWeb over HTTPS using mod_rewrite
Joe Nyland
joe at joenyland.co.uk
Fri May 25 14:24:42 UTC 2012
-----Original message-----
> From:Ronald Frazier <ron at ronfrazier.net>
> Sent: Fri 25-May-2012 14:52
> To: Discussion about MythTV <mythtv-users at mythtv.org>
> Subject: Re: [mythtv-users] MythWeb over HTTPS using mod_rewrite
>
> This is purely a guess, without having looked into it at all, but
> according to the following document:
> http://httpd.apache.org/docs/current/mod/mod_rewrite.html
>
> "REQUEST_URI
> The path component of the requested URI, such as "/index.html".
> This notably excludes the query string which is available as as its
> own variable named QUERY_STRING."
>
> So my guess is that you need to include the query string in your
> rewrite rule. So maybe:
>
> RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI}?%{QUERY_STRING}
>
>
> Not sure if that's correct, or if it might break anything on a page
> that didn't have a query string to begin with (probably not).
>
> --
> Ron Frazier
Thanks Ron, but unfortunately that didn't help, I'm afraid. It's a good suggestion though, which I hadn't thought of.
I also tried the ${THE_REQUEST} one too, but that failed spectacularly :-(
Is there any other info that I could provide that would help others get a better ides of what's going on?
Firebug shows that the navigation buttons on the listings page don't actually use href type links, but Javascript onclick= type links. From what I've read on mod_rewrite, these javascript links would be untouched, would they not? I have misunderstood the documentation on this though.
Thanks,
Joe
More information about the mythtv-users
mailing list