I have a domain with several apps. All apps should be reached like this.
https://www.website.com/app1/ https://www.website.com/app2/ https://www.website.com/app3/
The problem I'm having is with my url rewrites. If someone enters website.com/app1/ or www.website.com/app1/ I want it to rewrite to this https://www.website.com/app1/
I've been attempting to use httpd.conf to solve this problem or just .htaccess in the document root folder without any luck. URL rewrite works fine in my codeignighter application, just not in these one off stand alone apps.
Can anyone show me the proper way to incorporate url rewrites to solve the above problem?