Probably dumb apache question
Brent Wiese
brently at bjwcs.com
Thu Oct 23 15:53:14 PDT 2003
> > I have set up a new freebsd/apache/mod_ssl server. I want
> to force all
> > connections to use SSL.
> >
> > I know I can simply turn off listening on port 80, but
> because I know people
> > using this site will instinctivly type "http" instead of
> "https", I'd like
> > to force a redirect.
>
> <VirtualHost 209.132.96.45:80>
> # Redirect *everything* to SSL.
> RewriteEngine on
> RewriteRule ^(.*) https://secure.foo.com$1 [R=301]
>
That works, except its changing the URL slightly. In the orignal http://
URI, I have a variable:
&StatusOp=%3D
After the rewrite, its appearing as:
&StatusOp=%253D
That's causing issues in the search. Any way to avoid that % being rewritten
to %25?
Thanks,
Brent
More information about the freebsd-questions
mailing list