Web Hosting Reviews for Affiliate Marketers

Unlimited Shared hosting & Unlimited Disk Space from $5.95 - Dreamhost
Solid Managed VPS with 4 IP's from $60 - Liquid Web
Lightning Fast Dedicated Servers & 1GB RAM from $149 - Liquid Web
#1 Domain Registration with WHOIS Privacy - Just $9.95

This Dreamhost thread was started by subflux on 2009-03-11 20:14:35:

Post Reply? Hi, I have a rails app who’s code is in /home/myRailsApps/testapp, with /home/subdomain.domain.com/testapp a symlink to /home/myRailsApps/testapp/public. In my log I am seeing ActionController::RoutingError (No route matches “/testapp/gear_items” with {:method=>:get}): The folder name that the application is sitting in, or the subfolder in the URL is appearing in the route request. From the tutorials I’ve been following, the route request should be gear_items, and the URL I am going to is subdomain.domain.com/testapp/gear_items How can I get rid of the “/testapp/” that’s getting prefixed to the route request? Is this to do with the Apache .htaccess? RewriteRule ^$ index.html [QSA] RewriteRule ^([^.]+)$ $1.html [QSA] RewriteCond %{REQUEST_FILENAME} !-f RewriteRule ^(.*)$ dispatch.fcgi [QSA,L] Many thanks, Kenny

Join in on the original post at the Dreamhost Forum, Sign up for Dreamhost or view our Dreamhost Review.

Related Web Host Reviews


Close
E-mail It