similar to: Rails 2.2 + Apache 2.2 + RewriteBase /app = broken

Displaying 20 results from an estimated 10000 matches similar to: "Rails 2.2 + Apache 2.2 + RewriteBase /app = broken"

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
2006 Jun 09
1
RewriteBase w/ Capistrano on a shared host
Hello, I''m on a shared hosting, and tried this as a test: [code] svn co {repo} to /home/{user}/{appname} ln -s {appname}/public/ public_html chmod -R 755 trunk [/code] With the .htaccess file''s RewriteBase directive set to / This setup works great, with no problems at all. Here''s my issue, I''m attempting to use Capistrano, which is setup by default to
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 Jul 21
1
Lighttpd for rails app subdomain apache for the rest
I want to host a rails app at mydomain.com/railsapp. For technical reasons I have to leave mydomain.com on apache. This means that I need to tell apache to proxy only requests for mydomain.com/railsapp to lighttpd. I have deployed in a situation like this before around a year and a half ago but it was a real pain. Lighttpd and rails have matured a lot in the year and a half since I did
2006 Aug 09
0
FastCGI - how to relocate dispatch.fcgi outside of rails app
Howdy. Due to a rather unique hosting setup, I need to relocate the dispatch.fcgifile to a directory outside of /path/to/application/public. The setup looks like: /path/to/content/RailsApp/ -- all application files /path/to/fcgi-bin/RailsApp/ -- dispatch.fcgi I''ve modified dispatch.fcgi to find environment.rb; however, all requests for static files (index.html, javascripts, etc) fail
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
2007 May 17
2
Running SSL Rails app on apache server already in use
SSL and Rails is proving to be somewhat confusing and difficult to get going for me. I already have an HTTPS apache instance running off my domain -- legacy secure web app. (lives at https://www.mydomain.com say) Now I want to develop a new app on the same secured domain with rails (out of a subdir, symlinked or something at https://www.mydomain.com/railsapp ) But how can this work? To get that
2007 Jun 22
0
Mongrel_cluster and rails app in a subdirectory
Info: Apache 2.2 mongrel 1.0.1 mongrel_cluster 0.2.1 I''ve had everything working with a bunch of applications like this when the the rails app is the document root, but a client just asked to move the app to a subdirectory, leaving he rest of their site alone. However, I can''t seem to get it to work. Let''s make the assumption that the Apache document root for the
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
2006 Mar 02
6
Lighttpd and fastcgi problems...
Hi, I''m having difficulty getting ruby running via Lighttpd and fastcgi. My lighttpd.conf reads: server.port = 81 server.pid-file = "/tmp/test_lighttpd.pid" server.modules = ( "mod_redirect", "mod_access", "mod_fastcgi", "mod_accesslog", "mod_simple_vhost" ) server.document-root = "/tmp/mis/public"
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 Jan 12
0
Apache proxy + lighttpd + rails
Hi list, I''m having another problem deploying my Rails application. I set up the servers and apache2 configuration using the excellent essay by Duncan Davidson: http://duncandavidson.com/essay/2006/01/railsonapache However, he describes proxying using a subdomain. What if I want to proxy the requests of www.domain.com/railsapp/<url> to www.domain.com:8888/<url> and reverse
2006 Jun 04
1
Problem with images on Apache and Lighttpd
Hello. Since two days I am trying to set up two rails-apps on a vserver-host so that I can access from work ;-) I tried all I can imagine and what Google/MSN teached me: FastCGI, SCGI, Lighttpd, Apache, Alias, Vhosts,.... But nothing really works. I am on Debian 3.1 with Ruby 1.8.4, Rails 1.1.2, FastCGI 2.4.0, mod_fastcgi 2.4.2, ruby_fcgi 0.8.6, ruby_gems 0.8.11, Apache 2.0.54, Lighttpd
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
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
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:
2006 Feb 06
4
fcgi to run cgi scripts
Dear experts, I have rail site that is running lighttpd and fcgi. I want the default domain to serve the rails application, and I also want to have a virtualhost (bugs.mysite) to resolve to a bugzilla instance. Bugzilla is basically Perl application called through CGI. I tried to find pointers on how to set fcgi to run both rails dispatcher and other cgi scripts in a different virtualhost, and
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