开发者

Fedora LAMP: Problem include configuration file

开发者 https://www.devze.com 2023-01-12 07:31 出处:网络
I\'ve been configuring LAMP server on Fedora core 13 and when I tr to include my configuration files from within

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

精彩评论

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