[TriLUG] Apache Question

Steve Hoffman srhoffman at gmail.com
Tue Apr 12 19:11:09 EDT 2005


Thank you both...worked like a charm!

Steve

On 4/12/05, Aaron Bockover <abockover.trilug at aaronbock.net> wrote:
> RewriteEngine on
> RewriteRule ^/wap.* %{REQUEST_URI} [L]
> RewriteRule ^/(.*) https://secure.server.com/$1 [R,L]
> 
> That might just work.
> 
> --Aaron
> 
> On Tue, 2005-04-12 at 15:20 -0400, Steve Hoffman wrote:
> > What is the best way to redirect everything EXCEPT one directory in
> > apache?  I'm trying to redirect all traffic to the secure port except
> > http://host.com/wap.  I thought maybe RedirectMatch was the way to go,
> > but I can't come up with a REGEX that works.
> >
> > TIA,
> > Steve
> 
> --
> TriLUG mailing list        : http://www.trilug.org/mailman/listinfo/trilug
> TriLUG Organizational FAQ  : http://trilug.org/faq/
> TriLUG Member Services FAQ : http://members.trilug.org/services_faq/
> TriLUG PGP Keyring         : http://trilug.org/~chrish/trilug.asc
>



More information about the TriLUG mailing list