httpd.conf settings

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

httpd.conf settings

1,403 次查看
davidzhou
Contributor V

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

标签 (2)
0 项奖励
回复
3 回复数

1,254 次查看
jimmychan
NXP TechSupport
NXP TechSupport
0 项奖励
回复

1,254 次查看
davidzhou
Contributor V

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

0 项奖励
回复

1,254 次查看
davidzhou
Contributor V

I added IMAGE_INSTALL_append = "apache2"

works

David

0 项奖励
回复