Re: ruby-1.8.1 win2k apache2: mod_ruby shuts off network connections
Lothar Scholz <[email protected]>
| Newsgroups | gmane.comp.apache.mod-ruby |
|---|---|
| Organization | Scriptolutions |
| Message-ID | <[email protected]> |
Hello Kaspar, Tuesday, December 23, 2003, 6:05:31 PM, you wrote: KS> Hello Lothar, KS> Ok, here goes (hoping that by environment you mean CGI environment ;) ): Hmm. I mean environment variables. DOCUMENT_ROOT -->> C:/Program Files/Apache Group/Apache2/htdocs KS> GATEWAY_INTERFACE --> CGI-Ruby/1.1 HTTP_ACCEPT -->> KS> text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,video/x-mng,image/png,image/jpeg,image/gif;q=0.2,*/*;q=0.1 KS> HTTP_ACCEPT_CHARSET --> ISO-8859-1,utf-8;q=0.7,*;q=0.7 KS> HTTP_ACCEPT_ENCODING --> gzip,deflate KS> HTTP_ACCEPT_LANGUAGE --> en-us,en;q=0.5 HTTP_CONNECTION -->> keep-alive HTTP_HOST -->> localhost HTTP_KEEP_ALIVE -->> 300 HTTP_USER_AGENT -->> Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; KS> rv:1.5) Gecko/20031007 Firebird/0.7 MOD_RUBY -->> mod_ruby/1.1.1 PATH -->> /bin:/usr/bin:/usr/ucb:/usr/bsd:/usr/local/bin REMOTE_ADDR -->> 127.0.0.1 REMOTE_PORT -->> 1092 REQUEST_METHOD -->> GET REQUEST_URI -->> /cgi-bin/pretty.rbx SCRIPT_FILENAME -->> C:/Program Files/Apache SCRIPT_FILENAME -->> Group/Apache2/cgi-bin/pretty.rbx SCRIPT_NAME -->> /cgi-bin/pretty.rbx SERVER_ADDR -->> 127.0.0.1 SERVER_ADMIN -->> [email protected] SERVER_NAME -->> localhost SERVER_PORT -->> 80 SERVER_PROTOCOL -->> HTTP/1.1 SERVER_SIGNATURE -->> <address>Apache/2.0.44 (Win32) PHP/4.3.3 KS> mod_ruby/1.1.1 Server at localhost Port 80</address> SERVER_SOFTWARE -->> Apache/2.0.44 (Win32) PHP/4.3.3 mod_ruby/1.1.1 KS> kaspar - code philosopher Okay, i know that windows can't initialize the winsock system if there is no "windir=C:\WINDOWS" variable defined. At least under Win2000. Please try to add this. It's possible to define environment variables in the apache config, but i don't know if this is only for external CGI's or also for the server. I find it strange that your PATH looks like a UNIX path, you are using cygwin right ? -- Best regards, Lothar mailto:[email protected]