That looks good. Not sure why it is not showing index.php Anyway lets try following
Update your VirtualHost entry in ~/conf/vhosts.conf as follows
The change is, we added the lineCode:<VirtualHost 127.0.0.1:80> ServerName imagehostnow.dev SetEnv APP_ENV "dev" DocumentRoot /home/YOUR_USER_NAME_HERE/www/imagehostnow.com/public CustomLog ${APACHE_LOG_DIR}/imagehostnow.dev.log combined DirectoryIndex index.html index.cgi index.pl index.php index.xhtml index.htm <Directory "/home/YOUR_USER_NAME_HERE/www/imagehostnow.com/public"> Options All AllowOverride All Require all granted Order allow,deny allow from all </Directory> </VirtualHost>
Below CustomLog line.Code:DirectoryIndex index.html index.cgi index.pl index.php index.xhtml index.htm
Restart Apache. Go to web site and see if it shows index.php file instead of directory listing.




Reply With Quote
Bookmarks