try using <Directory> </Directory> instead of <Location></Location>.
This worked for me.


On Jan 16, 5:23 pm, kmw <kochhar...@gmail.com> wrote:
> Yes, I'm fairly sure it is enabled. Here are the log messages which
> mod_python generates from the apache error_log
>
> [Fri Jan 16 19:37:27 2009] [notice] mod_python: Creating 8 session
> mutexes based on 150 max processes and 0 max threads.
> [Fri Jan 16 19:37:27 2009] [notice] mod_python: using mutex_directory /
> tmp
> [Fri Jan 16 19:37:27 2009] [notice] Apache/2.2.6 (Unix) mod_ssl/2.2.6
> OpenSSL/0.9.8g mod_python/3.3.1 Python/2.4.4 PHP/5.2.5-pl2-gentoo
> configured -- resuming normal operations
>
> As an aside, I got a little further than the403Forbidden when I
> tried using a <Location> directive instead of a <VirtualHost>. I ran
> into trouble and gave up because I wasn't sure how to configure the /
> media and /errordocs URLs. I would in fact prefer using a <Location>
> directive to setup review board within an existing server instead of
> creating a virtual host and a DNS entry. Is there a reference or some
> docs on how to setup review board in this manner?
>
> Thanks.
>
> On Jan 16, 2:58 pm, Christian Hammond <chip...@chipx86.com> wrote:
>
> > Nothing stands out as being wrong in the config file. It sounds like
> > mod_python isn't handling the request, though. Are you use mod_python is
> > enabled?
>
> > Christian
>
> > --
> > Christian Hammond - chip...@chipx86.com
> > VMware, Inc.
>
> > On Fri, Jan 16, 2009 at 11:49 AM, kmw <kochhar...@gmail.com> wrote:
>
> > > Hi,
>
> > > I've managed to get reviewboard installed but I'm having problems with
> > > the apache configuration. I'm running reviewboard on a Gentoo Linux
> > > server. I've looked through the other threads on th group but all I
> > > can find is this thread,
>
> > >http://groups.google.com/group/reviewboard/browse_thread/thread/cb348...
> > > which hasn't been of much use.
>
> > > My httpd.conf includes the reviewboard vhost config which is as
> > > follows:
>
> > > <VirtualHost *:80>
> > >        ServerName foo.bar
> > >        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
> > >                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
> > >        </Location>
>
> > >        # Serve static media without running it through mod_python
> > >        # (overrides the above)
> > >        <Location "/media">
> > >                SetHandler None
> > >        </Location>
> > >        <Location "/errordocs">
> > >                SetHandler None
> > >        </Location>
>
> > >        # Alias static media requests to filesystem
> > >        Alias /media /var/www/reviewboard/htdocs/media
> > >        Alias /errordocs /var/www/reviewboard/htdocs/errordocs
> > > </VirtualHost>
>
> > > Here's the output from apache error_log
> > > [Fri Jan 16 19:47:19 2009] [error] [client 172.31.20.117] client
> > > denied by server configuration: /var/www/reviewboard/htdocs/
>
> > > Any suggestions on what to do next?
>
> > > Thanks
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"reviewboard" group.
To post to this group, send email to reviewboard@googlegroups.com
To unsubscribe from this group, send email to 
reviewboard+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/reviewboard?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to