Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 23 Oct 2003 15:56:07 -0700
From:      "Brent Wiese" <brently@bjwcs.com>
To:        "'Dirk-Willem van Gulik'" <dirkx@webweaving.org>
Cc:        freebsd-questions@freebsd.org
Subject:   RE: Probably dumb apache question
Message-ID:  <20031023225313.EVXC1644.fed1mtao04.cox.net@SAMBA>
In-Reply-To: <20031023071112.M31358@skutsje.san.webweaving.org>

next in thread | previous in thread | raw e-mail | index | archive | help
> > 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 




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20031023225313.EVXC1644.fed1mtao04.cox.net>