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:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

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