Thanks for the help. This works but the problem is that i have to create the htaccess on each folder.
Is there a way i can just one htaccess on the secure folder, and pass on the trailing info to the rewrite rule.
also, after i implemnted the above solution, i typed hxxp://sub.domain.tld/billing/admin/ it would only redirect to hxxps://sub.domain.tld/billing/. So again i have to type admin/, which not very convenient.
Thanks again for all your help.
Oh btw, i read some articles and example on this, unfortunately i don't understand much of it. it's kinda greek to me