Right... just create a /content/ folder in public, put in the this.html file
and it should work just fine. If not, you can always use mod_rewrite and
create some rules for your static content.
On 5/1/05, Joshua Sierles
<jsierles-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
wrote:>
> If you run Rails under Apache, you probably have an .htaccess file
> which contains a rule handles requests for static files located in
> your Rails /public directory. Simply placing the static HTML in the
> correct hierarchy would be sufficient.
>
> More details on the TextDrive Rails list:
>
> http://one.textdrive.com/pipermail/rails/2005-March/004456.html
>
> Joshua Sierles
>
> On 5/2/05, Ron Sweeney
<ron.sweeney-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:
> > Hi all,
> >
> > I have successfully converted my scoop site to a slimmed down more
> > robust rails site using this and that...
> >
> > I would like to preserve some static content that the site references
> > due to the fact that google has shot gun on it and I am getting
> > considerable linkage to the sites from other sources that I do not
> > want to jeopardize.
> >
> > any hints on how to do this?
> >
> > example:
> >
> > http://myoldscoopsite.com/content/this.html
> >
> > 2
> >
> > http://newrailssite.com/content/this.html
> >
> > Thank you.
> > _______________________________________________
> > Rails mailing list
> > Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org
> > http://lists.rubyonrails.org/mailman/listinfo/rails
> >
> _______________________________________________
> Rails mailing list
> Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org
> http://lists.rubyonrails.org/mailman/listinfo/rails
>
--
- Ramin
http://www.getintothis.com/blog
_______________________________________________
Rails mailing list
Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org
http://lists.rubyonrails.org/mailman/listinfo/rails