Has anyone got a way of stripping the file name from the URI on Codio.
Example project runs on app/src/public/index.html/hello/dave
But not on
app/src/public/hello/dave
Any ideas?
Has anyone got a way of stripping the file name from the URI on Codio.
Example project runs on app/src/public/index.html/hello/dave
But not on
app/src/public/hello/dave
Any ideas?
You can run slim in an html file? That is something I haven’t seen before.
To use pretty urls you will have to use the .htaccess file (if you are using apache)
Oops my mistake. I typed html instead of php.
You could run it html though if used an htaccess rule telling apache to run html as if it’s php. Something I’ve seen done a while ago. Not sure why though.