New in CWP Edge-LatestFree with every CWPpro licenceWebsites up to 300x faster

CWP now includes LSPHP, LSAPI-Cache and CWP Cage at no extra cost with all CWPpro licences. The LSAPI-Cache plugin is integrated into our WordPress and other script installers, and CWP Cage gives every user complete isolation. Available now in the CWP Edge-Latest version.

Get CWPpro ›

How to Change User Directory?

Started by RedoStr, November 27, 2015, 02:20:12 AM

Previous topic - Next topic

RedoStr

Hi Guys! I'm Wondering to change user directory locations... I create a new user account and public_html location is; "/home/username/public_html". Can I change it? for example; "/home/username/websites/domainname/public_html"
I rebuild the Apache vHosts Template, I change to;

DocumentRoot "%homedir%/%username%/websites/%domain_name%/public_html"

ScriptAlias /cgi-bin/ "%homedir%/%username%/websites/%domain_name%/public_html/cgi-bin/

<Directory "%homedir%/%username%/websites/%domain_name%/public_html">
        AllowOverride All
</Directory>


but when I create a user, cwp say;
DocumentRoot [/home/username/websites/domainname/public_html] does not exist
Checking if "/home/username/public_html" folder if exist: [YES]

and user folder stay at "/home/username/public_html" :(

What Can I do? or home directory can't change?

Sorry For Bad English  :)

Igor S.

Hello.

I'm afraid the CWP does not have the feature... You must create a home directory manually.



You can ask me to solve any problem with your server for some money in pm  ;)






Services Monitoring & RBL Monitoring
http://centos-webpanel.com/services-monitor


Join our Development Team and get paid !
http://centos-webpanel.com/develope-modules-for-cwp

Installation Instructions
http://centos-webpanel.com/installation-instructions

Get Fast Support Here
http://centos-webpanel.com/support-services