similar to: RewriteRule with scgi on Apache 2

Displaying 20 results from an estimated 5000 matches similar to: "RewriteRule with scgi on Apache 2"

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 22
1
Urgent help needed
Hi, I''m on Apache 2.0.54, Linux Fedora Core 2 with Plesk. I installed a Rails application previously on the box using SCGI and it works fine; even now. I''m trying to get a second app online and it fails. Same config, except for the SCGI runner ports of course. It looks like the error comes from the fact that the mod_rewrite loops. WHY ??? BTW : I have to put this app
2006 Jul 20
5
Apache 2.2, Mongrel and #caches_page
Hi ! I''m no expect when it comes time to configure Apache. I just enabled page caching in my Rails app, and am now looking at making Apache serve the cached files instead of calling into Rails. I know Mongrel is able to serve cached files if it finds them, but I''d like Apache to do it. Looking at .htaccess, there is this section: RewriteEngine On RewriteRule ^$ index.html
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
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
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 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
2008 Jun 16
3
Apache rewrites with mongrel
I?m knew to rewrites on apache in combination with mongrelcluster. It?s urgend for me, because the server has an loadaverage about 10 :-((((( Ok so I?m using 3 mongrel-server on an mongrelcluster. The Loadbalancer ist apache I think, that my rewrites are not correct. Please can anybody check my rewrites ? That?s in my /etc/apache2/conf.d/rails.proxy_cluster.conf <Proxy
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 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
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
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
2010 Apr 03
0
Deployment problem with apache + fastcgi
Hi! I''m from Russia. It''s my first post in this forum. Execuse for my bad language, but i hope you''re help me! I try to deploy rails app on apache + fastcgi hosting. .htaccess file contents: AddHandler fcgid-script .fcgi AddHandler cgi-script .cgi Options +FollowSymLinks +ExecCGI RewriteEngine On RewriteRule ^$ index.html [QSA] RewriteRule ^([^.]+)$ $1.html [QSA]
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
2006 Jun 02
4
RoR on Apache not working
Hi I''m a RoR newbie, in fact i''ve been using it for less than 24 hours, but I''m not an internet/pc/apache/developement newbie so I expected this to go much easier :) Ok, here it goes. I''ve been trying to get RoR working with apache both on a RH server and after i didn;t managed there I tried on my machine, an windows XP/Apache2 machine. I don''t like
2006 Aug 03
0
Can''t set up rails: dispatch.cgi failed
Hi, I''m trying to setup RoR on OpenBSD 3.9 with Ruby 1.8.4 and Apache 1.3. I''ve setup Rails to run as a Virtual Host, and I can view the "Welcome Aboard" page. When I try to access http://<server>/category/ though, I get an "Application error...Rails application failed to start properly" message. Apache.log has this error: [error] (2)No such file or
2007 Mar 29
0
Resolved problem with Apache Load Balancer Manager
Had to make a couple of changes to the config from the mongrel site to get the load balancer manager working: changed # Redirect all non-static requests to cluster RewriteCond %{DOCUMENT_ROOT}/%{REQUEST_FILENAME} !-f RewriteRule ^/(.*)$ balancer://mongrel_cluster%{REQUEST_URI} [P,QSA,L] to # Redirect all non-static requests to cluster RewriteCond %{DOCUMENT_ROOT}/%{REQUEST_FILENAME}
2006 Nov 09
0
Apache configuration
i TRY TO CONFIGURE APACHE FOR RUBY ON RAILS ON UNIX. BY THE FOLLOWING WAYl: Install FastCGI 1. wget http://www.fastcgi.com/dist/fcgi-2.4.0.tar.gz 2. gunzip fcgi-2.4.0.tar.gz 3. tar -xvf fcgi-2.4.0.tar 4. cd fcgi-2.4.0 5. ./configure 6. make 7. make install 8. cd ../ Install mod_fcgid 1. cd ~ 2. wget http://fastcgi.coremail.cn/mod_fcgid.1.09.tar.gz 3. gunzip
2007 Feb 28
0
RoR&Apache - htaccess rewrite directories fail?
On my server I have a directory at the root, /rails/ which contains other directories with rails projects. In my httpd.conf I have RewriteEngine On RewriteLog "logs/rewrite.log" RewriteLogLevel 9 RewriteCond %{REQUEST_URI} !^/rails/([^/]+)/public/ RewriteRule ^/rails/([^/]+)/?(.*)$ /rails/$1/public/$2 [QSA,L] So with a GET /rails/test/ you''d get sent to /rails/test/public/ and
2006 Feb 16
4
Lost while trying to deploy rails app on apache
I need to graft some rails apps onto a website running apache 1.3 and I must be missing something very obvious because I cannot get things working properly. Here is what I need: 1) The server must be running apache 1.3. A very large body of PHP content is currently vended by the server through 5 vhosts and I have neither the time nor resources to replace apache1 with apache2 or lighttpd. Maybe