Okay, the problem then is that you don't have the mod_python module
installed or configured. Which distro is this? You probably just need to
download and install the right package.

Christian

-- 
Christian Hammond - chip...@chipx86.com
VMware, Inc.


On Mon, Feb 2, 2009 at 7:27 PM, Justin Chen <justin.chen....@gmail.com>wrote:

>
> Hi Christian,
>
> I did the changes as your mentioned. Then i met another issue-
> $ /usr/sbin/apachectl2 start
> Syntax error on line 10 of /etc/apache2/conf.d/
> reviews.starcite.com.conf:
> Invalid command 'PythonPath', perhaps misspelled or defined by a
> module not incl
> uded in the server configuration
>
> Any idea?
>
> On Feb 3, 10:59 am, Christian Hammond <chip...@chipx86.com> wrote:
> > Hi Justin.
> >
> > 1) The sites-enabled seems to be specific to certain distros. What you
> could
> > do then is just copy the contents directly into httpd.conf (unless
> there's a
> > conf.d directory, in which case put it there).
> >
> > 2) Sorry, I should have been more clear. I meant just the section you
> added
> > referencing the new site, along with the DocumentRoot.
> >
> > Unlike with normal file-based sites (such as sites using PHP), Django
> (which
> > Review Board uses) defines all the URLs and what each URL points to
> inside
> > the process, which is launched by fastcgi or mod_python. So all pages are
> > rendered inside the process, meaning we don't need anything in htdocs
> except
> > for media files (which we serve statically so we don't have to process it
> > with our software).
> >
> > I'm slowly, when I get the time, working on better installation/admin
> docs
> > for Review Board. I'm hoping to have these available for beta 1.
> >
> > Christian
> >
> > --
> > Christian Hammond - chip...@chipx86.com
> > VMware, Inc.
> >
> > On Mon, Feb 2, 2009 at 6:55 PM, Justin Chen <justin.chen....@gmail.com
> >wrote:
> >
> >
> >
> > > Hi Christian,
> >
> > > Thank you very much. I read
> > >http://www.review-board.org/docs/GettingStarted
> > > for hundreds of times, but still met lots of issues. :)
> > > so, i still have some issues
> > > (1) i cannot find any folder named sites-enabled under /etc/apache2/.
> > > Any idea? how can i do in this case?
> > > (2) you mentioned "remove your existing Apache config", you mean
> > > remove all contents of the folder "/etc/apache2/"? Or just httpd.conf?
> >
> > > Thank you very much.
> >
> > > On Feb 3, 9:01 am, Christian Hammond <chip...@chipx86.com> wrote:
> > > > You need to remove your existing Apache config for this directory and
> use
> > > > the apache-fastcgi.conf from the conf directory. I strongly recommend
> > > using
> > > > mod_python instead of fastcgi, though (which would require that you
> nuke
> > > > that directory and re-run rb-site install). We've seen some bad
> memory
> > > > issues with fastcgi + apache + django.
> >
> > > > You should rename the resulting apache-whatever.conf file too
> > > > reviews.starcite.com.conf and put it in your apache2/sites-enabled
> > > > directory, if you have it.
> >
> > > > I recommend readinghttp://www.review-board.org/docs/GettingStarted,
> > > since
> > > > it goes over all this.
> >
> > > > Christian
> >
> > > > --
> > > > Christian Hammond - chip...@chipx86.com
> > > > VMware, Inc.
> >
> > > > On Mon, Feb 2, 2009 at 4:53 PM, Justin Chen <
> justin.chen....@gmail.com
> > > >wrote:
> >
> > > > > Hi Christian,
> >
> > > > > If you are referring to /var/www/reviews.starcite.com/conf, there
> are
> > > > > 4 files as following -
> > > > > apache-fastcgi.conf
> > > > > search-cron.conf
> > > > > settings_local.py
> > > > > settings_local.pyc
> >
>

--~--~---------~--~----~------------~-------~--~----~
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