How to 301 redirect with passenger(mode_rails)?

View: New views
3 Messages — Rating Filter:   Alert me  

How to 301 redirect with passenger(mode_rails)?

by msd456 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


I've rebuild my site and many url has changed.
I want to redirect 301 these url.
However, I don't know how to do it with passenger.

Any advice?

--~--~---------~--~----~------------~-------~--~----~
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 rubyonrails-talk@...
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@...
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---


Re: How to 301 redirect with passenger(mode_rails)?

by jgrevich :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


Do you have access to the apache config file, or can you use .htaccess
files?


On Nov 5, 2:56 am, Masuda <msd....@...> wrote:
> I've rebuild my site and many url has changed.
> I want to redirect 301 these url.
> However, I don't know how to do it with passenger.
>
> Any advice?
--~--~---------~--~----~------------~-------~--~----~
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 rubyonrails-talk@...
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@...
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---


Re: How to 301 redirect with passenger(mode_rails)?

by Darian Shimy-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


This isn't much of a Passenger issue as it's an Apache issue (assuming
you are using Apache).  Look at mod_rewrite:
http://httpd.apache.org/docs/2.0/mod/mod_rewrite.html

On Nov 5, 2:56 am, Masuda <msd....@...> wrote:
> I've rebuild my site and many url has changed.
> I want to redirect 301 these url.
> However, I don't know how to do it with passenger.
>
> Any advice?

--~--~---------~--~----~------------~-------~--~----~
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 rubyonrails-talk@...
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@...
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---