0
votes
1answer
331 views

mod-redmine && mod-passenger: Passenger refuses to load (here: Redmine) after rewrite uri. Where to put RailsBaseURI?

i've a working Redmine-instance at /var/lib/redmine. (Redmine configuration is not the issue) ln -s /var/lib/redmine/public /var/www/redmine chown -R www-data:www-data /var/www/redmine echo ...
0
votes
1answer
149 views

mod_rewrite rules for non-default page cache directory for Rails application with distinction between mobile directory and www directory

My Question is similar (almost the same) to another question asked here: but with a twist. Does anybody have some working Apache mod_rewrite rules that enable Phusion Passenger (mod_rails) to ...
0
votes
2answers
739 views

Passenger: mod_rewrite rules for non-default page cache directory for Rails application

Does anybody have some working Apache mod_rewrite rules that enable Phusion Passenger (mod_rails) to use a non-default location for the page cache within a Rails application? I'd like the cached files ...
0
votes
1answer
1k views

How to generate canonical URLs with apache/mod_rewrite on passenger?

We had once a working setup per .htaccess to redirect a visitor to a canonical URL (for SEO reasons, reduce double content) if she or he visited our rails app: RewriteEngine on RewriteCond ...