Apache virtualhost configuration issue
1
vote
1
answer
181
views
I'm developing a symfony application and in trying to remove index.php from the url, I used the following virtualhost configuration:
ServerAdmin webmaster@localhost
DocumentRoot "/var/www/html/experiments-1/public"
ErrorLog ${APACHE_LOG_DIR}/error.log
CustomLog ${APACHE_LOG_DIR}/access.log combined
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.
Asked by sisko
(341 rep)
Nov 11, 2021, 06:54 PM
Last activity: Nov 15, 2021, 09:55 PM
Last activity: Nov 15, 2021, 09:55 PM