本文介绍了如何在Apache httpd.conf中添加注释而不是完整的行?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
在apache conf文件中,如果一行以#
开头,则该行被视为注释.例如,
In an apache conf file, if a line is start with #
, that line is counted as comment. For example,
#This is a comment line
#And then the following is some real settings:
AllowOverride None
但是,这是不允许的.
#And then the following is some real settings:
AllowOverride None #A comment that starts in the middle of line
是否可以在该行的中间开始注释?如果可以,怎么办?
Is it possible to starts a comment in the middle of the line? And if yes, how?
推荐答案
文档指出不可能:
这篇关于如何在Apache httpd.conf中添加注释而不是完整的行?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!