Showing results for 
Search instead for 
Did you mean: 

Secure mod_rewrite


Secure mod_rewrite

OK, I wish to make use of the secure web-space that can be used on the homepages server.

However, the page can be served via both secure and non-secure means.

Does anybody know if it is possible to creat e a mod_rewrite rule that can either re-direct to the secure version, or at least to a page of my choice?

This only needs to apply to a single directory, where documents are created on the fly by a CCI script, the user downloads it from the secure site (after the CGI script has uploaded to make it available), then it is destroyed less than a min later.