I'm using a Hosting Linux service provided by Aruba to run my website.
At this moment, my website URL design looks like this:
mysite.it/index.php?controller=&action=
and I want to hide index.php and the action parameter so my uri looks like:
mysite.it/controller
My basic folder structure is:
www.mysite.it/
config/
controller/
lib/
model/
template/
.htaccess
index.php
Is there a solution to achieve this?
Also, I'd need to keep the original document.URL, because for example in some .js there are functions that search for the action parameter in the URL.
Thanks in advance.