Hi Christian, Thanks for the reply. The problem with Apache was that even if I removed 000-default folder or disabled it, I still could not get apache2 to display reviewboard site. here are the complete steps I did; these are basically the same steps mentioned in the tutorial site I mentioned above but little bit of changes which I have made bold in listing below. Do you think I need to change something:
sudo apt-get install apache2 *sudo apt-get install libapache2-mod-wsgi* sudo a2enmod python sudo apt-get install mysql-server sudo apt-get install python-mysqldb sudo apt-get install memcached sudo apt-get install memcached-dev sudo apt-get install python-memcache mysql -uroot -p mysql> create database reviewboard; Query OK, 1 row affected (0.00 sec) mysql> create user 'rb'@'localhost' identified by 'rb_password'; Query OK, 0 rows affected (0.00 sec) mysql> grant all on reviewboard.* to 'rb'@'localhost' Query OK, 0 rows affected (0.00 sec) mysql> exit Bye sudo apt-get install patch sudo apt-get install subversion sudo apt-get install python-svn sudo apt-get install python-setuptools sudo easy_install reviewboard sudo rb-site install /var/www/reviewboard *sudo chown -R www-data /var/www/reviewboard/htdocs/media/uploaded* *sudo chown -R www-data /var/www/reviewboard/data* *cd /etc/apache2/sites-available* *cp /var/www/reviewboard/conf/apache-wsgi.conf reviewboard.conf* *cd ../sites-enabled* *ln -s ../sites-available/reviewboard.conf .* *If I remove 000-default folder\file, I get this webpage not available error..* optional steps (Because default site is still enabled) sudo a2dissite 000-default sudo a2ensite reviewboard sudo /etc/init.d/apache2 restart -Neel. On Wednesday, September 24, 2014 10:43:18 PM UTC+5:30, Christian Hammond wrote: > > Hi Neel, > > lighttpd is not well-supported, which is why it's considered an advanced > option. Very few people seem to use it. > > I'd *strongly* suggest using Apache + mod_wsgi (daemon mode works well > these days), if at all possible. You'll have the best support that way. > > FastCGI is a bad option. We've seen people hit all sorts of issues with > it. The Python community has rallied around mod_wsgi and similar solutions > instead. > > I think you'll find that if you use the standard recommended options from > rb-site, you'll have a much easier time getting going. > > As for the 000-default file, I'm sorry it cost you an hour of time. It is > annoying that Apache ships that.. > > Christian > > -- > Christian Hammond - [email protected] <javascript:> > Review Board - https://www.reviewboard.org > Beanbag, Inc. - https://www.beanbaginc.com > > > On September 24, 2014 at 7:47:23 AM, neel roy ([email protected] > <javascript:>) wrote: > > It's 8:10 pm and I have been fighting with reviewboard installation for > > last SIX hours. > > > > I tried with apache2 and I ran into 000-default site problem.. from > > > https://www.reviewboard.org/docs/manual/dev/admin/installation/creating-sites/#creating-sites: > > > > > > "Some Apache installations (such as the default installs on Debian and > > Ubuntu) by default define a global virtual host that shares /var/www as > the > > document root. This may lead to problems with your install. If you > access > > your site and see nothing but a directory listing, then you’re affected > by > > this problem. > > > > The solution is to remove the “default” site from your > > /etc/apache2/sites-enabled directory. This may be called something like > > default or 000-default." > > > > > > Then I had to figure out after an hour that I had to specify > --web-server > > if I want to use lighttpd. > > > > > > After that there were some few more errors (I can go into details but I > > don't think that's going to help my cause). So here is process I have > > followed: > > > > > > > http://alephnullplex.appspot.com/blog/view/2009/07/09/tutorial-installing-review-board-on-ubuntu > > > > > > > > Replace installation of apache2 with lighttpd and mod-python with > fastcgi. > > Nothing works. Right now I am here: > > > > *rb-site manage /var/www/reviewboard runfcgi method=threaded* > > > > WSGIServer: missing FastCGI param REQUEST_METHOD required by WSGI! > > > > WSGIServer: missing FastCGI param SERVER_NAME required by WSGI! > > > > WSGIServer: missing FastCGI param SERVER_PORT required by WSGI! > > > > WSGIServer: missing FastCGI param SERVER_PROTOCOL required by WSGI! > > > > Status: 302 FOUND > > > > Content-Length: 0 > > > > Content-Language: en > > > > Vary: Cookie, Accept-Language > > > > Location: http://localhost/r/ > > > > Date: Wed, 24 Sep 2014 14:34:37 GMT > > > > X-Frame-Options: SAMEORIGIN > > > > Content-Type: text/html; charset=utf-8 > > > > > > I don't know what I have done which is causing this. file > > "reviewboard.settings" is missing; don't know why. > > > > Could someone give me steps to install reviewboard on ubuntu (14.04) > with > > lighttpd? > > > > Thanks in advance, > > -Neel. > > > > -- > > Get the Review Board Power Pack at http://www.reviewboard.org/powerpack/ > > --- > > Sign up for Review Board hosting at RBCommons: https://rbcommons.com/ > > --- > > Happy user? Let us know at http://www.reviewboard.org/users/ > > --- > > You received this message because you are subscribed to the Google > Groups "reviewboard" > > group. > > To unsubscribe from this group and stop receiving emails from it, send > an email to [email protected] <javascript:>. > > For more options, visit https://groups.google.com/d/optout. > > > > -- Get the Review Board Power Pack at http://www.reviewboard.org/powerpack/ --- Sign up for Review Board hosting at RBCommons: https://rbcommons.com/ --- Happy user? Let us know at http://www.reviewboard.org/users/ --- You received this message because you are subscribed to the Google Groups "reviewboard" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
