I
I
Ilya Pavlov2015-07-18 03:18:01
PHP
Ilya Pavlov, 2015-07-18 03:18:01

Give index.php instead of index.html?

Put all the "star composition": Apache, MySql, PHP5. In /etc/apache2/mods-enabled/dir.conf put index.php first, but if index.html and index.php are together in a directory, then .html always takes precedence. Maybe it's not configured in dir.conf, or I don't understand something. Maybe in .htaccess?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
DevMan, 2015-07-18
@PiCoderman

httpd.apache.org/docs/2.4/mod/mod_dir.html#Directo...
and where to specify it is up to you.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question