My favorites | Sign in
Logo
          
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>
Show details Hide details

Change log

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.

Fixes  bug #1015 .
Go to: 

Older revisions

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
...
r1400 by trowbrds on Jul 12, 2008   Diff
Switch to <Location> instead of
<LocationMatch>, since it's simpler
and more in
line with the Django documentation.

...
All revisions of this file

File info

Size: 953 bytes, 37 lines
Hosted by Google Code