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.
All Hosts
- 1&1
- A Small Orange
- Aplus
- Bluehost
- BurstNET
- CalPOP
- CariNet
- CheapVPS
- DailyRazor
- Dreamhost
- DynDNS
- Eapps
- EasyCGI
- Eleven2
- Elief
- Engine Yard
- Exmasters
- Fastservers
- Fat Cow
- Fluid
- Fused Network
- Future Hosting
- Geek Storage
- Globat
- GoDaddy
- GoGrid
- Good Avocado
- HiVelocity
- HostDime
- Hostgator
- HostICan
- Hostmonster
- HostV
- HostWay
- ICDSoft
- InMotion
- iWeb
- IX
- Joyent
- JustHost
- KnownHost
- Laughing Squid
- Layered Tech
- Limestone Networks
- LiquidWeb
- Litespeed
- LunarPages
- Media Temple
- Micfo
- MidPhase
- Mosso
- Myriad Network
- NetDepot
- Netfirms
- Peer1
- ProVPS
- Rackspace
- Razorservers
- ResellerZoom
- Right Scale
- SeeksAdmin
- Servage
- ServerBeach
- ServerPronto
- ServINT
- SilverRack
- Singlehop
- SiteGround
- Slhost
- Slicehost
- Softlayer
- SolarVPS
- Steadfast Networks
- TekTonic
- The Planet
- TheNYNoc
- Thinkhost
- Ultra Hosting
- Ultra Website Hosting
- Umbra Hosting
- URLJet
- Velcom
- VolumeDrive
- Voxtreme
- VPSLand
- WebHostingPad
- WiredTree
- WireNine
- XLHost
- Yahoo
- Yourserving

