开发者

Fedora LAMP: Problem include configuration file

I've been configuring LAMP server on Fedora core 13 and when I tr to include my configuration files from within

/etc/http/conf/httpd.conf开发者_JS百科

using apache's Include directive, apache just fails on restart action.

What is the problem, is there any problems on Selinux stack?

Sultan


you need never edit this file: /etc/http/conf/httpd.conf

You need put your own configuration file in: /etc/httpd/conf.d

After you can restart http.d service

$ su -lc 'service httpd start'

You can check your configuration

$ su -lc 'service httpd configtest'
  Syntax OK

If all is good:

$ su -lc 'service httpd reload'
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜