httpd.conf settings

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

httpd.conf settings

1,553件の閲覧回数
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,404件の閲覧回数
jimmychan
NXP TechSupport
NXP TechSupport
0 件の賞賛
返信

1,404件の閲覧回数
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,404件の閲覧回数
davidzhou
Contributor V

I added IMAGE_INSTALL_append = "apache2"

works

David

0 件の賞賛
返信