Advanced search  

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

Pages: [1]   Go Down

Author Topic: Would anyone be helped by our cgi workaround for safe-mode limits?  (Read 3647 times)

0 Members and 1 Guest are viewing this topic.

MrPete

  • Contributor
  • Coppermine newbie
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 17

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!
Logged

kegobeer

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 4637
  • Beer - it does a body good!
    • The Kazebeer Family Website
Re: Would anyone be helped by our cgi workaround for safe-mode limits?
« Reply #1 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?
Logged
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

  • Contributor
  • Coppermine newbie
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 17
Re: Would anyone be helped by our cgi workaround for safe-mode limits?
« Reply #2 on: January 23, 2005, 01:11:45 am »

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 ;)
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Would anyone be helped by our cgi workaround for safe-mode limits?
« Reply #3 on: January 23, 2005, 09:34:33 am »

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
Logged
Pages: [1]   Go Up
 

Page created in 0.019 seconds with 20 queries.