httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Chris Arnold <>
Subject RE: [users@httpd] Redirect HTTP to HTTPS
Date Mon, 09 Feb 2015 14:51:20 GMT
    ProxyPass /webapp/
    ProxyPassReverse /webapp/
    RedirectMatch ^/$

    #  Redirect iFolder and Admin to HTTPS
    Redirect /webapp2
    Redirect /webapp3

The above redirects what we need it to redirect. The issue is, the main site is
also redirected to So i comment out the above RedirectMatch
^/$ and the main works as expected but all the
redirects dont work so i am fairly confident it is the RedirectMatch ^/$
that is the issue. I also tried RedirectMatch ^/webapp(.*)
and this allows the main to work but also lands you on the main site. Any ideas on how to exclude from being redirected? Can you use
a RewriteCond, something like this:

RewriteCond %{REQUEST_URI} !
To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message