monotone-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Monotone-devel] viewmtn under apache


From: Måns Rullgård
Subject: Re: [Monotone-devel] viewmtn under apache
Date: Mon, 20 Nov 2006 21:52:26 +0000
User-agent: Gnus/5.1007 (Gnus v5.10.7) XEmacs/21.4.17 (Jumbo Shrimp, linux)

"Kelly F. Hickel" <address@hidden> writes:

> Has anyone gotten viewmtn to work under apache? I'm no apache guru, and
> haven't had any luck getting it to do anything but display the .py file.
> Viewmtn runs in standalone mode.

I got it working under Apache with this .htaccess file:

Options +ExecCGI
AddHandler cgi-script .py
RewriteEngine on
RewriteBase /
RewriteCond %{REQUEST_URI} !^/static/
RewriteCond %{REQUEST_URI} !^/favicon.ico$
RewriteCond %{REQUEST_URI} !^(/.*)+viewmtn.py/
RewriteRule ^(.*)$ /viewmtn.py/$1 [PT]

I don't remember where I got this from.  You might want to modify it
to use fastcgi to save some time on a busy server.

-- 
Måns Rullgård
address@hidden




reply via email to

[Prev in Thread] Current Thread [Next in Thread]