global $Config ; $Config['Enabled'] = true ; $Config['UserFilesPath'] = '/userfiles/' ; $Config['UserFilesAbsolutePath'] = '/var/www/vhosts/espace-indigo.ch/httpdocs/userfiles/' ;
Thu, 05/29/2008 - 21:38
#1

Re: Error creating folder ".../.../" (Permission denie
global $Config ; // SECURITY: You must explicitly enable this "connector". (Set it to "true"). // WARNING: don't just set "$Config['Enabled'] = true ;", you must be sure that only // authenticated users can access this file or use some kind of session checking. $Config['Enabled'] = true ; // Path to user files relative to the document root. $Config['UserFilesPath'] = '/userfiles/' ; // Fill the following value it you prefer to specify the absolute path for the // user files directory. Useful if you are using a virtual directory, symbolic // link or alias. Examples: 'C:\\MySite\\userfiles\\' or '/root/mysite/userfiles/'. // Attention: The above 'UserFilesPath' must point to the same directory. $Config['UserFilesAbsolutePath'] = '/var/www/vhosts/espace-indigo.ch/httpdocs/userfiles/' ; // Due to security issues with Apache modules, it is recommended to leave the // following setting enabled. $Config['ForceSingleExtension'] = true ; // Perform additional checks for image files. // If set to true, validate image size (using getimagesize). $Config['SecureImageUploads'] = true; // What the user can do with this connector. $Config['ConfigAllowedCommands'] = array('QuickUpload', 'FileUpload', 'GetFolders', 'GetFoldersAndFiles', 'CreateFolder') ; // Allowed Resource Types. $Config['ConfigAllowedTypes'] = array('File', 'Image', 'Flash', 'Media') ; // For security, HTML is allowed in the first Kb of data for files having the // following extensions only. $Config['HtmlExtensions'] = array("html", "htm", "xml", "xsd", "txt", "js") ; // After file is uploaded, sometimes it is required to change its permissions // so that it was possible to access it at the later time. // If possible, it is recommended to set more restrictive permissions, like 0755. // Set to 0 to disable this feature. // Note: not needed on Windows-based servers. $Config['ChmodOnUpload'] = 0777 ; // See comments above. // Used when creating folders that does not exist. $Config['ChmodOnFolderCreate'] = 0777 ;Re: SAFE MODE Restriction in effect. etc...
My host disabled the SAFE MODE.
Is it dangerous to do that ? I don't know what SAFE MODE really do. If someone have informations ... :p
Re: [Solved]SAFE MODE Restriction in effect. etc...
Frederico Knabben
CKEditor Project Lead and CKSource Owner
--
Follow us on: Twitter | Facebook | Google+ | LinkedIn