Control Web Panel

WebPanel => Apache => Topic started by: tamha on November 22, 2014, 08:51:17 AM

Title: set chmod 755 as default for websites
Post by: tamha on November 22, 2014, 08:51:17 AM
Hello,

I want to set chmod 755 as a default value for all websites.
How can i do it?

Thanks
Title: Re: set chmod 755 as default for websites
Post by: Administrator on November 23, 2014, 04:02:51 AM
in CWP.admin  you have option to fix users permissions.
Title: Re: set chmod 755 as default for websites
Post by: tamha on November 23, 2014, 12:25:20 PM
Thanks,

I have 2 problems.

1/ First problem:
My code : when i create a folder, it will automatically create the same folder in thumb folder in admin page. But now, i only create a folder. It can't automatically create the same folder in thumb folder. (my old hosting can do it automatically)

My structure for upload in admin page
- assets/images : for saving orignal images
- assets/thumb/images: saving thumb images

2/ Second problem:
In admin page of website, i can upload the '.png' files. Other types such as: jpg, jpeg, gif,... can't be uploaded.
How do i set to upload other types?
 
What do i need to change?

Thanks
Title: Re: set chmod 755 as default for websites
Post by: Administrator on November 23, 2014, 08:44:33 PM
you can upload any images that is up to you, if you have some kind of scripting errors then you will need to check the logs.