Forum Moderators: phranque

Message Too Old, No Replies

mod rewrite forcing all requests to non-SSL except some folders

         

ryanrbftp

3:40 pm on Jul 11, 2011 (gmt 0)

10+ Year Member



We currently have many rewritten URLs under mod_rewrite, however we would like to redirect ALL HTTPS requests to HTTP except anything under the folder /account/. For /account/ any HTTP requests should be redirected to HTTPS.

Please be aware that anything requests under /account/ are actually rewrites themself.

Any ideas on the rules required to do such a thing?

Thank you for your help in advance.