SV-79123r1_rule
V-64633
SRG-APP-000516-WSR-000174
OH12-1X-000197
CAT II
10
1. Open $DOMAIN_HOME/config/fmwconfig/components/OHS/<componentName>/httpd.conf and every .conf file (e.g., ssl.conf) included in it with an editor.
2. Search for the "<Directory>" directives at the server and virtual host configuration scopes.
3. Go to the location specified as the value for each "<Directory>" directive (e.g., cd $DOMAIN_HOME/config/fmwconfig/components/OHS/instances/ohs1/htdocs).
4. find . -name .htaccess -exec rm {} \;
1. Open $DOMAIN_HOME/config/fmwconfig/components/OHS/<componentName>/httpd.conf and every .conf file (e.g., ssl.conf) included in it with an editor.
2. Search for the "<Directory>" directives at the server and virtual host configuration scopes.
3. Go to the location specified as the value for each "<Directory>" directive (e.g., cd $DOMAIN_HOME/config/fmwconfig/components/OHS/instances/ohs1/htdocs).
4. Check for the existence of any .htaccess files in the aforementioned locations (e.g., find . -name .htaccess -print).
5. If any .htaccess files are found, this is a finding.
V-64633
False
OH12-1X-000197
1. Open $DOMAIN_HOME/config/fmwconfig/components/OHS/<componentName>/httpd.conf and every .conf file (e.g., ssl.conf) included in it with an editor.
2. Search for the "<Directory>" directives at the server and virtual host configuration scopes.
3. Go to the location specified as the value for each "<Directory>" directive (e.g., cd $DOMAIN_HOME/config/fmwconfig/components/OHS/instances/ohs1/htdocs).
4. Check for the existence of any .htaccess files in the aforementioned locations (e.g., find . -name .htaccess -print).
5. If any .htaccess files are found, this is a finding.
M
2753