I think I made a silly mistake (I guess because I'm not much of a web
admin-type guy). I had given the wrong name to the conf file in /etc/
apache2/sites-available: I named it "TestServer.conf" instead of
I rectified that and resolved the problem.
On Feb 10, 11:39 am, Jerry <gpjerrymalo...@gmail.com> wrote:
> Hi, all. I have a problem that I think is identical to the original
> issue in this thread (http://groups.google.com/group/reviewboard/
> browse_thread/thread/f3aed71bfb74f8a6/0576acd5def20cbe), but I don't
> see a resolution there. The thread branches off into a different
> issue, and it looks like dev's question was never answered.
> So, I am running RB on Apache (which is running on a VirtualBox VM
> with my desktop as a host) and it loads OK, except that no CSS is
> being loaded. I'm getting 404 errors in /var/log/apache2/
> others_vhosts_access.log like:
> TestServer/ReviewBoard:80 192.168.128.248 - - [10/Feb/2011:08:25:10
> -0800] "GET /ReviewBoard/htdocs/media/djblets/css/datagrid.css?
> 1297105975 HTTP/1.1" 404 1770 "http://TestServer/ReviewBoard/
> dashboard/" "Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:
> 22.214.171.124) Gecko/20100914 Firefox/3.6.10 ( .NET CLR 3.5.30729)"
> /ReviewBoard/htdocs/media/djblets/css/datagrid.css is present; I don't
> know what the "1297105975" means, though.
> As suggested in the other thread I referenced above, I used a browser
> to visithttp://TestServer/ReviewBoard/media/, and I got pretty much
> the same result as dev:
> Index of /ReviewBoard/media
> [ICO] Name Last modified Size Description
> [DIR] Parent Directory -
> [DIR] admin/ 24-Jan-2011 14:26 -
> [DIR] djblets/ 24-Jan-2011 14:24 -
> [DIR] rb/ 07-Feb-2011 14:12 -
> [DIR] uploaded/ 07-Feb-2011 14:33 -
> Apache/2.2.16 (Ubuntu) Server at TestServer Port 80
> Following are the contents of etc/apache2/sites-available/
> TestServer.conf (symlinked in sites-enabled):
> <VirtualHost *:80>
> ServerName TestServer/ReviewBoard
> DocumentRoot "/var/www/ReviewBoard/htdocs"
> # Error handlers
> ErrorDocument 500 /errordocs/500.html
> # Serve django pages
> <Location "/">
> PythonPath "['/var/www/ReviewBoard/conf'] + sys.path"
> SetEnv DJANGO_SETTINGS_MODULE reviewboard.settings
> SetEnv PYTHON_EGG_CACHE "/var/www/ReviewBoard/tmp/egg_cache"
> SetEnv HOME "/var/www/ReviewBoard/data"
> 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_ReviewBoard
> # Serve static media without running it through mod_python
> # (overrides the above)
> <Location "/ReviewBoard/media">
> SetHandler None
> <Location "/ReviewBoard/errordocs">
> SetHandler None
> <Directory "/var/www/ReviewBoard/htdocs">
> AllowOverride All
> # Alias static media requests to filesystem
> Alias /ReviewBoard/media "/var/www/ReviewBoard/htdocs/media"
> Alias /ReviewBoard/errordocs "/var/www/ReviewBoard/htdocs/errordocs"
> Is there anything apparent that I am doing wrong?
Want to help the Review Board project? Donate today at
Happy user? Let us know at http://www.reviewboard.org/users/
To unsubscribe from this group, send email to
For more options, visit this group at