![]() |
Heyooo!
Hello guys, I have a quick question. I've tried it out, however I'm not sure what I'm doing..
I want this: domain.com/client (that'll redirect into https://www.domain.com/client) I got this working perfectly. However, I don't want "https" outside of the "client" directory. So when people type in "https://www.domain.com/index.php" it will redirect into just "www.domain.com". I also have 1 more redirect that if you just type in: "domain.com/lol" it'll redirect into "www.domain.com/lol". The only problem I'm having is the "https" outside of the "client" directory. Would anyone know how to do this? thank you for your time. |
Not sure if this is exactly what you want, but try something like this:
Code:
RewriteEngine on |
Quote:
However im looking for something to where if the user isn't in /client then make sure that the "HTTPS" is not in use. so https://www.domain.com/client <--- That's ok https://www.domain.com/folder <---- Not ok. I only want "https" to work only inside of the /client folder I still appreciate your help though! Here's my code: Quote:
|
Turn off SSL in all of the directories, and turn it on in /client.
I don't have time to Google you up a link right now, but search for enabling SSL. Or disabling. Good luck. |
hmm, I tried. I just don't have any luck.
|
| All times are GMT +1. The time now is 06:50 AM. |
Powered by vBulletin®
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.