similar to: Subdomains as account keys and domain pointers

Displaying 20 results from an estimated 20000 matches similar to: "Subdomains as account keys and domain pointers"

2006 Jan 18
2
How do you get link_to to work correctly when using subdomains as account keys?
When using subdomains as account keys (as per this HowTo: http://wiki.rubyonrails.org/rails/pages/HowToUseSubdomainsAsAccountKeys), how can you get link_to to spit out the correct URL (i.e. account123.domain.com)? <%= link_to "My Account", { :action => "show", :id => "account123" } %> would generate "http://www.domain.com/show/account123" I
2005 Dec 30
2
Setting up Subdomains as Account Keys Under Mac OS X
I''m trying to configure my Rails app to use the subdomain as the account key. I''ve followed along with the HowTo [1], but under Mac OS X (10.4.3) I cannot get sub.domain.mine to map to 127.0.0.1. I''ve modified /etc/hosts as explained in "Dynamic Vhosts Working" [2], but I do not want to use Apache ... I''m using Webrick for development. Since this is
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 Aug 18
2
subdomains with Rails
Hi. I want to add subdomains like this: Example: http://shirts.myshopify.com , http://computers.myshopify.com Is it something you can do while still in development mode or do you wait until you deploy and configure the subdomain names with your host somehow? Can you help direct me in the right way to do this? -- Posted via http://www.ruby-forum.com/.
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
2005 Mar 02
1
using subdomains as account keys
I finally managed to use subdomains as account keys, just as in tadalist. Now I have an "account" variable in all my controllers, and was thinking about what implications I''m going to have on security, because the accounts table contains all account crypted passwords (of course). Is it secure or not ? David ? :) -- checking for life_signs in -lKenny... no Oh my god, make (1)
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 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
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
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
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
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
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
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 Aug 17
2
mod_proxy and subdomains..
hi, everyone.. i am trying to set up an app like so: www.domain.com -> points to main php application.. subdomain.domain.com -> proxies to www.domain.com:8000 <- this is running on mongrel.. i just cannot figure out how to phrase this in my httpd.conf... does anyone have any ideas? thanks! -- Posted via http://www.ruby-forum.com/.
2010 Jul 27
0
PATCH - Configurable tld_length for subdomains
Hi all. I''ve submitted a lighthouse ticket + patch so you can avoid having to repeatedly tell the subdomain method on ActionDispatch::Request how many elements your TLD has. https://rails.lighthouseapp.com/projects/8994/tickets/5215-configurable-tld_length-for-subdomains Any thoughts? Good idea, bad idea? Thanks, Simon -- You received this message because you are subscribed to the
2015 May 19
1
subdomains !
Does samba4.2 support for subdomain? In others words, a forest with more than one domain. Or we just can create a DC with one domain yet. Thanks
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:
2006 Jul 28
0
controller subdomains
Hi. i would like to make subdomain controller classes. was wondering what aspects of rails (and/or server) i would have to configure. example: sub_controller1.mydomain.com/controller/action sub_controller2.mydomain.com/controller/action etc. Insights? Thanks -- Posted via http://www.ruby-forum.com/.
2006 Apr 05
0
apache and subdomains
Hi, I''m trying to get a subdomain to map to a controller. For example: blog.domain.com to point to /list so in my virtual host I tried: RewriteEngine On RewriteCond %{HTTP_HOST} ^blog.localhost$ RewriteCond %{REQUEST_URI} !^/blog/ RewriteRule ^(.*)$ /blog/$1 but it just goes to the root of my rails app. any ideas? scott.