Forum: Ruby on Rails subdomain_fu rewriting wrong with tld size 2 ?

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
Matt P. (Guest)
on 2009-02-04 21:46
I have a website on a demo server at:
mycompany.com

I have a Rails app with subdomain_fu. I've verified it's running in the
right environment and set the TLD Size to "2" so I can have:
myapp.mycompany.com
admin.myapp.mycompany.com
*.myapp.mycompany.com (for users' customized landing pages)

This works great on my local computer with "myapp.local" and
"admin.myapp.local"

but on my dev server, I'm getting URLs like

http://myapp.mycompany.com/myapp
http://admin.myapp.mycompany.com/myapp

and it's prepending '/myapp/' to all stylesheet and javascript includes,
causing them to fail

I've googled everywhere on this.  Any ideas?
This topic is locked and can not be replied to.