similar to: [ Rails ] Multiple rails apps on 1 host

Displaying 20 results from an estimated 7000 matches similar to: "[ Rails ] Multiple rails apps on 1 host"

2006 Aug 18
3
Lighttpd Conf Help - Multiple Domains Multiple Apps
Hi Guys, I hope someone can help me out. I am trying to configure two applications to run on lighttpd and each app will have its own domain. My machine is running on Fedora. When I run my lighttpd with the following conf file, I get no error but when I check out my app, it dishes out a 404 error- the 404 being served isn''t the 404 inside the railsapp/public folder. Do hope someone
2006 Aug 16
18
mongrel lighttpd and ssl
I am wanting to one run instance of lighttpd, many many instances of mongrel. I also need ssl but only for one of my sites. I understand that Mongrel does not play with SSL so I am forced to use Lighttpd. I think that lighttpd only handles ssl or non-ssl on any given instance. Is there a way for me to accomplish my goal of one lighttpd with multiple mongrels and the occasional ssl connection? --
2006 Feb 16
11
Multiple Rails app on the same server?
I have a rails app on a debian server running lighttpd and I''m trying to set up typo so that it also works (with a different url). I have 4 URLs running -- let''s call them foo.com, bar.com, www.typo.com and php.typo.com I am starting lighttpd by going into the directory where my foo.com app is and typing either ruby script/server or script/server -e production -- either
2006 Jun 21
3
multiple apps one virtual host one domain
I''m trying to achieve the following: Having a development server that runs multiple rails apps running wihout creating a different virtual host for each apps. my documentRoot is therefore /var/rails for my whole config http://myserver/app1/controller/action -> (/var/rails/app1/...) http://myserver/app2/controller/action -> (/var/rails/app2/...) I''m under apache 1.3 mod
2006 Dec 16
5
trying to add another app
hey all, I have an app working great with apache2 and mongrel_cluster. However, I''m trying to run another application and now when I go to app1.comit falls to app2.com and the opposite. That''s probably because I messed up somewhere with the cluster. this is the content of my conf.d/app1.proxy_cluster.conf: <Proxy balancer://mongrel_cluster> BalancerMember
2006 Dec 21
4
my apache 2.2 conf
I just finished updating our internal site, which hosts multiple Rails apps, to Apache 2.2.3. It also has a TWiki rewritten into the root, ViewVC mounted on /cvs, and /server-status and /server-info. <VirtualHost *:80> ServerName int.example.com ServerAlias int CustomLog /var/www/logs/int.example.com/access.log combined ErrorLog /var/www/logs/int.example.com/error.log [...]
2006 Jun 18
1
Problem using "rake db:migrate"
Hi all, I am facing a problem while using rails "migrate" feature for creating tables in a database. Following are the details. I have 2 applications say "app1" & "app2". I want both of them to use same database say "testdb". For "app1", I create 3 models which in turn create 3 migration files with prefix, 001_, 002_ & 003_. Now I
2010 Apr 14
1
sshd sending eof to peer instead of SSH_MSG_CHANNEL_CLOSE.
I am using the ssh port forwarding feature. My configuration is as follows: On my server machine, running sshd, and app1. On my client machine, running ssh (client) and app2. The client connects to the server requesting remote port forwarding from port X on the server machine to port Y on the client machine. app2 is listening on port Y on the client machine. app1 connects to port X
2006 Jul 23
1
Mongrel, Apache 2.2, Rails question. HELP!
Sorry to bother you with a Rails "newbie"-like question, but I have been tearing my hair out for a couple of days with the deployment scenario I am trying to setup. I use a service provider that supports multiple domains via Virtual Hosts. I have all the software installed and "working". I want to deploy two apps under my domain and have the following in my .conf file:
2013 Mar 08
5
hiera / create_resources / define
I''m trying to use create_resources to create a series of files with semi-custom content based on a template. This is what I have: foo.conf.erb: Name "<%= name %>" WorkingDir "<%= working_dir %>" ... a bunch of static entries YAML: configs: config1: Name: app1 WorkingDir: /var/app1 config2: Name: app2 WorkingDir: /var/app2
2006 Jun 15
6
Problem with lighttpd
I have a problem with lighttpd on OSX. Everything builds fine (and webrick runs just fine) but lighttpd barfs: edward-kenworthys-computer:~/Development/Ruby/pricematic/trunk edward$ script/server => Booting lighttpd (use ''script/server webrick'' to force WEBrick) => Rails application started on http://0.0.0.0:3000 => Call with -d to detach => Ctrl-C to shutdown
2006 Jan 09
11
Scaleability and Sharing of code between apps
Application 1 is an auditing application called AuditSystem. Application 2 is a quality control appllication called QC. App1 has a couple of classes, including models, that i would like to use with App2. I would like a change in a class to be felt in both applications. How do i acheive this without copying and pasting code?? At the moment im feeling i should have made the whole thing one
2006 Sep 07
21
Multiple rails apps with Mongrel
I''m trying to set up several different Rails apps on the same domain, each one running Mongrel. After reading all of the documentation, it''s fairly clear how to use subdomains - create several Apache virtual hosts, each of which has a different ProxyPass and ProxyPassReverse command to redirect from different ports (ie, 3000, 3100), and then have each Mongrel instance (or
2006 May 02
4
recommended setup of Mongrel_cluster + SSL for multiple apps?
I''d like to use Mongrel_cluster with SSL on a green-field application (it can be configured however is best - initially, "ease of setup" is important, but then soon after will be scaling and response time). I''ve read a lot of emails on this topic, and checked out the Mongrel pages, etc, but I''m left with this question of what is recommended: For a
2006 Jul 28
0
URL root/serving more than one app per subdomain
Hey folks, I have the following situation: I have a secure server, and I''d like to run multiple Rails apps without dealing with setting up multiple secure servers, with their fixed IPs, etc. So, I want to do https:// secure.domain.com/app1/ and https://secure.domain.com/app2/ etc. In lighttpd this is possible using a combination of relative_url_root in each app (in
2012 Sep 26
6
Puppet 2.7, hiera 1.0 and hiera as an ENC
This is the situation I have: All my hosts are the* same OS.* All my host are in the* same puppet environment,* so I cannot use %{environment} I have a module that sets all the *basic* functionality for the OS, resolution, authentication, security, packages, etc I have a module for each application hosted. At the moment all the ''data'' is in Puppet, mostly in parametrised
2006 Mar 21
5
RoR and Growing Pains
I have persuaded my company to move towards an RoR shop... from a PHP 5 (with in-house-built framework)... so the jump is not terribly bad. I''m REALLY excited actually! My problem: I am overwhelmed with all the setup Loops I have to jump through to get RoR setup. I tried it on my current Apache 1.34 and decided it''d be easier to make the Lighty (1.4.11) jump. So I did. I get
2011 Jan 05
3
WINEPREFIX - some questions
hi there. I hope this is the right place for asking this. After reading through the information about WINEPREFIX in the FAQ and the User Manual, I've still got some questions left: I (hypotetically) want to create a new clean wine-environment, install the winetricks d3dx9 package into it, and then run three applications in it. Would the following commands be the right way to do it? Code:
2006 Feb 02
12
basic ''find'' question
I am struggling to understand the methodology here... I have a find.rhtml <%= start_form_tag :action => ''list2'', :first_name = client %> <%# render :partial => ''form'' %> <p><label for="client_first_name">First name</label><br/> <%= text_field ''client'', ''first_name''
2007 Jan 30
3
Update for thread: Multiple rails apps with Mongrel
Hi, I found another way to throw multiple rails apps under a single domain like: http://www.domain.com/app1 http://www.domain.com/app2 changes here... http://tonyrose023.blogspot.com/2007/01/multiple-rails-apps-with- mongrel.html Tony