similar to: Routing based on host domain

Displaying 20 results from an estimated 3000 matches similar to: "Routing based on host domain"

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
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
2006 Jul 28
1
account_location plugin
Hi Ive just installed the acocunt location plugin Which all seems to be working correctly. However as i''m using webrick, i''m having to put all the subdomains in my host file. Is there a way to set it all up so I dont have to manually enter domains in the hosts file? thanks scott -- Posted via http://www.ruby-forum.com/.
2009 Jun 12
0
R: Creating this vector, any suggetions?
try this > a<-c(1, 6, 8, 9) > 1*(1:10 %in% a) [1] 1 0 0 0 0 1 0 1 1 0 Stefano -----Messaggio originale----- Da: r-help-bounces at r-project.org [mailto:r-help-bounces at r-project.org]Per conto di njhuang86 Inviato: Friday, June 12, 2009 4:45 PM A: r-help at r-project.org Oggetto: [R] Creating this vector, any suggetions? Suppose I have the first vector: c(1, 6, 8, 9) I will
2011 Feb 18
1
Rails plugins new official maintainers
Hey guys, This is the final list of the new maintainers of each plugin. We need two more things to do: First please the owners of the repos add the rest of the maintainers. Second I will add a note on each rails/plugin mentioning this repos updates. So from now on, if someone else is interested in helping/contributing please send a message to the appropriate repo owner. verification
2006 Jul 09
0
account_location couple of questions.
Hi I''m having a look at the account_location plugin for a project and there''s a couple of things i''m not sure on. One is what the default_account_subdomain method does. def default_account_subdomain @account.username if @account && @account.respond_to?(:username) end What is this used for? Can anyone provide an example of it''s usage please?
2009 Jun 12
2
Creating this vector, any suggetions?
Suppose I have the first vector: c(1, 6, 8, 9) I will like to create a second vector of size 10 composed of 0 and 1's. The second vector will be composed of four 1's and six 0's. The position of the 1's will be specificed by the first vector. So essentially, I want a second vector in the form: c(1, 0, 0, 0, 0, 1, 0, 1, 1, 0) Any help is greatly appreciated! -- View this message
2004 Dec 14
5
Digium Hardware in Canada
I am looking for a supplier of Digium hardware in Canada. Any suggetions? Thanks, Adi
2012 Oct 08
1
migrating from Centos 5.8 -> 6.3 LDAP Client Config
Hi, I run a Centos 5.8 samba server which uses a separate LDAP centos 6.3 server for user and group authentication. Now we migrate to a new centos 6.3 samba server and I'd like to know how do 'ldapify' that new server the best way. I'm a bit confused if I can use the same nss setup like on the current old server or how and what to configure to go with SSSD? May be someone can
2005 Dec 31
1
OpenLDAP and Samba - password expiration.
Hi all, I have a Samba PDC with an LDAP backend. Yesterday, I tried to add a new machine to the network and received the following message: The following error occurred attempting to join the domain: The password of this user has expired Not a problem I thought, and then ran smbldap-usermod -e "2010-12-30 00:00:00" root to extend the password date. If I now try to connect a
2008 Apr 12
4
HOW TO AVOID LOOPS
> Looking for a simple, effective a minimum execution time solution. > > For a vector as: > > c(0,0,1,0,1,1,1,0,0,1,1,0,1,0,1,1,1,1,1,1) > To transform it to the following vector without using any loops: > (0,0,1,0,1,2,3,0,0,1,2,0,1,0,1,2,3,4,5,6) > Appreciate any suggetions. [[alternative HTML version deleted]]
2010 Mar 19
2
auto_complete plugin on rails 2.3.5
Hi, this is my first post. I have run: $ ruby script/plugin -v install auto_complete but the result is: Plugin not found: ["auto_complete"] #<Errno::ENOENT: No such file or directory - /dev/null> I have also try to run: $ ruby script/plugin -v list and the result is: Discovering plugins in http://dev.rubyonrails.com/svn/rails/plugins/ /CHANGELOG /account_location/
2011 Sep 15
3
puppet and kerberos keytabs
Hi, we use kerberos with keytabs on our clients. We do *not* trust root on the clients! One client should never have access to any other client''s keytab. This is my proposed solution to get the keytabs to the clients, any comments welcome! 1. Use file to get /root/.ssh/authorized_keys 2. Use exported resource to let the client "notify" the server that it wants a keytab 3. On
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 Jun 04
1
Fwd: Re: How to call a value labels attribute?
How is what you are doing any different from factors? > x <- factor(c(1, 2, 3, 3, 2, 3, 1), labels=c("apple", "banana", "other")) > x [1] apple banana other other banana other apple Levels: apple banana other > as.numeric(x) [1] 1 2 3 3 2 3 1 > levels(x)[3] <- "birne" > x [1] apple banana birne birne banana birne apple
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/.
2020 Jun 15
1
Voice "broken" during calls
On Monday 15 June 2020 at 21:50:36, Luca Bertoncello wrote: > Am 15.06.2020 um 21:28 schrieb Antony Stone: > > On Monday 15 June 2020 at 21:19:51, Luca Bertoncello wrote: > >> But I'm not really sure, that Asterisk could be the problem, since, as I > >> said, the problem happens even if I connect the phone direct to the > >> server of Telekom... > >
2003 Feb 09
0
to modify a matrix : Summary
I truly thank for evrybody to give me many very good answers and suggestions. I like to summarize the replies with their results when excuted on R and with my comments. My question is > x <- matrix(1:10.,5) > x [,1] [,2] [1,] 1 6 [2,] 2 7 [3,] 3 8 [4,] 4 9 [5,] 5 10 there is a matrix. On condition x[? ,1]=3, how to modify the appropriate location to be
2005 Sep 29
0
strange problem with directories acls
Hi all, I try to use rsync with acl support. Files with acls were transfered but the acls of direcotries don`t! Is it not possible to transfer acls of diretories? Any suggetions? info: rsync-2.6.2-8 (rpm from sles9) cheers Stefan
2005 Jun 25
0
Everyone is busy/congested at this time
Hi all, yesterday afternoon, I called through my provider (teliax). but from the evening, I get this error. (below). then I checked in My Account page ans support page in teliax. and I saw that they have given new setting (to another proxy sever). I followed new settings. my Asterisk server is connecting to the teliax. but still I con not make called. it shows this error. If somebody had this