Hi,
I was wondering if anyone has run into this issue in which trailing slashes
are triggering the controller/action instead of serving the cached page in
the public/ directory.
For example
www.myhost.com/controller/action - will serve up
public/controller/action.html
but www.myhost.com/controller/action/ - will run the action again.
I''m quite newbie with the entire Apache mod_rewrites.
Thanks,
Ben
Luis Villa
2006-Jan-19 16:05 UTC
[Rails] page caching - rewrite rules/ trailing slash question
I''m having the same problem Ben was having, though using the default lighttpd setup. Anyone have any pointers? Thanks- Luis> Hi, > I was wondering if anyone has run into this issue in which trailing slashes > are triggering the controller/action instead of serving the cached page in the public/ directory. > > For example > www.myhost.com/controller/action - will serve up public/controller/action.html > but www.myhost.com/controller/action/ - will run the action again. > > I''m quite newbie with the entire Apache mod_rewrites. > > Thanks, > > Ben