Displaying 8 results from an estimated 8 matches for "request_routing".
2006 May 18
4
Request Routing Plugin ( :requirements => { :subdomain => ''thing'' } finally works)
...t; {
:subdomain => ''whatever'' }
..just like the wiki claims you can do but you can''t :)
It exposes several other request methods as well like domain, port,
method etc. and excepts Regexps as well as strings for matching.
SVN: http://svn.vivabit.net/external/rubylibs/request_routing/
README: http://svn.vivabit.net/external/rubylibs/request_routing/README
Cheers,
Dan
--
Dan Webb
http://www.danwebb.net
2007 Jan 16
4
Subdomain Account Keys Best Practice
Hi all,
I''m thinking of useing sub-domains as account keys, something I''ve played
with previously.
I have accounts and users, fairly standard, except that users can belong to
many accounts, and accounts can have many users.
So I figure I need to have an area on the main domain, that allows users to
view their account memberships and things. Sort of like a dashboard for
each
2008 Jan 24
11
#17446 [PATCH] Add option to mongrel_rails to force mongrel not to serve static files
Hi all,
I''ve just added a patch that I''d appreciate some feedback on:
http://rubyforge.org/tracker/index.php?func=detail&aid=17446&group_id=1306&atid=5147
Regards,
Saimon
--
Saimon Moore
Freelance Web Developer
(Available for hire - For details visit http://saimonmoore.net)
Skype: saimonmoore
Yahoo IM: saimonmoore
Google IM: saimonmoore
-------------- next
2007 Mar 31
1
Subdomains, Routing, and Subdirectory Controllers
For reference, this question is similar to "Subdomains, Session Data,
& Routing" posted Oct. 31, 2006. Link:
http://groups.google.com/group/rubyonrails-talk/browse_thread/thread/d3c5072c3588a1e0/f87d0fdfded31650
----
I would like to set up a subdomain and, using the request_routing
plugin, have requests to that subdomain call corresponding "sub-
controllers" inside a controller module. That way, urls like:
http://sub.example.com/target/myaction
could be routed to call:
Grouped::TargetController#myaction (located in /app/controllers/
grouped/target_controller.rb...
2006 Aug 03
0
Sharing sessions across subdomains
...ONS.update(:session_domain
=> ''.localhost.com'')
If I create a session at foo.localhost.com then go bar.localhost.com a
session is created (with host localhost.com) and everything works
fine.
But if I then go to www.localhost.com which routes to a different
controller (via the request_routing plugin) another session is created
(with host www.localhost.com). Now if I navigate back to
foo.localhost.com the second empty session is picked up!
Any ideas?
Thanks,
Zack
2006 Mar 23
10
Domain Requirements in Routes (Edge Rails)
I saw on the bottom of the following page that you can route requests to
different controllers based upon which subdomain is being requested.
http://wiki.rubyonrails.com/rails/pages/Routes
with_options :requirements=>{:subdomain=>''first.com''} do
map.connect '''', :controller => "first/catalog"
map.connect ''featured'',
2006 Jun 21
4
Simple Subdomain Routing
Hey all,
I hope this is a relitively simple question, but I have not been able to
arrive at a workable solution for myself.
What I''m wanting to do is a very simple pattern match on a subdomain:
www.* forwards to mydomain.com/www_controller
and everything else forwards to mydomain.com/other_controller
The idea is to forward logged in users to username.mydomain.com, but all
the
2006 May 26
10
ROR website''s weblog not viewable on internet explorer
Does anyone know why the weblog at http://weblog.rubyonrails.org/ is
often messed up, with the first or first and second topics left-shifted
and melded with the Rails logo, the Live Search box and the page''s menu?
This happens on all my boxes that run Internet Explorer 6 (IE6). I
checked it on Firefox and the page appears correctly. While it''s easy
to argue "just use