Thani Ararsu wrote:
> hi
> i want to add a prefix to all urls in my project
>
> for example ,now i have like this
> "http://localhost:3000/posts";
>
>
> but
> i want like this
> "http://localhost:3000/my_blog/posts";
> "http://localhost:3000/my_blog/posts/new";
> "http://localhost:3000/my_blog/posts/edit/1";
> "http://localhost:3000/my_blog/*/*...";
>
>
> "my_blog" prefix should come all of my blog project link
>
> how to do that ?
>   
If your using apache you might look into mod_rewrite.

-- 
Jack Christensen
[EMAIL PROTECTED]


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to