I try to export my local developed app to a shared hoster environment. By doing this I figured out that either I could use mod_rewrite nor virutal hosts. Now my question is a) how do I have to change my app to deploy it and b) how do I do it in a secure way by c) letting the URL looking as nice as possible.
Please be more specific as here or provide an example like here.
Thank you!
Local set-up (with mod_rewrite and virtual host):
root
+-application
+-configs
+-controllers
+-forms
+-layouts
+-models
+-views
+-Bootstrap.php
+-public
+-css
+-dl
+-js
+-img
+-index.php
+-.htaccess
+-library
+-...