Displaying 20 results from an estimated 7000 matches similar to: "new project at the same domain"
2008 Sep 02
7
Deploying My Rails App
I have just finished my first Rails application following the
lynda.com tutorial, but I am not sure how to get my application on the
internet.
I have an ftp account through the applemachine server, but from what I
have read, I''m afraid I will not be able to host my application there.
What I am looking for is step by step directions on how to get from a
working Ruby on Rails application
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
2007 Jan 16
4
Subdomain Account Keys Best Practice
Hi all,
I''m thinking of useing sub-domains as account keys, something I''ve played
with previously.
I have accounts and users, fairly standard, except that users can belong to
many accounts, and accounts can have many users.
So I figure I need to have an area on the main domain, that allows users to
view their account memberships and things. Sort of like a dashboard for
each
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 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 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 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 = (
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
2009 Feb 19
5
creating virtual hosts with Mongrel?
Does anyone know how to use Mongrel to create virtual hosts? My
production site will have all kinds of domains pointing to it, and I
also need to figure out how to do subdomains. Rails should react to
the host name, doing a lookup based on the name and pull different
records from the database based on this.
For example, I''d like www.mysite.com to point back to 127.0.0.1:3000,
and the
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 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 Apr 28
6
SSL and url_for
Hey, all!
I''m having a url problem that seems like I''m going to overcomplicate
it if I don''t just ask what I''m doing wrong...
My situation is that I''m testing to see if a visitor is accessing a
controller via SSL, and if not, redirect to the same controller via my
secure address. This really only amounts to replacing http with https,
and so I did the
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?
--
2005 Mar 01
4
PostgreSQL Schema and Rails
Hey all,
I am curious about how Rails interacts with SCHEMAs in PostgreSQL. From
the generate command, is it possible to setup a scaffold for a table not
in the public. schema in PostgreSQL?
As a test, I tried,
./script/generate scaffold Manage.Form Manage.Form
No dice.
Any suggestions?
-Robby
--
/***************************************
* Robby Russell | Owner.Developer.Geek
* PLANET ARGON
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
2009 Feb 26
2
rails spell check
Is ruby on rails supports aspell spell check ?
Is there any links for spell check for rails application ?
All links I gone through are discussing about php but not ruby on
rails?
Plzzzzzzzzzz give me reply ....
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this
2006 Jul 01
3
Where to solicit bids on RoR project?
Where is the best place to solicit bids on a mid-size web app? (budget
~$15,000) What is the appropriate protocol for posting RoR RFPs?
Thanks!
Taylor
--
Posted via http://www.ruby-forum.com/.
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 Apr 28
3
Handling errors - incorrect value entered in url...
I have many "edit" actions in my project. If the url is like
http://localhost/project/3/edit and someone enters
http://localhost/project/3333333/edit the edit action will fails because
it cannot find a project with id of 3333333.
To combat this I am adding to every action like edit:
rescue
redirect_to :action => ''index''
flash[''errors''] =