diff --git a/tools/make_project b/tools/make_project index de91227dba..0606dd674f 100755 --- a/tools/make_project +++ b/tools/make_project @@ -359,7 +359,15 @@ print >>open(httpd_conf_template_filename,'w'), ''' Alias /%(project_shortname)s_ops %(proot)s/html/ops ScriptAlias /%(project_shortname)s_cgi %(proot)s/cgi-bin - + + # In the following, the "denied" and "granted" lines are for Apache 2.4 + # For Apache 2.2, replace them with the lines + # Order deny,allow + # Deny from all + # or + # Order allow,deny + # Allow from all + # NOTE: Turn off access to certain default directories Require all denied