# These modules must be enabled : rewrite, fcgid # (mod_fastcgi is much harder to configure) # Configuration for http://localhost/redmine # FcgidInitialEnv for module mod_fcgid FcgidInitialEnv RAILS_RELATIVE_URL_ROOT "/redmine" FcgidInitialEnv X_DEBIAN_SITEID "default" Alias "/redmine/plugin_assets/" /var/cache/redmine/default/plugin_assets/ Alias "/redmine" /usr/share/redmine/public Options +FollowSymLinks +ExecCGI Order allow,deny Allow from all RewriteEngine On RewriteBase "/redmine" RewriteRule ^$ index.html [QSA] RewriteRule ^([^.]+)$ $1.html [QSA] RewriteCond %{REQUEST_FILENAME} !-f [OR] RewriteCond %{REQUEST_FILENAME} dispatch.fcgi$ RewriteRule ^(.*)$ dispatch.fcgi [QSA,L]