question on security

Charles Curley charlescurley at charlescurley.com
Sat Nov 25 19:19:38 UTC 2006


On Sat, Nov 25, 2006 at 11:01:46AM -0800, Chris wrote:
> Hi,
> 
> I found that I cannot make my perl script work: it uses LWP or
> simpleget.pl to retrieve a web page, then process on the data
> retrieved. This script can work fine in command line, but if I run
> it as a CGI script, no data can be retrieved.
> 
> I guess that there is some kind of restrictions on this in the
> security machanism, but I am not sure. Could anyone shed some light
> on this for me?

Have you checked your web server's logs? I suspect a lack of
permission to write to the directory where you want to put the
files. You didn't indicate your server. Apache runs as apache:apache,
and tomcat as tomcat:tomcat.

-- 

Charles Curley                  /"\    ASCII Ribbon Campaign
Looking for fine software       \ /    Respect for open standards
and/or writing?                  X     No HTML/RTF in email
http://www.charlescurley.com    / \    No M$ Word docs in email

Key fingerprint = CE5C 6645 A45A 64E4 94C0  809C FFF6 4C48 4ECD DFDB
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.fedoraproject.org/pipermail/users/attachments/20061125/1b4ee8b2/attachment-0002.bin 


More information about the users mailing list