search for: app2

Displaying 20 results from an estimated 71 matches for "app2".

Did you mean: app
2006 Nov 04
2
[ Rails ] Multiple rails apps on 1 host
Team, I''m trying to figure out how to run 2 rails apps on one host. I ran an experiment: cd /tmp/ rails app1 rails app2 cd app1 script/server rails put a copy of lighttpd.conf in /tmp/app1/config/ and then started lighttpd http://localhost:3000 gave me the splash page. I shutdown the server I added something to /tmp/app1/config/lighttpd.conf server.modules = ( "mod_rewrite", "mod_access...
2006 Dec 21
4
my apache 2.2 conf
...tion/app1/public <Directory /production/app1/public> Allow from .example.com RewriteEngine on RewriteRule ^/?$ balancer://app1%{REQUEST_URI} [P,L] RewriteCond %{REQUEST_FILENAME} !-f RewriteRule . balancer://app1%{REQUEST_URI} [P,L] </Directory> # End APP1 # APP2 <Proxy balancer://app2> BalancerMember http://127.0.0.1:11010 </Proxy> Alias /app2 /dev/app2/public <Directory /dev/app2/public> Allow from .example.com RewriteEngine on RewriteRule ^/?$ balancer://app2%{REQUEST_URI} [P,L] RewriteCond %{REQUEST_FILENAM...
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 execute "rake db:migrate" so that 3 tables corresponding to 3 models will get created in databa...
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 http://app1.com:8000 BalancerMember http://app1.com:8001 BalancerMember http://app1....
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 on the server machine. sshd (on the server machine) forwards the connection to...
2007 May 02
12
2 Rails Applications sharing same login system
Hi i have 2 seperate rails applications. They both share the same login system. If someone is logged into application 1 then they should be able to start using application 2 without logging in again. I am unsure how to achieve this. I''ve a feeling i can somehow do it by telling both the apps to share a cookie, but i''m not sure. Does anyone know how to do this or has anyone
2006 Sep 07
21
Multiple rails apps with Mongrel
...hen have each Mongrel instance (or cluster) set to the corresponding port (3000, 3100). [If this theory is incorrect, please let me know!] However, what I''m trying to acheive is to host them all under the same domain. In othe words, I would like to have www.domain.com/app1 www.domain.com/app2 I don''t know how to acheive this. Do I make each of them Virtual Hosts, each with their own ProxyPass? (But I haven''t been able to find any simple documentation online explaining how to set a Virtual Host at www.domain.com/app1 instead of app1.domain.com. I know fairly little abo...
2009 Mar 02
5
new project at the same domain
Hi, just a quick question, is there a way how to run two apps on the same domain? Both for testing purposes. Thank you. P. -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to
2013 Mar 08
5
hiera / create_resources / define
...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 ... config100: Name: app100 WorkingDir: /var/app100 manifest: class app { create_resources(app::virtualApps, hiera(''configs'')) } define app::virtualApps() { file {"/etc/apps/$app.conf": owner => root,...
2006 Jul 23
1
Mongrel, Apache 2.2, Rails question. HELP!
...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: Redirect /app1 http://www.mydomain.com/app1/ ProxyPass /app1/ http://localhost:3000/ ProxyPassReverse /app1/ http://localhost:3000/ Redirect /app2 http://www.mydomain.com/app2/ ProxyPass /app2/ http://localhost:3001/ ProxyPassReverse /app2/ http://localhost:3001/ ProxyPreserveHost On Everything seems to work fine from my browser when I enter things like: www.mydomain.com/app1 www.mydomain.com/app1/ www.mydomain.com/app1/controller/action...
2014 Mar 13
1
Any help Address 0xfffffffe out of bounds in app_confbridge.casterisk-11.5.1 using confbridge.conf
Address 0xfffffffe out of bounds why and how to solve.MyConfbridgeCount(conferencenumber,variablename )return total number of user in conference given by conferencenumber otherwise zero.At runtime using MyConfbridgeCount(4000,count ).now app2: MyConfbridgeCount will call function count_exec(struct ast_channel *chan, const char *data).But at compile time char * data cause core dumped. Asterisk-11.5.1 Centos6 app_confbrige.c confbridge.conf ===================================================== Task: Using Dailplan user want to retrive...
2015 Jul 13
5
[LLVMdev] Poor register allocations vs gcc
...int flop(int a, char ** c){ a += 71; int b = 0; if (a == 56){ b = 69; b += ci(a); } puts("ok"); return a + b; } -------------------------------------- Compiled that way (using the versions I downloaded and eventually compiled) : clang_custom -std=c11 -O3 -march=native -c app2.c -S against gcc: gcc_custom -std=c11 -O3 -march=native -c app2.c -S Versions (latest for each, downloaded just a few days ago): gcc : 5.1 clang/llvm: clang+llvm-3.6.1-x86_64-apple-darwin Host: osx yosemite. The assembly (cut to the essential): LLVM: pushq %rbp movq %rsp, %rbp pushq %r14 p...
2006 Jun 21
3
multiple apps one virtual host one domain
...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 rewrite seems to work since I''m able to capture app1 and redirecting to the proper folder. But I''m stuck after that. Has anyone manage to have this kind of configuration working and if so how? Tia...
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? --
2014 Mar 12
0
module load Crash Asterisk 11.5.1 app_confbridge.c
...9;6050' => 1. Verbose(3,"testMyConfbridgeCount") [pbx_config] 2. MyConfbridgeCount(4000,count) [pbx_config] 3. verbose(3,"== ${count} ====") [pbx_config] ====================================================================== issue:Currently asterisk core dumped as soon as app2 load . I want to load module as after join confbridge by any user , using MyConfbridgeCount() to know no of conference user count . file: app/app_confbrige.c ========================================================================== partial code of app_confbridge.c: =============================...
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
2015 Jul 13
2
[LLVMdev] Poor register allocations vs gcc
...;<br />šššššššššputs("ok");<br />šššššššššreturn a + b;<br />š}<br />š--------------------------------------<br /><br />šCompiled that way (using the versions I downloaded and eventually compiled) :<br />šclang_custom -std=c11 -O3 -march=native -c app2.c -S<br /><br />šagainst gcc:<br />šgcc_custom -std=c11 -O3 -march=native -c app2.c -S<br /><br />šVersions (latest for each, downloaded just a few days ago):<br />šgcc : 5.1<br />šclang/llvm: clang+llvm-3.6.1-x86_64-apple-darwin<br /><br />šHos...
2006 Aug 25
9
Multi apps in one Mongrel instance
Hi, It would be nice if Mongrel would do multiapps in one Mongrel instance. For the moment, I have one Mongrel for each app of my server, each on a different port. For example: http://server:8080/app1 http://server:8080/app2 instead of: http://server:8080/ http://server:8081/ Is that planned? Thanks. -jec -- JeSC - Software et Consulting Jean-Eric Cuendet Ing?nieur HES en t?l?communications 1168 Villars-sous-Yens Web : http://jesc.ch Tel : +41 21 800 3343 Mobile : +41 76 222 3343 --------------...
2009 May 13
8
Sharing sessions across rails apps 2.3.2
I''ve done this in 2.2, but cannot figure it out for 2.3.2: Basically, I want to be able to share session data across a couple of apps. The way I did this in 2.2 was to create a view called sessions in the second app that read the sessions table of the first app. This done, I could tell them both to use active record sessions, and, lo! I had a shared session. Once I''d written a
2006 Aug 18
3
Lighttpd Conf Help - Multiple Domains Multiple Apps
...t;, "bin-path" => "/path/to/rails/app1/public/dispatch.fcgi", "bin-environment" => ( "RAILS_ENV" => "development" ) ) ) ) } $HTTP["host"] =~ "(^|\.)mysite2\.com$" { server.document-root = "/path/to/rails/app2" server.errorlog = "/var/log/lighttpd/mysite2.com/error.log" accesslog.filename = "/var/log/lighttpd/mysite2.com/lighttpd.access.log" server.error-handler-404 = "/e404.html" #compress.cache-dir = "/tmp/cache" #fastcgi.server = ( ".fcgi&qu...