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/
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