Post
by pkocsis » Tue May 27, 2014 10:48 pm
Thank you Pyrros,
If I could add one more question.....can this methodology be used to:
1) redirect all http requests to https EXCEPT...
2) if I have a directory in my documentroot called, say, "sslonly", can I make it so that any http requests to assets inside sslonly will NOT get rewritten and simply denied?
I ask because I do indeed want to globally force all http to https, but for some directories, I would like to simply deny http requests and require https be used from the gitgo....(I.E. for requests to assets inside sslonly, if they come in via http I don't want to rewrite and redirect to https....I want to deny them)
Thanks again Pyrros!
Paul