[CLUE-Tech] Help with apache RedirectMatch

David Anselmi anselmi at americanisp.net
Tue Jul 29 21:08:52 MDT 2003


Jeffery Cann wrote:
[...]
> 
> So I have tried various match expressions:
> 
>   RedirectMatch ^/webapp/s/(.*) https://localhost/webapp/s/$1
>   RedirectMatch /webapp/s/(.*) https://localhost/webapp/s/$1
>   RedirectMatch .*/webapp/s/(.*) https://localhost/webapp/s/$1

What results are you getting?  Nothing?  Error?  The page you asked for 
but not by https?

As far as the RedirectMatch is concerned, if

http://localhost/webapp/s/somepage.html

matches, doesn't

https://localhost/webapp/s/somepage.html

match also?  Doesn't that put you in a bit of a loop?

Perhaps try using some other path for the redirect (instead of /webapp/s 
something like /secure) to at least see if it makes a difference.

HTH,
Dave




More information about the clue-tech mailing list