Ticket #1202 (closed defect: fixed)

Opened 3 months ago

Last modified 3 months ago

no upload_tmp_dir defined in master.conf for mod-php

Reported by: joximu Assigned to:
Priority: major Milestone: ispCP ω 1.0.0 - RC5
Component: Config Files Version: ispCP ω 1.0.0 - RC4
Severity: Don't know Keywords:
Cc:

Description

see title.

You cannot upload a language file when using mod-php because there's no upload_tmp_dir defined (only 00_master.conf - the customer domains have it...)

Attachments

Change History

04/21/08 19:44:01 changed by zothos

write a patch ;)

04/24/08 15:29:27 changed by Quemeros

...because mod-php isn't default option :)

04/28/08 13:12:55 changed by joximu

But then we can drop any mod-php settings.

I'd say: either do it correct or nothing.

Patch:

--- 00_master.conf_org  2008-03-31 10:56:36.000000000 +0200
+++ 00_master.conf      2008-04-28 13:07:27.000000000 +0200
@@ -72,12 +72,14 @@
         <Directory {ROOT_DIR}/gui>
             php_admin_value open_basedir "{WWW_DIR}/{DMN_NAME}/:{CONF_DIR}/:{MR_LOCK_FILE}:/proc/:/bin/df:/bin/mount:{RKHUNTER_LOG}:{CHKROOTKIT_LOG}:{PEAR_DIR}/{OTHER_ROOTKIT_LOG}"
             php_admin_value session.save_path "{ROOT_DIR}/gui/phptmp/"
+            php_admin_value upload_tmp_dir "{ROOT_DIR}/gui/phptmp/"
         </Directory>
     </IfModule>
     <IfModule mod_php5.c>
         <Directory {ROOT_DIR}/gui>
             php_admin_value open_basedir "{WWW_DIR}/{DMN_NAME}/:{CONF_DIR}/:{MR_LOCK_FILE}:/proc/:/bin/df:/bin/mount:{RKHUNTER_LOG}:{CHKROOTKIT_LOG}:{PEAR_DIR}/{OTHER_ROOTKIT_LOG}"
             php_admin_value session.save_path "{ROOT_DIR}/gui/phptmp/"
+            php_admin_value upload_tmp_dir "{ROOT_DIR}/gui/phptmp/"
         </Directory>
     </IfModule>

for every 00_master.conf in the several dist/apache folders... always add a line to the mod-php4 and mod-php5 block... I think this is done easier by hand than with a patch...

Otherwise I'll commit this change when the php recode is over...

04/28/08 23:35:54 changed by zothos

vacany is only working on the gui/backend code. Not on our configs XD im committing it now

fixed in r1129

04/28/08 23:35:57 changed by zothos

  • status changed from new to closed.
  • resolution set to fixed.

04/29/08 21:44:07 changed by rats

  • milestone changed from Working to ispCP ω 1.0.0 - RC5.

Add/Change #1202 (no upload_tmp_dir defined in master.conf for mod-php)




Action