[prev in list] [next in list] [prev in thread] [next in thread]
List: webmin-devel
Subject: Re: [webmin-devel] Use of external binary from module
From: Udo =?iso-8859-1?q?G=FCngerich?= <u.guengerich () gmx ! de>
Date: 2005-02-13 21:37:37
Message-ID: 200502132237.38078.u.guengerich () gmx ! de
[Download RAW message or body]
> > However if I run the same index.cgi from the command like (perl
> > index.cgi) the external application is executed, output is in the array
> > and I can crunch it.
> >
> > Any pointers for me?
It seems that the command line user has a different environment than the
webserver user (in case they really are different users). Two things that I
could imagine:
Either the current working directory matters and is different when executed by
the webserver (reference to the already-been-pointed-to dot) or the rights
are different. Have you tried to execute pwd within the script?
Hope to have helped,
kind regards,
Udo Guengerich
--
Udo Guengerich
Grabenstr. 21
35396 Giessen
t: 0177 7495927
@: u.guengerich@gmx.de
w: http://www.ugue.gmxhome.de
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
-
Forwarded by the Webmin development list at webmin-devel@webmin.com
To remove yourself from this list, go to
http://lists.sourceforge.net/lists/listinfo/webadmin-devel
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic