From 512c12495505320ab4c70019d939174ee5c47740 Mon Sep 17 00:00:00 2001 From: bsag Date: Sat, 4 Mar 2006 14:35:06 +0000 Subject: [PATCH] Updated .htaccess and README_FOR_APP to suggest using fcgid-script instead of fastcgi-script on Debian. Thanks, jmail2! Fixes #219. git-svn-id: http://www.rousette.org.uk/svn/tracks-repos/trunk@202 a4c988fc-2ded-0310-b66e-134b36920a42 --- tracks/doc/README_FOR_APP | 2 +- tracks/public/.htaccess | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/tracks/doc/README_FOR_APP b/tracks/doc/README_FOR_APP index 229101d9..20c8faf6 100644 --- a/tracks/doc/README_FOR_APP +++ b/tracks/doc/README_FOR_APP @@ -117,7 +117,7 @@ WEBrick is the easiest server to get working to test out Tracks, and will be fin ### Apache -See the file `tracks/README_RAILS` for an example of an Apache conf. The file `tracks/public/.htaccess` contains the necessary re-write rules to call `dispatch.cgi` or `dispatch.fcgi`. All other rules are handled by `routes.rb` +See the file `tracks/README_RAILS` for an example of an Apache conf. The file `tracks/public/.htaccess` contains the necessary re-write rules to call `dispatch.cgi` or `dispatch.fcgi`. If you're running Debian, replace the `fastcgi-script` handler line in .htaccess with `fcgid-script`, which works much better with Debian, and avoids an extra installation. All other rules are handled by `routes.rb` ### Lighttpd diff --git a/tracks/public/.htaccess b/tracks/public/.htaccess index d3c99834..d579b5cc 100644 --- a/tracks/public/.htaccess +++ b/tracks/public/.htaccess @@ -1,4 +1,6 @@ # General Apache options +# If you're on Debian try the following instead of the fastcgi-script line: +# AddHandler fcgid-script .fcgi AddHandler fastcgi-script .fcgi AddHandler cgi-script .cgi Options +FollowSymLinks +ExecCGI