make_project

svn path=/trunk/boinc/; revision=9721
This commit is contained in:
David Anderson 2006-03-24 06:54:49 +00:00
parent 09c8a4a5ed
commit 208f47e4e8
2 changed files with 12 additions and 2 deletions

View File

@ -3184,3 +3184,12 @@ David 23 Mar 2006
client/
app_control.C
David 23 Mar 2006
- make_project:
- allow use of .htaccess in cgi-bin
- if --project_root is specified, put the key_dir there too
(from Eric Myers)
tools/
make_project

View File

@ -154,7 +154,7 @@ defopt('cgi_url' , 'URL_BASE/PROJECT_cgi')
defopt('user_name' , USER, isdir=False)
defopt('project_root' , HOME+'/projects/PROJECT')
defopt('key_dir' , HOME+'/projects/PROJECT/keys')
defopt('key_dir' , options.project_root+'keys')
defopt('db_name' , 'PROJECT', isdir=False)
defopt('db_user' , 'USER_NAME', isdir=False)
@ -163,12 +163,12 @@ defopt('db_host' , '', isdir=False)
print "Creating project '%s' (short name '%s'):" %(project_longname, project_shortname)
for k in [
'key_dir',
'project_root',
'url_base',
'html_user_url',
'html_ops_url',
'cgi_url',
'key_dir',
'db_name',
'db_host',
]:
@ -241,6 +241,7 @@ print >>open(httpd_conf_template_filename,'w'), '''
<Directory "%(proot)s/cgi-bin">
Options ExecCGI
AllowOverride AuthConfig
Order allow,deny
Allow from all
</Directory>