HighDots Forums  

How to 301 redirect with passenger(mode_rails)?

Ruby On Rails Talk Ruby On Rails programming language mailing list


Discuss How to 301 redirect with passenger(mode_rails)? in the Ruby On Rails Talk forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Masuda
 
Posts: n/a

Default How to 301 redirect with passenger(mode_rails)? - 11-05-2009 , 05:56 AM






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

Reply With Quote
  #2  
Old   
Justin James Grevich
 
Posts: n/a

Default Re: How to 301 redirect with passenger(mode_rails)? - 11-10-2009 , 11:59 PM






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


On Nov 5, 2:56*am, Masuda <msd.... (AT) gmail (DOT) com> wrote:
Quote:
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 (AT) googlegroups (DOT) com
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe (AT) googlegroups (DOT) com
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply With Quote
  #3  
Old   
Darian Shimy
 
Posts: n/a

Default Re: How to 301 redirect with passenger(mode_rails)? - 11-11-2009 , 02:29 AM



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

Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.