similar to: subdomain

Displaying 20 results from an estimated 4000 matches similar to: "subdomain"

2006 Jul 16
2
how does base camp manage there accounts
hi, Cant find any information this anywhere so was wondering if anyone had any ideas. Basically when you go to basecamp.com it allows you to sign up for a account and gives you a url username.projectpath.com I was just wondering how they do this, and if each account has there own database or if it is all stored in one. thanks scott -- Posted via http://www.ruby-forum.com/.
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 Feb 08
1
Wildcard Subdomains & OS X Local Development
I''m using the simple account_location plugin to have virtual subdomains on my app (account.myapp.com - see Basecamp, Blinksale, etc.) How do you go about setting up your OS X system to play nice? I''d like to use Apache & Mongrel. Notes: The only thing I''ve able to accomplish is hardcoding the subdomains directly in my hosts file. I can get
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
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 Jul 01
8
Seeking Advice on Pattern for Multi-Organization Application
I am the developer of FreeMIS - an Open Source management information system for schools. It currently holds the data for one school - so different schools host different instances of FreeMIS. I would like to expand the domain of a single instance of FreeMIS, so that it covers all the schools in an education authority. THis will enable me to implement authority-wide functionality. Is there
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
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
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 Jun 10
2
username.tadalist.com - How?
Hi. I was wondering how to do this in rails where the user gets a subdomain in the link of the site. example: username.tadalist.com Or if you know of a reference, please point me to it. Thanks -- Posted via http://www.ruby-forum.com/.
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
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,
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
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
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 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'',
2007 Oct 26
3
Specing with Subdomains as Account Keys
How do you go about implementing and rspecing subdomains as account keys? I''m sure that this must be an issues for others as well. So I have an app using subdomains as account keys. The Application Controller sets up @current_company in a before filter. Everything is done within the context of the @current_company. After reading about Demeter''s Revenge
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
2009 Dec 16
5
Caching comments: timestamps and subdomains
Hi, I''m working on a website that has a very slow loading frontpage. I wanted to start by caching certain elements that have high load. For example, it loads the last 50 comments, along with the corresponding usernames, avatars and more. So I cached that fragment and created a sweeper that observes Comment and expires after every create or destroy action. However, I have two problems:
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