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