Displaying 20 results from an estimated 10000 matches similar to: "RewriteBase w/ Capistrano on a shared host"
2006 Apr 10
1
Capistrano/SwitchTower "current" dir deployment question
All,
I have successfully executed the "deploy" task in Capistrano/Switchtower
to establish a symbolic link named "current" which points to the current
version of my app. on my remote server.
My app. was already deployed to the existing Rails root directory (call
it "appname") though.
I have Apache fronting my app. through a virtual host whose doc. root is
itself
2005 Mar 05
1
How to provide Rails hosting on Apache/FastCGI enviroment?
Hi, folks.
I am running a small Web Hosting service personally.
I hope to provide rails service on apache/fcgi to my hosting
users. So, I''ve been testing to setup rails application, and
there was no problem. But with Rails version 0.10.0 release,
previous way doesn''t work.
Following is a scenario which worked well before, but now beats me.
1. Eric has his own rails directory
2009 Jun 17
2
Using a cgi perl program?
I have a cgi/perl program that I want to use on the same server as my
RoR app and I keep getting:
The page you were looking for doesn''t exist.
You may have mistyped the address or the page may have moved.
I load the program to the cgi-bin directory in its own folder /cgi-bin/
fump/
In the /public folder of my app I have the following .htaccess file:
# General Apache options
2012 Oct 13
0
AuthenticationFailed in Capistrano
Hello friends!
I am getting following error while using
$ cap deplot:setup
* executing `deploy:setup''
* executing "mkdir -p ~/public_html/simak-in
~/public_html/simak-in/releases ~/public_html/simak-in/shared
~/public_html/simak-in/shared/system ~/public_html/simak-in/shared/log
~/public_html/simak-in/shared/pids"
servers: ["simak-in"]
connection failed for:
2009 Feb 27
0
Rails 2.2 + Apache 2.2 + RewriteBase /app = broken
I''m trying to run a rails app under an alias like this:
Alias /app /var/www/railsapp/public
RewriteBase /app
...
I am using the same configuration that has worked for the app under
Rails 1, but since I upgraded it to the latest version I get:
----
The page you were looking for doesn''t exist.
You may have mistyped the address or the page may have moved.
----
In the
2006 Apr 01
4
Saving images in shared directory w/ Capistrano/SVN?
Hi all,
I''m using Capistrano and SVN to version control and deploy, but I''m not
sure what to do about my images directory. I use file_column and
RMagick to save images to the disk under a model called "Image", and
they''re saved in public/image/... etc.
Each time I deploy a new version, my image folder doesn''t exist anymore.
I don''t want
2006 Aug 04
0
Need to set production env route for images & stylesheets?
When manually editing my files for production deployment do I need to
edit .htaccess or routes.rb to include the images and stylesheets
directories so they''re still found like in my local development
environment?
I''m FTP''ing my "appname" directory to my hosting service to deploy.
Unfortunately they don''t allow ssh/capistrano access and have no
2006 May 26
4
Jamis, problem w/Capistrano
Jamis,
I''ve spent hours trying to get Capistrano working, to no avail. I''m
hosting over at www.railsplayground.com, and here''s their instructions
I''ve been following:
http://tinyurl.com/hyo93
I can''t get past step 7. When I execute "rake remote:setup", I get a
rake aborted! message. When I do a "rake --tasks", I get only a
2006 Jul 31
0
Can''t get into production mode!
Hi all,
I''m deploying my first rails app. I''m using lighty and fcgi, and cannot
get the app to go into production mode. I deploy via Capistrano.
When I dump ENV, RAILS_ENV is still ''development''. Is something
overriding the lighty config?
Here is the lighty config:
var.appname = "mcalogin"
server.port = 1411
server.modules =
2006 Jul 26
0
capistrano CLI automation - using capistrano as a library
Hi all,
I''m trying to integrate Capistrano (thanks Jamis and DHH for such a lovely
piece of software) into an application I''m writing.
I can''t figure out, though, how to get output from capistrano when it''s used
through the CLI or configuration class, however. I see that it implements a
logger (Logger) and I see that starting on line 12 of the included
2006 Aug 13
3
Rewrite problem or routing issue?
I''m not able to access anything in public, everything seems to be going
through the rails router. As a result, I can''t get to stylesheets or
javascript.
I''m not quite clear if this is a .htaccess problem, or a router problem.
I eliminated the "catchall" route, so the last route is
map.connect '':controller/:action/:id''
My .htaccess file
2006 Aug 13
1
Rewrite problem?
I''m not able to access anything in public, everything seems to be going
through the rails router. As a result, I can''t get to stylesheets or
javascript.
I''m not quite clear if this is a .htaccess problem, or a router problem.
I eliminated the "catchall" route, so the last route is
map.connect '':controller/:action/:id''
My .htaccess file
2006 Jun 28
0
Capistrano Command Worries
Hey all,
I have a problem that I cannot wrap my head around. I have a
capistrano task to kill my lighttpd process and restart it. Here is
the subtask, stop_lighttpd, that fails:
task :stop_lighttpd, :roles => :web do
run "kill -9 `ps aux | grep lighttpd | grep #{deploy_to} | awk
''{print $2}''` > /dev/null"
end
I know for a fact that when stop_lighttp is
2006 Jun 07
7
Tunneling in capistrano twice
Hi there,
The default recipe expects you to be able to access your web server
directly from your local machine.
On our web server, for security purposes, it is only possible to ssh
to it through one particular ip (which is also a remote machine.)
The capistrano source is so compact and tidy it looks very hackable.
But rather than messing around I thought I''d ask first if anyone else
2006 May 24
0
capistrano on windows
I''m trying to deploy my app to the production server (on dreamhost) from a
windows box. however, all I get is "rake aborted" without any further error
messages. I have no idea where to even start debgging this. I''ve checked and
re-checked the details in deploy.rb but otherwise I''m stumped. any ideas
anyone?
thanks
al
output from command line:
2007 Jun 06
0
Capistrano: Port in SVN
. . .
* executing "sudo chmod -R g+w /usr/local/svn/project_name"
servers: ["project_name.com"]
[project_name.com] executing command
command finished
* executing task svn_import
Adding branches and tags
ssh: connect to host project_name.com port 22: Connection refused
svn: Connection closed unexpectedly
Importing application.
ssh: connect to host
2007 Jan 12
1
capistrano setup bails with RegexpErr on show_tasks
I am new to RoR, but I have had RoR running with Capistrano on a
different box. However I''m installing a fresh copy now and am finding
constant regex errors from the standard.rb file while attempting to
"show_tasks". As this is a new installation, everything is up-to-date.
Here''s the environment:
FreeBSD 6.2-RC2
ruby 1.8.5
gem 0.9.0
rake 0.7.1
net-ssh 1.0.10, 1.0.9
2007 May 21
1
Deploying in subdir w/ Apache and Mongrel
Hi all,
I have been searching for the past 2 or 3 days on how to deploy my
rails apps within subdirectories (ie: http://www.domain.com/myapp or
even domain.com/rails/myapp) and have found a few tutorials, but all
have left something out it seems. I would like to do this rather than
http://myapp.domain.com/ since it will be usd internally and I have no
real direct access to dns to make the
2007 Dec 21
2
config Rails .htaccess
Hello, newbie here please help
I have developed my Rails site under www.mydomain.com/home
Now I want to map it to use www.mydomain.com, what should i change to
this .htaccess file
=============== Content of my .htaccess file under public directory
============
# General Apache options
AddHandler fastcgi-script .fcgi
AddHandler cgi-script .cgi
Options +FollowSymLinks +ExecCGI
# If you
2007 Jul 29
3
capistrano problems
I installed capistrano and have tried several things. Can''t seem to get
it working.
This is what i am getting.
C:\ruby\radrails\modernfossil>cap deploy
* executing `deploy''
* executing `deploy:update''
** transaction: start
* executing `deploy:update_code''
svn: Can''t create tunnel: The system cannot find the file specified.
***