Displaying 20 results from an estimated 1000 matches similar to: "How to provide Rails hosting on Apache/FastCGI enviroment?"
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
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
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
2005 Dec 30
2
scgi apache routes help needed
I''m trying to get an application running in a sub directory of a site using
apache and scgi. The application runs fine with webrick.
I have a site. Let''s call it "mysite.org". There is a variety of content on
that site.
I would like to add a rails application to that site. Let''s call the
application "myapp".
So we will have urls of the form
2006 Feb 01
3
Configure Apache 2.0.55 and FastCGI
I''m installing a Rails App under Apache 2.0.55 with FastCGI.
I have this config under httpd.conf
------------------------
LoadModule fastcgi_module modules/mod_fastcgi.dll
...
Alias /fatturails/ "C:/Programmi/Apache
Group/Apache2/htdocs/fatturails/public/"
<Directory "C:/Programmi/Apache Group/Apache2/htdocs/fatturails/public">
AddHandler fastcgi-script .fcgi
2008 Jul 21
0
.htaccess exceptions
Hi I''m a .php coder trying to allow a Ruby on Rails website to access
some .php scripts. I notice everything get redirected with Ruby on Rails
in the .htaccess file.
How do I stop Rails from redirecting my .php scripts which would be in
another directory.
Cheers
(.htaccess is below)
# General Apache options
AddHandler fastcgi-script .fcgi
AddHandler cgi-script .cgi
Options
2011 Dec 01
0
Apache conf.d file for omega?
On 28/10/11 16:30, xapian-discuss-request at lists.xapian.org wrote:
> Date: Thu, 27 Oct 2011 16:29:26 +0100
> From: James Aylett <james-xapian at tartarus.org>
> Subject: Re: [Xapian-discuss] Apache conf.d file for omega?
> To: Charles <xapian at catcons.co.uk>
> Cc: Xapian Discussion <xapian-discuss at lists.xapian.org>
> Message-ID:
2005 Oct 10
1
Need help from Apache mod_rewrite crew !
Hi !
Has anyone got any tips/tricks on running a Productized Rails app on
DreamHost ?
Specifically, I get this in my error.log:
-----------
[Mon Oct 10 11:39:46 2005] [error] [client 69.70.225.69]
mod_rewrite: maximum number of internal redirects reached. Assuming
configuration error. Use ''RewriteOptions MaxRedirects'' to increase the
limit if neccessary.
-----------
As
2006 Feb 06
3
rails + apache question
Hi all,
I''ve read the symlinks wiki and some other wiki pages relating to Apache
but I''m just not "getting it".
Mandrake Linux (kernel 2.6.8)
Apache 1.3.3
DocumentRoot is "/home/httpd/html"
Application is physically located in
"/home/httpd/applications/foo-1.0.0"
I would like the URL to be "http://host.domain.com/foo"
I''ve
2007 Jun 15
4
404 Error in any controller/action on Media Temple
Hi everybody.
I''m a newbie on RoR. I have some experiencie developing in PHP or Java,
but I''m just starting with RoR.
A few days ago I signed up to the (gs) Grid Service on Media Temple.
This is my very first experience deplying RoR on a production
enviroment. Until now I just used the WebRick server on developement.
Well, the problem I''m having is that after
2007 Jul 17
3
.htaccess problems..... Using Drupal
Hi All;
I am trying out the web software from www.drupal.org and I have it
Installed to a point ok in my www.werren.net domains.
Every time I try to use the .htaccess file in the root directory
With even one command showing I get a server mis-config error on the site.
The default .htaccess is shown below
I use Cent OS 4.7 using the Blue Quartz installer from Nuonce Networks
2010 Mar 21
4
Deploying my rails app to GoDaddy
So I''ve written my first real-world RoR app and I''m now getting ready
to deploy it. Unfortunately, my client decided to use GoDaddy as the
hosting provider and based on what I''ve seen so far from the web, it''s
not really the smoothest or ideal hosting for RoR apps. There were
several posts here that I tried to follow but they were kinda old
(2008, 2007). Most of
2006 Jun 15
6
Error in dispatch.fcgi...
Yesterday, our of nothing my server went down...
Rails application failed to start properly
Imediately i started checking my logs and found quickly that something
was wrong with the dispatch.fcgi or its function.
I use FCGI, and it had been working perfectly with Apache 2.0.55, MySQL
5.0, Ruby 1.8.2 and Rails 1.1.2.
What really got me wondering was that I did nothing. One day it worked
2006 Jun 20
1
typo proplem here? what may be wrong?
Hi,
I am following the tutorial on the hostingrails site but running into
problems. I am pretty sure my files match everything that is in the
tutorials.
here is whats in my production.log file:
ActiveRecord::StatementInvalid (Mysql::Error: Table
''hrkoloa_typo.triggers'' doesn''t exist: SELECT * FROM triggers WHERE
(due_at <= ''2006-06-19 22:37:23'')
2007 Feb 07
0
Trailing Slash Problems with Deployment on Shared Hosting Using SymLinks
Hi,
I''ve been trying to deploy a simple Rails app for a friend on a shared
hosting account. I was able to get the Rails application running, but
the URL need to end in a slash or else it would result in a 400 Bad
Request error. After searching through the Rails I wiki found a page
on the exact same error (http://wiki.rubyonrails.com/rails/show/Non
+VHost+Installation, it''s
2006 Mar 02
2
SwitchTower: why symlink releases/under -> current?
Hi,
I have a trouble with deploying my ordinary rails application(myapp).
When I execute ''rake deploy'',
[...]
command finished
* executing task symlink
* executing "ls -x1 /var/www/myapp/releases"
servers: ["app1.olalog.com"]
[app1.olalog.com] executing command
command finished
* executing "ln -nfs /var/www/myapp/releases/under
2006 May 11
5
Problem running application in cpanel
Hi,
I installed rails following the instruccions from
http://wiki.rubyonrails.com/rails/pages/HowtoInstallAndRunRubyOnRailsOnCpanel
but when i try see the application i have a 500 Internal Server Error, this
is only with apache because i can run with webrick
Please i am desesperate
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
2009 Jan 30
1
fcgi/suexec problem
I have a number of vhosts configured with SuexecUserGroup
to run the scripts with limited privileges and the dept. web-site on one
of them. The problem is the webmaster can't read online context help
which comes with the cms the site is using. Most help files (>2K) have
*.php.html extension. *.php and *.html scripts both work as I suspect
they should, but when it comes to *.php.html suexec
2006 Feb 14
5
problem with apache
Hi!
I don''t know much about linux and apache configuration, so we''re using
cpanel on our server to manage accounts etc.
I was trying to install ror (according to this page:
http://wiki.rubyonrails.org/rails/pages/HowtoInstallAndRunRubyOnRailsOnCpanel)
on our server, but it didn''t worked.
If i enter "server.com/rails" i get "/testapp/index.html was not