Displaying 20 results from an estimated 5000 matches similar to: "config Rails .htaccess"
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
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 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:
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
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
2006 May 19
5
more fcgi problems
Finally got fcgi installed with apache. Now whe I click on "About your
application''s environment" on the Rails Welcome page, it simply prints
out the dispatch.fcgi script as shown below. I would appreciate any help
I can get on this. I can provide other infomation if necessary.
#!/usr/local/bin/ruby
#
# You may specify the path to the FastCGI crash log (a log of unhandled
#
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 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
2006 Mar 17
22
godaddy & rails
Sorry to trouble the list with this question... Do many rails developers
run or test rails apps on godaddy hosted servers? Is there any
documentation (outside of what godaddy provides) about uploading and
testing rails apps there? Perhaps someone has written a tutorial? I
googled, but found little to no info about it other than the sparse
godaddy docs.
Thanks!
2006 May 13
7
Recognition Failure
I keep getting a Recognition failed for "/dispatch.fcgi" error. I
search for a solution and the closest I came to finding one was
someone saying "look at the Rewrite in .htaccess and you''ll be able
to figure it out." Well, I can''t! If anyone could help, I would
appreciate it.
Thanks!
Floyd
-------------- next part --------------
An HTML attachment
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 Jan 02
5
Can''t get fcgi working with Apache2 on Mac OS X
I have an application that works fine in development mode under plain
old CGI and I''m trying to get it running under FCGI with multiple hours
of frustration. Lately, I am running dispatch.fcgi standalone from the
command line. It gives me a not very helpful one line error message;
Status: 500 Internal Server Error
The log file produces a not very helpful 2 line message;
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 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
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
12
RoR on Apache2
Hello,
I''ve been going though the "4 Days on Rails" tutorial at
http://rails.homelinux.org/ test-driving ruby on rails using the WEBrick
server without problems. I''m trying to move the app to be seen by
apache2, and am having some troubles. I''ve looked through many guides
online which all say pretty much the same thing, which, I think, I am
doing.
2006 Feb 08
5
debugging 500 Internal Server Error when dispatch.fcgi run?
I''m trying to get my Ruby on Rails application to work under Apache. It
works fine when run as WEBrick ("ruby script/server").
As suggested in
http://www.ocssolutions.com/support/ruby/troubleshooting-ruby-on-rails.php
, I tried running dispatch.fcgi on the command line. When I run it, no
matter where I run it, it outputs:
500 Internal Server Error
Both the #! (shebang)
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
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