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
For your reference : Apache主配置文件httpd.conf 详解 - M阳 - 博客园
Thanks, Jimmy. I think I may have a different yocto version. When I added apache2 through PACKAGECONFIG_append, I don't have etc/httpd folder and files. I have to dig into it.
David Zhou
I added IMAGE_INSTALL_append = "apache2"
works
David