[Rails] Typo in a sub directory

softwareengineer 99 softwareengineer99 at yahoo.com
Wed Mar 1 08:33:27 GMT 2006


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
		
---------------------------------
Yahoo! Mail
Bring photos to life! New PhotoMail  makes sharing a breeze. 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060301/9e92f33d/attachment.html


More information about the Rails mailing list