search for: nycindex

Displaying 1 result from an estimated 1 matches for "nycindex".

Did you mean: newindex
2006 Jun 19
0
map lighttpd to specific action?
I have a multi-city application set up and right now the city is set by a session variable: if @user.city.to_s==''3'' session[:city]="nyc" redirect_to(:controller => "users", :action => "nycindex") Is it possible to map a specific URL to that same action? e.g. ny.foo.com would set @user.city.to_s == ''3'' and so head over to the users/nycindex page? Can that be on in lighttpd or is there another way to look for it? Thanks.. -- Posted via http://www.ruby-forum.co...