Welcome Guest, Not a member yet? Register   Sign In
How do I remove index.php using spark?
#1

Hi,
Most of the solutions on the Internet is about removing the index.php with Apache. I would like to do that during my development, which I use the spark utility for it. However, I couldn't find any information on how to do it. Any help?
Cheers,
Reply
#2

This should be done by the .htaccess-file which is in /public. You can call you controller with and without index.php. If you want a forwart from an index.php-URL to an clean URL, then it should possible to use any redirect route you can find on the internet and add it to the file in /public.
Reply
#3

You don't have to do anything.

$ php spark serve

And you can see http://localhost:8080/home/index
Reply
#4

Thanks
Reply




Theme © iAndrew 2016 - Forum software by © MyBB