Would anyone be helped by our cgi workaround for safe-mode limits? Would anyone be helped by our cgi workaround for safe-mode limits?
 

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Main Menu

Would anyone be helped by our cgi workaround for safe-mode limits?

Started by MrPete, January 22, 2005, 08:20:05 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

MrPete

Our main server is php safe-mode (for noobs: that means php can't create new directories, which causes hassles for user albums, etc).

We were able to 100% work around this by creating a tiny perl cgi script (that goes in cgi-bin) to do the dirty work. We now have coppermine able to create new user directories even though it is in safe mode.

My question: is this something only useful for us, or would it possibly help other users?

Those of you who have a safe_mode host: are you allowed to create cgi scripts? If so, our solution might be worth integrating into coppermine.

Your thoughts and ideas appreciated!

kegobeer

Why don't you save your perl file as a text file and attach it to your post?
Do not send me a private message unless I ask for one.  Make your post public so everyone can benefit.

There are no stupid questions
But there are a LOT of inquisitive idiots

MrPete

Quote from: kegobeer on January 22, 2005, 10:17:00 PM
Why don't you save your perl file as a text file and attach it to your post?

I can do that, but there's more to it than a cgi script... also a few core *.php file edits ... I can submit as a hack but prefer to improve the core when possible ;)

Joachim Müller

Please post the hack, a dev will look into it and see if it makes sense to add it to the core of a future release.

Joachim