Rails Rewrites

It has been brought to our attention that there is a bug in the latest version of cPanel which writes faulty mod_rewrite strings when using the built-in rewrite feature of the Rails component.

To fix the 404 errors and missing images while rerouting from a standard port 80 (sub)domain/folder to 12001, 12002, etc, do the following:

Open the .htaccess in your text editor and change
RewriteRule ^/?$
to
RewriteRule ^.*$

Comments

Leave a Reply

You must be logged in to post a comment.