I have used the Windows installer for FastCGI from RubyForge. I have
that LoadModule and AddHandler in my conf file per the install file. We
I navigate to 127.0.0.1/test.fcgi I get the script printed out on the
screen and not its output.
I am using this script:
#!ruby
require 'cgi'
require 'fcgi'
FCGI.each_cgi do |cgi|
content = ''
env = []
cgi.env_table.each do |k,v|
env << [k,v]
end
env.sort!
env.each do |k,v|
content << %Q(#{k} => #{v}<br>\n)
end
cgi.out{content}
end
I have used the Windows installer for FastCGI from RubyForge. I have
that LoadModule and AddHandler in my conf file per the install file. We
I navigate to 127.0.0.1/test.fcgi I get the script printed out on the
screen and not its output.
'fcgi' does not work on windows. 'fcgi' relies on the names for the
socket error codes, which are different on windows. Error::XXXX error
codes are dynamically generated from the operating system.
'fcgi' does not work on windows. 'fcgi' relies on the names for the
socket error codes, which are different on windows. Error::XXXX
error codes are dynamically generated from the operating system.
This is a common complaint. I'll take a look at it tonight.