About apache service(specify an alternate serverconfigfile)

来源:互联网 发布:mac pro如何强制关机 编辑:程序博客网 时间:2024/05/21 21:05
Recently ,I met a problem. In a linux service,there are two apache service. Every time, apache server always point the old config file. The solution is the following(use the variable to specify a config file):
httpd -f  [configfile path and name] -k start(restart)

Also, we should be able to use the command 'find'.
原创粉丝点击