similar to: creating subdomains

Displaying 20 results from an estimated 500 matches similar to: "creating subdomains"

2011 Nov 05
13
Adding a site admin user while creating a site
Hi Gurus, I wanted to add siteadmin user(basically a user with a certain role) while creating the site itself. I hope that i have done all the necessary stuff by going through raynb''s railscasts ( http://railscasts.com/episodes/196-nested-model-form-part-1) But could not see user fields being displayed in the site creation form.. Below are the details. I Have two model users 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
2011 Oct 21
3
multi site with RoR
HI All,, I have just installed rails. Also I have installed spree,spree-multi- domains gems. I could run the sample spree app but on the admin of spree could not find facility to add multi domains, I have googled but could not find how to create multi domains using rails or spree. If there are any ruby gems to achieve or any other way please let me know. Below is what I wanted exactly 1) A
2010 May 06
7
Facebook, authlogic, and OAuth2
Has anyone gotten started with getting the OAuth2 replacement for Facebook Connect working with auth_logic? I know there is an OAuth2 gem (http://intridea.com/2010/4/22/oauth2- gem-just-in-time-for-facebook-graph?blog=company), and I''m thinking of using that to integrate. Anyone know when the Fb Connect API will be shut down? -- You received this message because you are subscribed to
2012 Mar 15
3
[ITR] templates://xen-api/{xcp-networkd.templates}
Dear Debian maintainer, The Debian internationalisation team and the Debian English localisation team will soon begin the review of the debconf templates used in xen-api. This review takes place for all packages that use debconf to interact with users and its aims are: - to improve the use of English in all debconf templates; - to make the wording of debconf templates more consistent; - to
2013 Oct 31
2
libvirt_lxc: SELinux MCS
Hello list, my name is Matteo, i'm new on that list. I'm working on a multitenancy platform with linux containers through libvirt on a production system with Red Hat 6.4. Every container run a separate instance of OpenSSH and Apache HTTPd and I need to give root privileges to the developers and I try to configure SELinux using svirt and MCS. I try the secmodel type dynamic and static in
2007 Oct 31
7
Question for rails multidomain application design
Hi to all, I would design an application for multidomain support and my question is what is the best practice to do this kind of application ? Eg.: I think to write my application handling the multidomain into routing map: map.connect ":domain/:controller/:action" map.connect ":domain/:controller/:action/:id" Assuming that I hanlde 3 domains for 3 different customers:
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
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
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
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 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/.
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 Jan 05
0
Subdomains - redirect to different actions?
Hey, I''m trying to figure out what the most elegant way to do this - I''ve only got a small amount of different subdomains corresponding to categories - and I''ve been using fragment caching. In particular, I was wondering what the best way to call these actions is - I''m thinking redirect and render_component aren''t really very nice
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
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)
2009 Jul 02
2
Big help with shared subdomains cookies
Hi, i need that all the subdomains of an app (using subdomain_fu) use ''.domain.com'' as domain for all cookies. I''ve set ActionController::Base.session_options[:domain] = ''.domain.com'' and it works...for just the session... how can i set this also for common cookies ? (created with cookies[:name] = {:value => value, :expires => 6.months.from_now} )
2006 Aug 03
0
Sharing sessions across subdomains
Has anyone else experienced this strange behavoir with sharing sessions across subdomains? I have in development.rb ActionController::CgiRequest::DEFAULT_SESSION_OPTIONS.update(:session_domain => ''.localhost.com'') If I create a session at foo.localhost.com then go bar.localhost.com a session is created (with host localhost.com) and everything works fine. But if I then go
2008 Jan 30
2
Invalid authenticity tokens when using subdomains
Does anyone have experience with using subdomains and rails? The example that I used to help me out was from the Advanced Rails Recipes book, but I can''t get it working as it should. I continually get authenticity token errors after logging in. I have had this error before, and for whatever reason after I added a<%= token_tag %> to the form it worked, but it doesn''t work
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