similar to: Simple Subdomain Routing

Displaying 20 results from an estimated 2000 matches similar to: "Simple Subdomain Routing"

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 Apr 26
2
application failed to start for subdomain
I recently setup a subdomain to run my app as a staging site before pushing changes to the main site. So i setup a subdomain in cpanel, symlinked that the directory to point to a staging directory where i check''d out my rails app. However, when i go to staging.railsapp.com, it times out and says application failed to start properly. I''m not sure what is causing this, but
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
2017 Nov 14
4
Join a subdomain DC to a domain DC
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 in the resolution of internal and external service names, since samba wants to respond for all requests and, even inserting a forward zone,
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
2010 Aug 16
1
Subdomain Migration
On 8/16/2010 3:44 AM, ramesh wrote: > Hi All, > > I would like have suggestion for changing subdomain (belongs to ISP) to own domain, the scenario as below. > > Presently we have subdomain from ISP ( @xxx.isp.net) > email id : ramesh at xxx.isp.net > > ISP charges huge amount,thou others ISP charges less. so we have planned to migrate to our own registered domain and
2011 Nov 28
4
getting a subdomain name in model.
Hi all, I am facing problem in getting subdomain name inside the model. The following is my setup. I am using cancan for authorization.I wanted a specific condition in Ability.rb ( the file which is placed in models if we install cancan gem). Below is the condition I wanted: ========================================================= user ||= User.new # guest user (not logged in) if
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
2006 Jan 25
6
Displaying based on hostname/subdomain
Ive tried multiple ideas to get this to work, but keep hitting a dead end. Has anyone done this before? I want joe.domain.com to display www.domain.com/profile/joe Im using lighttpd. Routes dont have access to the URL string and therefore I cant code in a conditional. lighttpd rewrite seems to really screw it all up. Is there a feasible solution? Thank you, Joe Noon
2016 Nov 01
1
Samba-tool SUBDOMAIN Problem
Hi, i have setted up a DC ESC.LAN, if i try to do "samba-tool domain join MUNICH.ESC.LAN SUBDOMAIN -Uadministrator" i get the following error, how can i build up a AD Subdomain (Domain Tree) [root at MUC-PDC ~]# samba-tool domain join MUNICH.ESC.LAN SUBDOMAIN -Uadministrator Administrator password will be set randomly! Finding a writeable DC for domain 'ESC.LAN' Found DC
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 May 18
4
Request Routing Plugin ( :requirements => { :subdomain => ''thing'' } finally works)
Hi All, Just a quick note to say that I''ve released an intial version of the request routing plugin which essentially allows you to use various request object properties as requirements in routes. Most notably you can do: map.connect "thing", :controller => ''main'', :requirements => { :subdomain => ''whatever'' } ..just like the wiki
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",
2017 Nov 15
2
Join a subdomain DC to a domain DC
Thanks for the feedback too Andrew!!! I will analyze and verify the least impactful way to try to solve this problem. On Wed, Nov 15, 2017 at 4:25 PM, Andrew Bartlett <abartlet at samba.org> wrote: > On Tue, 2017-11-14 at 16:05 -0200, Elias Pereira via samba wrote: > > Hello guys, > > > > I work at an institution where the domain is institute.edu.br. We have a >
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
2008 Aug 15
7
Autotest and subclasses / namespaces
I am writing a controller admin/cities_controller.rb it inherits from AdminController, so it''s defined like class Admin::CitiesController > AdminController Whenever I save the controller file, autotest freaks out: uninitialized constant Admin::AdminController (NameError) I''m pretty used to just hitting CTRL-C to get autotest to re-load all the files, or flicking to
2016 May 05
2
Samba4 AD DNS -- AD Subdomain vs Clients accessing on different subdomain
Hello, We have an issue we’ve been struggling with for quite some time since we rolled out 10 Samba4 domain controllers at our main office and all remote sites about 3 years ago. Simplified Current Configuration: 2 DCs at main site with internal DNS using subdomain ad.companyname.com 2 BIND CentOS servers serving all intranet DNS requests — main zone: companyname.com 2 BIND CentOS servers
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
2017 Nov 16
2
Join a subdomain DC to a domain DC
On Thu, 16 Nov 2017 16:59:13 -0200 Elias Pereira via samba <samba at lists.samba.org> wrote: > I'm going to redo my infra using the subdomain. > > As I've commented before, the file server is together with the DC. I'm > going to separate it, because I think it's a good practice. > > My question is if I could re-use the old DC that already has an >
2009 Nov 10
10
Un-recognised routes that do exist, using namespaces & subdomain checking
I''m getting really cheesed off with RSpec not matching some of my routes when controller testing when I have subdomain checking (courtesy of subdomain-fu) on namespaces. These routes appear in the rake routes output, and work fine via HTTP requests . The really annoying thing is it''s working fine for routes that aren''t at the root of the namespace. E.g. say I have