(Variable names changed to conform with other articles) |
m |
||
Line 5: | Line 5: | ||
#; '''NOTE:''' Since usually setting permissions to <code>0777</code> is insecure, it is advisable to change the group ownership of the directory to the same user as Apache and add group write permisions instead. Please contact your system administrator in case of any doubts. | #; '''NOTE:''' Since usually setting permissions to <code>0777</code> is insecure, it is advisable to change the group ownership of the directory to the same user as Apache and add group write permisions instead. Please contact your system administrator in case of any doubts. | ||
# Edit the <code>config.{{{ext}}}</code> file. Make sure you set all settings in that file correctly, and that you enabled CKFinder. See [[CKFinder_2.x/Developers Guide/{{{language}}}/Configuration|Configuration]] for more information. | # Edit the <code>config.{{{ext}}}</code> file. Make sure you set all settings in that file correctly, and that you enabled CKFinder. See [[CKFinder_2.x/Developers Guide/{{{language}}}/Configuration|Configuration]] for more information. | ||
− | {{#ifeq: {{{ | + | {{#ifeq: {{{ext}}} | php | | # Make sure that {{{language}}} is configured properly — GD extension should be enabled and safe mode should be disabled.}} |
You should be ready to go. Just browse to the <code>_samples/{{{ext}}}/standalone.{{{ext}}}</code> page to test and see CKFinder. | You should be ready to go. Just browse to the <code>_samples/{{{ext}}}/standalone.{{{ext}}}</code> page to test and see CKFinder. | ||
== Security Tips == | == Security Tips == | ||
− | {{#ifeq: {{{ | + | {{#ifeq: {{{ext}}} | php | | * On Apache you may disable the {{{language}}} engine in the user files folder. If you chose a different user files folder, copy the <code>/ckfinder/userfiles/.htaccess</code> file with these settings from the its default location and paste it into your destination folder.}} |
* The <code>config.{{{ext}}}</code> file contains many important security settings. You need to be positive that you have reviewed and understood all of them before you enable CKFinder on your website. | * The <code>config.{{{ext}}}</code> file contains many important security settings. You need to be positive that you have reviewed and understood all of them before you enable CKFinder on your website. | ||
* For more security tips see the [[CKFinder_2.x/Developers Guide/{{{language}}}/Configuration/Security|Security]] section. | * For more security tips see the [[CKFinder_2.x/Developers Guide/{{{language}}}/Configuration/Security|Security]] section. |
Revision as of 15:28, 14 July 2011
Installation Instructions
- Copy the distribution files to your Web server and place them inside the
/ckfinder/
folder or any other folder of of your choice on your website. - Create a folder on the server to store all uploaded files. By default, CKFinder is configured to use the
/ckfinder/userfiles/
folder of your website. - Make the user files folder mentioned in point 2 writable for the Internet user. For a Windows system give write permissions to the
IUSR_<ServerName>
user. For Linux chmod it to0777
.- NOTE: Since usually setting permissions to
0777
is insecure, it is advisable to change the group ownership of the directory to the same user as Apache and add group write permisions instead. Please contact your system administrator in case of any doubts.
- NOTE: Since usually setting permissions to
- Edit the
config.{{{ext}}}
file. Make sure you set all settings in that file correctly, and that you enabled CKFinder. See [[CKFinder_2.x/Developers Guide/{{{language}}}/Configuration|Configuration]] for more information. - Make sure that {{{language}}} is configured properly — GD extension should be enabled and safe mode should be disabled.
You should be ready to go. Just browse to the _samples/{{{ext}}}/standalone.{{{ext}}}
page to test and see CKFinder.
Security Tips
- On Apache you may disable the {{{language}}} engine in the user files folder. If you chose a different user files folder, copy the
/ckfinder/userfiles/.htaccess
file with these settings from the its default location and paste it into your destination folder. - The
config.{{{ext}}}
file contains many important security settings. You need to be positive that you have reviewed and understood all of them before you enable CKFinder on your website. - For more security tips see the [[CKFinder_2.x/Developers Guide/{{{language}}}/Configuration/Security|Security]] section.