(A solution) 404 error when using reviewboard with lighttpd

8 views
Skip to first unread message

joseph.pnc

unread,
Jun 11, 2009, 2:57:44 AM6/11/09
to reviewboard
Somehow I can't post to existing threa (http://groups.google.com/group/
reviewboard/browse_thread/thread/884db67cd5ca1b83/d495b9947aad884d?
lnk=gst&q=joseph+pnc&fwc=2) so I start a new one instead.

Another solution offered by Av (avl...@gmail.com). Hopefully someone
might find it helpful!

Hi Joe,

I'm not a member of the list, but I was hoping you might forward this
back to them. I found a solution for your problem.

In the lighttpd.conf, change this line:
"/reviewboard.fcgi" => (
to this:
"/reviewboard.fcgi/" => (

And this line:
"^(/.*)$" => "/reviewboard.fcgi/$1",
to this:
"^(/.*)$" => "/reviewboard.fcgi/$1",

and make sure:
FORCE_SCRIPT_NAME = ''

This fixes it for me :)

Christian Hammond

unread,
Jun 13, 2009, 7:17:02 PM6/13/09
to revie...@googlegroups.com
On Wed, Jun 10, 2009 at 11:57 PM, joseph.pnc <josep...@gmail.com> wrote:
And this line:
          "^(/.*)$" => "/reviewboard.fcgi/$1",
to this:
          "^(/.*)$" => "/reviewboard.fcgi/$1",

Hmm, I don't see a difference between these two lines. Am I missing it?

Christian

--
Christian Hammond - chi...@chipx86.com
Review Board - http://www.review-board.org
VMware, Inc. - http://www.vmware.com

joseph.pnc

unread,
Jul 2, 2009, 9:28:07 AM7/2/09
to reviewboard
I think he meant:

And this line:
"^(/.*)$" => "/reviewboard.fcgi$1",
to this:
"^(/.*)$" => "/reviewboard.fcgi/$1",

i.e adding a slash before '$1'.

I tried his solution, it works!
Reply all
Reply to author
Forward
0 new messages