Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Can't run SIPS in perl script under cgi run



At 11:45 AM -0400 6/30/05, Sébastien Plourde wrote:
Hi,

I'm currently working on a perl script who call, by command line, Sips for automatically resize images on a webpage.
Thank to Dan Shoop for the script sample he provide to us.


But does anybody know if this command tools have restriction to run under www ?
I have setup all permission (and i know for the test, all permission are very very loosy.)


The perl script run very well directly under the terminal and it did the job.
But not under apache2 ?. The perl work but when it call the command to sips - sips seems to ignore the param. With every picture chmoded 777.

The proof of concept script operates just fine wrt the web and the www user so this point to your configuration.


Obviously the www user needs access to the script and to any files it will access. This means it will need write permissions to write the resulting files, and read permissions to read the source files and read and execute the script.

Are you sure you're permitting CGIs to execute? What errors are you receiving?

We'd need to know more about how you're implementing this to be of any assistance.
--


-dhan

------------------------------------------------------------------------
Dan Shoop                                                   AIM: iWiring
Systems & Networks Architect                     http://www.iwiring.net/
email@hidden                                 http://www.ustsvs.com/

pgp key fingerprint: FAC0 9434 B5A5 24A8 D0AF  12B1 7840 3BE7 3736 DE0B

iWiring provides systems and networks support for Mac OS X, unix, and
Open Source application technologies at affordable rates.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Macos-x-server mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/macos-x-server/email@hidden

This email sent to email@hidden
References: 
 >Can't run SIPS in perl script under cgi run (From: Sébastien Plourde <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.