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
This commit is contained in:
bsag 2006-03-04 14:35:06 +00:00
parent c1a66cf4a9
commit 512c124955
2 changed files with 3 additions and 1 deletions

View file

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

View file

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