AnsweredAssumed Answered

httpd.conf settings

Question asked by David XY Zhou on Jun 6, 2018
Latest reply on Jun 7, 2018 by David XY Zhou

Hi ,

I have imx6ul dev board.

I started apache2 httpd as

httpd -h /home/www

it runs great. But how to setup a default page such as index.html, or index.php, or default.html?

I googled and found some information regarding this. But anything I add into the httpd.conf, such as

<IfModule dir_module>     DirectoryIndex index.html index.php   </IfModule>
I got config error message, with the command
httpd -c httpd.conf

What did I miss?

Thank you,

David Zhou

Outcomes