Forum: Ruby on Rails Typo in a sub directory

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.
F68e4842b0a5487678e26046fdb2fdf3?d=identicon&s=25 softwareengineer 99 (Guest)
on 2006-03-01 09:33
(Received via mailing list)
Hello  experts,

I have a rails project at http://domain.com

I would like to install typo at http://domain.com/blog

Is this possible?

I have gotten it installed and using mod_rewrite I can get to the home
page.

My mod_rewrite takes everything after blog/ in the url and passes it to
typo.

The issue I am having is that all Typo assets are relative and they use
link like:

/stylesheets/theme/local.css

Is there a convenient way that I can force Typo (or other ROR projects)
to use
/blog/stylesheets/theme/local.css

Any tips/ pointers are appreciated.

Thanks
Frank



Rails Blog: http://railsruby.blogspot.com
MySQL Blog: http://mysqldatabaseadministration.blogspot.com
Linux / Security Blog: http://frankmash.blogspot.com
Dc3f3775a7d03ba1be8958aaee881d6b?d=identicon&s=25 Scott Laird (Guest)
on 2006-03-01 19:59
(Received via mailing list)
On 3/1/06, softwareengineer 99 <softwareengineer99@yahoo.com> wrote:
>
>
>
Look in public/.htaccess for Typo; there should be a 'RewriteBase
/blog/'
line.  Uncomment it, and everything should work.


Scott
This topic is locked and can not be replied to.