Re: ruby-1.8.1 win2k apache2: mod_ruby shuts off network connections

Kaspar Schiess <[email protected]>
Newsgroups gmane.comp.apache.mod-ruby
Message-ID <[email protected]>
Hello Lothar,

 > Okay, i know that windows can't initialize the winsock system if
 > there is no "windir=C:\WINDOWS" variable defined. At least under
 > Win2000.

Tried that out; looked very promising. I am sorry, but this does not 
work: I have set the windir variable in my system settings. I even 
undefined it just for kicks and was still able to access the net from 
the console, and with it I wasn't from within Apache.

My path looks weird, agreed: That must be mod_ruby's pseudo CGI 
environment, mangled from the real variables. I can assure you that my 
real path looks ok (ie: long string, separated by ';' ).

I stumbled upon what seemed to be the solution (<spoiler>but it 
wasn't</spoiler>):

--- Apache manual (Windows section)
| Never grant any network privileges to the LocalSystem account! If you 
| need Apache to be able to access network resources, create a separate 
| account for Apache as noted below.
---

So I tried all that too, including running apache _from the console_. So 
I am pretty much out of ideas again.

Do you think that the fact that I am not able to compile mod_ruby under 
win2k myself means bad luck ? That's the feeling I am getting right now.

Have you managed to run mod_ruby under windows ? How ? (Compiler or 
location of binaries)

Thank you for your help (which was really clever, even if it did not work),

kaspar - code philosopher
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.