文件操作 - rulestest.conf
返回文件管理
返回主菜单
删除本文件
文件: /usr/local/apache/modsecurity-owasp-old/util/regression-tests/rulestest.conf
编辑文件内容
# Set to the address and port of the web server protected by the tested ruleset. # # TODO the web server has to respond with status code 200 to request for the # home page (/). This is usually the default configuration. # # TODO the script 'testserver' should be installed on this web server in the # /cgi-bin directory to facilitate outbound rules testing. # #%global server 127.0.0.1:80 # Set to the path to ModSecurity audit file # # TODO set ModSecurity for serial logging. # #%global mslog /usr/local/apache/logs/audit.log #%msdebug /usr/local/apache/logs/debug.log # # Set this to the appropriate web site domain name you are testing # %global var hostname=mysite
修改文件时间
将文件时间修改为当前时间的前一年
删除文件