similar to: SSI and CGI output

Displaying 20 results from an estimated 40000 matches similar to: "SSI and CGI output"

2005 Nov 14
0
can't display controllers with lighttpd
Hello, I can see http://192.168.1.5/public/index.html i''ve created a controller as it''s mentionned in the rails bible ("agile web dev.." of M.Thomas) If i try http://192.168.1.5/say i have an error "file not found" I''ve really struggled a lot with this and already asked people at #lighhtpd but i really can''t find the answer. This is
2007 May 26
1
Application working with CGI but not with FastCGI
Hi, I have started rails some week ago. I have deployed my application to production sever which is a shared host with FastCGI enabled. This application is actually Radiant CMS and working fine if I am using dispatch.cgi. But whenever I use dispatch.fcgi the browser takes a lot of time and finally it stoped with blank screen - no error. I have created a simple test application but the same problem
2006 Jan 26
5
ruby and perl
Hello Community, is it possible to include perl scripts into a ruby view (.rhtml)? If yes, the structure has to be /public --> /cgi-bin like in a web application with cgi scripts? Best regards, Mathias -- Posted via http://www.ruby-forum.com/.
2005 Dec 15
4
CGI and FastCGI problems
I can''t my rails app to work with cgi or fastcgi. My app works using webrick. I''ve even hard-coded development mode in environment.rb in order to get most descriptive messages, but the best I get is the following in the apache2 errorlog: [Thu Dec 15 10:38:04 2005] [error] [client x.x.x.x] FastCGI: incomplete headers (35 bytes) received from server
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 Aug 05
0
Rails requests return dispatch.cgi (or .fcgi) file contents
I''m running Apache2 with CGI and FastCGI alternatively. I''ve had a problem that I haven''t been able to find more than a single reference to online. When my .htaccess file has the CGI rewrite rule in effect, my Rails app works. When I change to FastCGI, all I get for Rails requests is the contents of the dispatch.fcgi file. Thinking I may have screwed something up
2006 Mar 04
6
Can''t get Fast CGI working.
Well, after many hours of tinkering and internet browsing I just can''t get Fast CGI to work with Rails and Apache 1.3 on FreeBSD 5.4 Normal CGI works fine, but as soon as I enable FastCGI in .htaccess I get the message: Application error Rails application failed to start properly Here''s what I''ve done so far: - I''ve installed all the necessary software for
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
2006 Jan 30
4
dispatch.cgi Problem
Hey all, I''ve been battling with ruby configurations for days now...trying to get either SCGI or FCGI to work on my Apache 1.3/Linux Red Hat 3 server. I''ve pretty much gave up that battle since either of them will work with me after trying dozens of configurations, but now even when I try to run apps with dispatch.cgi I get this error in my log: "Premature end of
2009 Sep 01
1
[LLVMdev] [llvm-commits] SSI Patch
I tried to make 5 separate patches, but as they are constructive, they had information from the last one. So I will post one by one as it gets on the tree. 1. We had a function isUsedInTerminator that tested if a comparator was used in the terminator of its parent BasicBlock. This is wrong because a comparator can be created in a BasicBlock and used in the terminator of other BasicBlock, and
2005 Jun 24
14
apache2 fastcgi (fcgi) internal server errors, still :(
hi all, I can blab, but here is a sample of my /var/log/apache2/error.log, it has all the info: any ideas what I can do prevent 500s from hitting my users? (besides redirecting them with javascript to the same URL which will be fine on the next request? :) thanks, _alex [Fri Jun 24 12:30:45 2005] [error] [client 172.20.0.175] FastCGI: incomplete headers (0 bytes) received from
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 Mar 07
0
dispatch.cgi errors
I''m trying to get my rails app running in regular cgi before moving to fcgi, but i''m getting premature end of script headers errors in my server log. I''m not sure how to debug this, and i would greatly appreciate some help. Of course when i browse to my app, it says: Rails application failed to start properly" So far i''ve done: I can run the console and
2005 Dec 20
0
ArgumentError in Main#index, weirdness.
Hello, I am very new to ruby on rails so any help would be greatly appreciated, sorry if I don''t include enough useful information as I am unsure what will be needed to help with this error. I am using ruby 1.8.3 on debian "testing" along with lightttpd and fastcgi. I have a controller called "main" as you can see in the error output, and when trying to load the
2005 Dec 17
0
[rails|fcgi bug] Rails app not responding
Hello, I really can't say if it's rails or fastcgi related, but sometimes rails is not responding. See some output from ./script/process/reaper: ./script/process/reaper Restarting [22804] /usr/local/bin/ruby18 /usr/home/www/public/dispatch.fcgi Restarting [22806] /usr/local/bin/ruby18 /usr/home/www/public/dispatch.fcgi Restarting [22807] /usr/local/bin/ruby18
2010 Mar 24
6
dispatch.cgi, dispatch.fcgi, dispatch.rb not present in Public folder
I''m doing a series of ruby on rails tutorials and it got to a part where i need to edit the following files that should be automatically inside the public folder: dispatch.cgi,dispatch.fcgi,dispatch.rb but I have none of these inside my public folder. Is there a reason for this? And how can i change it so they are back The only files in my public folder at present are 404.html 500.html
2006 Jun 15
2
FastCGI can''t find rubygems?
Hi all, I''m trying to use Apache 2.0.52 and FastCGI on Mac OS 10.4.6 and I''m having some trouble. The server starts up fine, but I get the error at the bottom of this post once I make a request to the rails app. I was curious if anyone had an idea as to why it wasn''t working. I have everything installed correctly (rubygems, fastcgi, ruby bindings, etc). I had this
2005 Dec 30
0
XP Apache FastCGI ok if RAILS_ENV="", crash when RAILS_ENV="production"
Dears, Thanks to Demetrius (dema.ruby.com.br, see Taming FastCGI) I''ve a running FastCGI Rails 1.0 environment with : - Win XP "Professional" (just brand name) - Apache 2.0.55 (msi) - Ruby for Apache 1.3.1 - Database backend is now Oracle 8.1 Everything run fine with default environment, I''m confused for switching into ''production''. By default
2008 Jun 19
6
Premature end of script headers; dispatch.cgi - ok
Hi, I''m getting the dreaded "Premature end of script headers: dispatch.cgi" message on my production server. Before I list all the things that I tried, let me mention that I already have a Rails app working on this server (installed by somebody else). First app is accessible at: http://mydomain.com/cwps and it all works. Second app is accessible at: http://mydomain.com/robo
2006 Aug 04
0
Proxy from Apache to local Lighttpd instance
Hello, I''m having a serious problem proxying from Apache (2.2) to local Lighttpd servers. I need this to run Rails instances on www.mysite.com/rails next to the regular part from www.mysite.com. Currently I get a working www.mysite.com/rails for only the first page, controllers do not work. I am quite desperate in getting this to work as it is the only way I can run Rails at our