Displaying 20 results from an estimated 3000 matches similar to: "Differentiating between normal site content and accounts with subdomains"
2006 Feb 05
3
Accessing Strongspace from a rails app
Is there any information on how to go about accessing a strongspace 
account from a rails app?  What are the preferred methods for doing 
this?
Are there plugins for RoR that support SFTP transfers and so on?
   Jake
-- 
Posted via http://www.ruby-forum.com/.
2006 May 25
2
basecamp prefixes
basecamp prefixes each url with a client name...
client1.updatelog.com/todos
client2.updatelog.com/milestones
any ideas on how this is done?
- one app?
- one app per client?
- one app per domain?
-- 
Posted via http://www.ruby-forum.com/.
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 Feb 19
3
accounts and subdomains
With reference to a previous 
post:http://www.ruby-forum.com/topic/55201#new
I would like my app to function as follows:
A new user signs up for my application, his username is "andy". When 
andy now logs in to the application the url is redirected to : 
http://andy.myapplication.com
Questions:
Is this possible to develop on a windows box with webrick?
Do I need anything special like
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
2005 Nov 19
3
file uploads with lighttpd-1.4.7 broken??
Hi guys,
Im doing fileuploads and it works great with webrick...I just installed 
lighttpd 1.4.7 and ran ruby script/server suecessfully picking up my 
lighty and fcgi install...
however...when I try to upload a file the proces either stalls (no 
evidence of the hit in any logs) or returns 503....
any suggestions??
thanks in advance...
Mikkel
-- 
Posted via http://www.ruby-forum.com/.
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
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
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 Mar 06
1
Using Runt with Rails Tutorial or Helpers?
I''m working on a project that has event scheduling and I need to get 
date recurrence going on it. I found the Runt library which looks like 
it has pretty much everything handled, but I was wondering if there are 
any tutorials out there for using Runt with Rails, or better yet some 
helpers or a plugin for it. I tried searching through the mailing list 
archives, but searching is down
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 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
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 Aug 15
5
Problems getting WEBrick server up and running (new to ruby)
Hello,
I installed ruby and rails on Monday as I have been hearing great things 
about both the ruby language and rails framework.
Installation went smoothly but I am having problems launching a WEBrick 
server so see what my newly created rails app is doing!
My ruby/ rails installation:
1) Installed ruby directly by compiling the source code.
2) Working on a windows pc, using cygwin to run /
2006 Feb 08
10
Sharing sessions between subdomains?
Hello,
    
   I know how to share sessions between subdomains  in PHP. Can anyone please guide me as to how I can share sessions using  Ruby? Where can I set the value of domain for which the cookie is set?
    
    I would like for a user to login on the home page and then go to blog.home.com and not have to login again.
    
    Any guidance/pointers are appreciated.
    
    Thanks''
 
2006 Jul 28
7
Uploading 2+ files simultaneously
I''m having trouble uploading 2+ files simultaneously (from different 
client machines)...
the upload page just hangs...
I''m running...
- ruby 1.8.4 (2005-12-24) [i686-linux]
- rails 1.1.4
- red hat el 4
- apache
- fcgi (0.8.7, 0.8.6.1)
- firefox 1.5.0.5
- httpd.conf
<IfModule mod_fastcgi.c>
  FastCgiIpcDir /tmp/fcgi_ipc/
  AddHandler fastcgi-script .fcgi
  FastCGIConfig
2003 Jan 14
2
configure issue (ac_cv_lib_inet_connect) on DYNIX/ptx
Greetings -
    In trying to get rsync-2.5.6pre1 working on DYNIX/ptx, I found I
    needed to pass ac_cv_lib_inet_connect=no to configure in order for
    it actually create a properly configured config.h file.
    I think this is because configure looks for connect in libinet,
    (and finds one there somehow).  But connect() is resolved by libsocket
    (but configure doesn't find it when
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} )