Hi there. This is day one… hour one with Slim.
I’m following the tutorial found here: http://www.slimframework.com/docs/tutorial/first-app.html.
Right now to launch the test application, I have to do this in my browser:
http://localhost/slimtestapp/src/public/index.php/hello/johndoe
How can I configure apache so that when using my slimtestapp, you don’t need to include the “src/public” in the url? I want to be able to do something like this:
http://localhost/slimtestapp/hello/johndoe
In /etc/apache2/sites-enabled/ i have a 000-default.conf file which contains the following:
<VirtualHost *:80>
ServerAdmin webmaster@localhost
DocumentRoot /var/www/html
ErrorLog ${APACHE_LOG_DIR}/error.log
CustomLog ${APACHE_LOG_DIR}/access.log combined
Thanks.