delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/07/15/09:50:51

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
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 <pechtcha AT cs DOT nyu DOT edu>
Reply-To: cygwin AT cygwin DOT com
To: "Dirk Fokken, Cross Development" <dirk DOT fokken AT cross-development DOT de>
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: <Pine.GSO.4.58.0407150948200.29800@slinky.cs.nyu.edu>
References: <20040715_134408_049695 DOT dirk DOT fokken AT cross-development DOT de>
MIME-Version: 1.0
X-Scanned-By: MIMEDefang 2.39

<http://cygwin.com/acronyms/#PCYMTWLL>.  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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019