similar to: Using subdomain names in routes?

Displaying 20 results from an estimated 10000 matches similar to: "Using subdomain names in routes?"

2008 Jul 22
0
Routes dependent on subdomain
Hi, I''m having little problem getting my idea to work, would be very thankful if you could help me. I have one Ruby on Rails application sitting on server, and multiple subdomains, pointing to the same server/app. For example: mainserver.com user1.mainserver.com user2.mainserver.com I want to have exactly the same app and exactly the same routes on all, except that I want to map root
2006 Mar 25
1
routes mapping, subdomains and page-caching
Each of its own is no problem, but the combination of them is confusing my head ! I want to to map in routes.rb an url for an article which is identified by its permalink. The permalink is unique per subdomain. Has anybody done that and can post an example ? Should I do subdomain filtering in routes.rb so I can get page-cachabled URLs (and URL rewriting in Lighttpd form subdomain-urls to
2010 May 28
0
dynamically generating subdomains using subdomain-fu
hi, I am using subdomain-fu for creating subdomains . My doubt is how can we give the subdomains in the etc/hosts ,when the sub-domains are dynamicallybeing created. Ex: i created a subdomain called "user1" and i specified this in etc/ hosts file.So eveery time i cant specify the subdomain which is being created.So can i ovecome this problem. -- You received this message because
2017 Nov 14
2
Join a subdomain DC to a domain DC
> > Does nobody read the Samba wiki ??? > What??? Samba has a wiki ??? *Bazinga *:D As far as I am aware, AD subdomains do not work correctly with Samba AD. > > What you have done with the new DC, is what you should have done in the > > first place, created a subdomain of your main dns domain and used this > > for the AD dns domain and realm. > > I started in
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
2006 Mar 19
0
wishlist: revisiting subdomain access in routes.rb
Several folks on the list have, over time, expressed interest in being able to access the subdomain info inside routes.rb. This was discussed in great detail late last year by several folks: http://wrath.rubyonrails.org/pipermail/rails/2006-January/008114.html In summary, routes can''t access the domain, so your best bet is to stick a before_filter in your application.rb. This
2017 Nov 14
0
Join a subdomain DC to a domain DC
On Tue, 14 Nov 2017 20:07:38 -0200 Elias Pereira via samba <samba at lists.samba.org> wrote: > > > > Does nobody read the Samba wiki ??? > > > > What??? Samba has a wiki ??? *Bazinga *:D Yes, you will find it here: https://wiki.samba.org/index.php/Main_Page > > As far as I am aware, AD subdomains do not work correctly with Samba > AD. > > >
2017 Nov 14
0
Join a subdomain DC to a domain DC
On Tue, 14 Nov 2017 16:05:52 -0200 Elias Pereira via samba <samba at lists.samba.org> wrote: > Hello guys, > > I work at an institution where the domain is institute.edu.br. We > have a main dns that answers for the internal and external services > that we have. > > Firstly the staff here configured samba as domain institute.edu.br, > but this way it is conflicting
2017 Nov 14
1
Join a subdomain DC to a domain DC
> > If your main domain is 'example.com' and you use 'ad.example.com' as a > > dns subdomain of 'example.com', the Samba DC would be authoritative > > for 'ad.example.com', the AD clients would use the DC as their > > nameserver for the domain and anything unknown by the DC (google for > > instance, or anything in the
2013 May 09
0
Samba4 - joining linux clients to Samba subdomain
Dear all , We have installed and setup Samba4 as Primary domain controller(pdc) in Debian based Linux OS. I am able to join a debian machine as a client using likewise-gui (PBIS) in the PDC. Realm: cdacsamba.lan Domain: cdacsamba Similarly I have another setup of Samba4 (Secondary domain controller - sdc1) currently running independently with debian machines as clients. Realm: sub1.cdacsamba.lan
2007 Oct 25
1
Mocking/Stubbing help with subdomain as account key
My app uses account_location to set up subdomains as account keys. In my controllers, all my model operations are scoped through the @current_person object. The question is: How do I test this with RSpec''s mocking and stubbing? Basically, I need to test that @current_person.things is getting the find message and returning @thing. I''ve tried stubbing and mocking
2009 Oct 06
0
Integrationtest with Subdomain
Hello, I have a app which uses Subdomains for User-Account "username.my.app" How can I build an integration test for this app with webrat. i donĀ“t know how can I use my subdomain logic in the test. thanks -- Posted via http://www.ruby-forum.com/.
2011 Oct 27
1
creating subdomains
HI All, I surfed a lot , googled a lot , read/watched railscasts but could not get the solution. Below is my problem. 1) I wanted a parent domain www.xyz.com. This parent domain will have two subdomains abc.xyz.com and def.xyz.com. The parent domain will have a admin user who has capability to create/manage subdomains. The subdomains should an a siteadmin user who can edit the site
2010 Jun 24
1
Custom account subdomains with Rails 3
Hi, I needed to handle custom account subdomains with Rails and I wrote a simple rack middleware for that http://github.com/drogus/rack-subdomain. It works by mapping any subdomain to given PATH. For example when user hits drogus.example.org/account and mapping is /users/:subdomain, it will map the request to example.org/users/drogus/account I accomplished it with rack middleware, cause I wanted
2006 May 09
4
subdomain
hi, how to create a subdomain outside the public directory and how to redirect to the subdomain -- Posted via http://www.ruby-forum.com/.
2006 Mar 31
3
Why use a Subdomain?
New to Ruby on Rails. I''ve been playing around with an application I set up at rails.foo.com. Basically this means that all my pages tied to the application live on that subdomain. Is there any reason for not just installing onto your parent domain foo.com and putting your static pages in the public dir that ruby on rails creates? The answer seems like a simple yes, however all the
2011 Jun 09
1
subdomain based namespacing makes RSpec incorrectly state that the route doesn't exist
Hello, I''m doing namespace routing based on subdomain, rather than path, so that http://admin.example.com/pages leads to app/controllers/admin/ pages_controller.rb. Cucumber is following this fine, but RSpec is complaining that the requested route doesn''t exist even though "rake routes" shows the route. When I add a standard namespace below the "scope :admin"
2006 Jun 09
2
Virtualhost, Alias & Subdomains
I am having a problem with subdomains, alias & virtual hosts Centos 4.3, Apache 2.0.52 & PHP 5.04 I can get the primary to work, but not the aliased servers. http.conf extract ********* NameVirtualHost * <VirtualHost *> ServerName www.domain.com DocumentRoot /var/www/html/domain/ ServerAlias www.altdomain.com <http://www.altdomain.com> </VirtualHost> <VirtualHost
2006 Feb 06
1
Two subdomains with diferent controllers but same helpers and components
Hi, I want to have www.myproduct.com and myclient1.myproduct.com working on same server. I would like to have different controller in wich subdomains, example: on www I want to have sgnup and prices controller and on myclient subdomain I want login, settings, etc... I can open two environments rails www rails clients or point the two subdomains to same environment rails myproduct Wich is
2006 Apr 04
1
subdomain routing
According to the wiki (http://wiki.rubyonrails.org/rails/pages/Routes) you can handle subdomain routing in routes.rb. Like this: with_options :requirements=>{:subdomain=>''first.com''} do map.connect '''', :controller => "first/catalog" map.connect ''featured'', :controller => "first/catalog",