It looks like you're trying to use mod_python, which apparently isn't
installed.

You should be using mod_wsgi. mod_python is dead and not available on newer
distros. You'll need to generate a site configuration with that.

Christian

-- 
Christian Hammond - chip...@chipx86.com
Review Board - http://www.reviewboard.org
VMware, Inc. - http://www.vmware.com


On Mon, Jun 25, 2012 at 11:15 AM, Nilesh Jaiswal <nileshj...@gmail.com>wrote:

> Hi All,
>
> Can anybody know what i am missing in the below configuration..any pointer
> would really help us.
>
> Thanks in advance.
>
> Regards,
> Nilesh
>
>
> On Mon, Jun 25, 2012 at 5:46 PM, Nilesh Jaiswal <nileshj...@gmail.com>wrote:
>
>> Dear All,
>>
>> I have install latest version RB server.
>>
>> After installation i copied the apache_mod_python.conf to httpd.conf
>>
>> <VirtualHost *:80>
>>         ServerName <some IP address>
>>         DocumentRoot "/var/www/rbc/htdocs"
>>
>>         ErrorDocument 500 /errordocs/500.html
>>         # Serve django pages
>>         <Location "/rbc">
>>                 # Error handlers
>>                 *PythonPath "['/var/www/rbc/conf'] + sys.path"*
>>                 SetEnv DJANGO_SETTINGS_MODULE reviewboard.settings
>>                 SetEnv PYTHON_EGG_CACHE "/var/www/rbc/tmp/egg_cache"
>>                 SetEnv HOME "/var/www/rbc/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_rbc
>>         </Location>
>>
>>         # Serve static media without running it through mod_python
>>         # (overrides the above)
>>         <Location "/rbc/media">
>>                 SetHandler None
>>         </Location>
>>         <Location "/rbc/errordocs">
>>                 SetHandler None
>>         </Location>
>>
>>         <Directory "/var/www/rbc/htdocs">
>>                 AllowOverride All
>>         </Directory>
>>
>>         # Alias static media requests to filesystem
>>         Alias /rbc/media "/var/www/rbc/htdocs/media"
>>         Alias /rbc/errordocs "/var/www/rbc/htdocs/errordocs"
>> </VirtualHost>
>>
>>
>> But after starting apache i am getting below error message, can you point
>> me what i missing here
>>
>> *Invalid command 'PythonPath', perhaps misspelled or defined by a module
>> not included in the server configuration*
>>
>>
>  --
> Want to help the Review Board project? Donate today at
> http://www.reviewboard.org/donate/
> Happy user? Let us know at http://www.reviewboard.org/users/
> -~----------~----~----~----~------~----~------~--~---
> 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
>

-- 
Want to help the Review Board project? Donate today at 
http://www.reviewboard.org/donate/
Happy user? Let us know at http://www.reviewboard.org/users/
-~----------~----~----~----~------~----~------~--~---
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