My favorites | Sign in
Project Home Wiki Issues
Checkout   Browse   Changes    
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
<VirtualHost *:80>
ServerName @sitedomain@
DocumentRoot "@sitedir@/htdocs"

# Error handlers
ErrorDocument 500 /errordocs/500.html

# Serve django pages
<Location "/">
PythonPath "['@sitedir@/conf'] + sys.path"
SetEnv DJANGO_SETTINGS_MODULE reviewboard.settings
SetEnv PYTHON_EGG_CACHE "@sitedir@/tmp/egg_cache"
SetHandler mod_python
PythonHandler django.core.handlers.modpython
PythonAutoReload Off
PythonDebug Off
# Used to run multiple mod_python sites in the same apache
PythonInterpreter reviewboard_@siteid@
</Location>

# Serve static media without running it through mod_python
# (overrides the above)
<Location "/media">
SetHandler None
</Location>
<Location "/errordocs">
SetHandler None
</Location>

<Directory "@sitedir@/htdocs">
AllowOverride All
</Directory>

# Alias static media requests to filesystem
Alias /media "@sitedir@/htdocs/media"
Alias /errordocs "@sitedir@/htdocs/errordocs"
</VirtualHost>

Change log

r1962 by chipx86 on May 7, 2009   Diff
Make our Apache and cron configuration
files work with paths containing
spaces by wrapping spaces in quotes.

Fixes  bug #1111 .
Go to: 

Older revisions

r1911 by chipx86 on Apr 19, 2009   Diff
Put quotes around the PYTHON_EGG_CACHE
value for Apache mod_python
configuration files. This prevents
problems when the path has spaces in
the filename.
...
r1786 by chipx86 on Feb 15, 2009   Diff
Some fixes for our FastCGI support to
set the right path. Also added some
fixes for our Apache config files to
ensure we can process .htaccess files.
r1574 by chipx86 on Nov 15, 2008   Diff
This introduces rb-site, a new script
for installing, upgrading and
maintaining Review Board site
installations. This makes it easy for
new users to get going and maintain
...
All revisions of this file

File info

Size: 959 bytes, 37 lines
Powered by Google Project Hosting