mirror of https://github.com/BOINC/boinc.git
Update make_project
This commit is contained in:
parent
7916e67547
commit
14d0c80aae
|
@ -360,53 +360,40 @@ print >>open(httpd_conf_template_filename,'w'), '''
|
||||||
Alias /%(project_shortname)s_ops %(proot)s/html/ops
|
Alias /%(project_shortname)s_ops %(proot)s/html/ops
|
||||||
ScriptAlias /%(project_shortname)s_cgi %(proot)s/cgi-bin
|
ScriptAlias /%(project_shortname)s_cgi %(proot)s/cgi-bin
|
||||||
|
|
||||||
# in the following, the "Order" and "Allow" lines are for Apache 2.2;
|
|
||||||
# for Apache 2.4, replace them with the single line
|
|
||||||
# Require all granted
|
|
||||||
# or
|
|
||||||
# Require all denied
|
|
||||||
|
|
||||||
# NOTE: Turn off access to certain default directories
|
# NOTE: Turn off access to certain default directories
|
||||||
<Directory "%(proot)s/keys">
|
<Directory "%(proot)s/keys">
|
||||||
Order deny,allow
|
Require all denied
|
||||||
Deny from all
|
|
||||||
</Directory>
|
</Directory>
|
||||||
<Directory "%(proot)s/upload">
|
<Directory "%(proot)s/upload">
|
||||||
Order deny,allow
|
Require all denied
|
||||||
Deny from all
|
|
||||||
</Directory>
|
</Directory>
|
||||||
|
|
||||||
# NOTE: Allow access but disable PHP script execution
|
# NOTE: Allow access but disable PHP script execution
|
||||||
<Directory "%(proot)s/download">
|
<Directory "%(proot)s/download">
|
||||||
RemoveType .php .phtml
|
RemoveType .php .phtml
|
||||||
Order allow,deny
|
Require all granted
|
||||||
Allow from all
|
|
||||||
</Directory>
|
</Directory>
|
||||||
<Directory "%(proot)s/html/stats">
|
<Directory "%(proot)s/html/stats">
|
||||||
RemoveType .php .phtml
|
RemoveType .php .phtml
|
||||||
Order allow,deny
|
Require all granted
|
||||||
Allow from all
|
|
||||||
</Directory>
|
</Directory>
|
||||||
<Directory "%(proot)s/html/user_profile">
|
<Directory "%(proot)s/html/user_profile">
|
||||||
RemoveType .php .phtml
|
RemoveType .php .phtml
|
||||||
Order allow,deny
|
Require all granted
|
||||||
Allow from all
|
|
||||||
</Directory>
|
</Directory>
|
||||||
|
|
||||||
# NOTE: Allow access and allow PHP script execution
|
# NOTE: Allow access and allow PHP script execution
|
||||||
<Directory "%(proot)s/html">
|
<Directory "%(proot)s/html">
|
||||||
Options Indexes MultiViews
|
Options Indexes MultiViews
|
||||||
AllowOverride AuthConfig
|
AllowOverride AuthConfig
|
||||||
Order allow,deny
|
Require all granted
|
||||||
Allow from all
|
|
||||||
</Directory>
|
</Directory>
|
||||||
|
|
||||||
# NOTE: Allow access and allow CGI execution
|
# NOTE: Allow access and allow CGI execution
|
||||||
<Directory "%(proot)s/cgi-bin">
|
<Directory "%(proot)s/cgi-bin">
|
||||||
Options ExecCGI
|
Options ExecCGI
|
||||||
AllowOverride AuthConfig
|
AllowOverride AuthConfig
|
||||||
Order allow,deny
|
Require all granted
|
||||||
Allow from all
|
|
||||||
</Directory>
|
</Directory>
|
||||||
|
|
||||||
''' %locals()
|
''' %locals()
|
||||||
|
|
Loading…
Reference in New Issue