I'm developing a symfony application and in trying to remove index.php from the url, I used the following virtualhost configuration:
<VirtualHost *:80>
ServerAdmin webmaster@localhost
DocumentRoot "/var/www/html/experiments-1/public"
ErrorLog ${APACHE_LOG_DIR}/error.log
CustomLog ${APACHE_LOG_DIR}/access.log combined
</VirtualHost>
The localtion of the site is confirmed as /var/www/html/experiments-1/public/index.php.
But when I visit http://localhost:81/ I just get the default symfony page.
I would appreciate some insight into what I'm missing or doing wrong.
listen 80
directive at the top of your script as seen here?