Jump to content

Security Question


barry123

Recommended Posts

The three folders "attachments", "downloads" and "templates_c" need to be writeable by WHMCS and therefore require the permissions 777 (writeable by all). When folders have this permission level it is safer to place the folders outside of the public accessible folder tree on your website. WHMCS allows you to do this. If you do move the folders, then you must tell WHMCS where they have been moved to by adding the following lines to your configuration.php file:

 

$templates_compiledir = "/home/whmcs/templates_c/";

$attachments_dir = "/home/whmcs/attachments/";

$downloads_dir = "/home/whmcs/downloads/";

 

With regard to the above documentation, where exactly should I place these files? Where is outside of the publicly accessible folder tree?

Link to comment
Share on other sites

Outside of the publicly accessible folder tree usually means the level above your /public_html folder.

 

I don't have a /public_html folder, mine looks somthing like:

 

webspace

> certs

>cgi-bin

>conf

>error_docs

>httpdocs - holds all my sites files

>httpsdocs

>and a few more folders

 

So would it be outside the httpdocs folder? And where should I place them? :oops:

 

Thanks

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated