Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com X-Authentication-Warning: slinky.cs.nyu.edu: pechtcha owned process doing -bs Date: Thu, 15 Jul 2004 09:50:36 -0400 (EDT) From: Igor Pechtchanski Reply-To: cygwin AT cygwin DOT com To: "Dirk Fokken, Cross Development" cc: cygwin AT cygwin DOT com Subject: Re: Problem: Perl with connections using LWP Module In-Reply-To: <20040715_134408_049695.dirk.fokken@cross-development.de> Message-ID: References: <20040715_134408_049695 DOT dirk DOT fokken AT cross-development DOT de> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Scanned-By: MIMEDefang 2.39 . Thanks. On Thu, 15 Jul 2004, Dirk Fokken, Cross Development wrote: > In an attempt to run a perl based web-application on Windows using > Cygwin with Apache, I experience difficulties requesting content using > the LWP module. > > The overall installation of Cygwin and the additional modules seems to > be fine, since the call of the specific cgi-script from the command line > works. > > Calling the cgi-script from within the browser I receive the following > message: > > "Can't connect to www.crossdesktop.de:80 (Bad protocol 'tcp')" > > In my opinion, the difference between a call from the command line and a > call by the browser may be the uid:gid being set differently. Therefore, > I suppose a rights problem to appear here. > > In order to make sure user and group are set equally, in apache's > httpd.conf I set user and group to the user and group I am in > interactive mode. Unfortunately, the problem remains. > > As principally, the whole system environment seems to be setup working, > I come to ask this question in the round. > > Can someone help? Does someone have a similar experience? > > Many thanks, > Dirk Please start here: > Problem reports: http://cygwin.com/problems.html In particular, please pay extra attention to the part that requests you to *attach* (as a text attachment) your "cygcheck -svr" output. If I had to guess, it looks like your /etc/protocols file is not visible to apache. I may be totally off, of course. Igor -- http://cs.nyu.edu/~pechtcha/ |\ _,,,---,,_ pechtcha AT cs DOT nyu DOT edu ZZZzz /,`.-'`' -. ;-;;,_ igor AT watson DOT ibm DOT com |,4- ) )-,_. ,\ ( `'-' Igor Pechtchanski, Ph.D. '---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow! "I have since come to realize that being between your mentor and his route to the bathroom is a major career booster." -- Patrick Naughton -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/