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 ›

structure catalog for clients

Started by BelKoD, December 10, 2018, 11:03:52 AM

Previous topic - Next topic

BelKoD

Hi!

Default structure^
/home/client1/public_html

But need:
/var/www/clients/client1
/var/www/clients/client1/domain1
/var/www/clients/client1/domain2

/home/client1/public_html is symlink on /var/www/clients/client1

All domain has:
/var/www/clients/client1/domain1/log
/var/www/clients/client1/domain1/tmp
/var/www/clients/client1/domain1/web - all files
/var/www/clients/client1/domain1/cgi-bin

How to create this structure?

studio4host

you can place domains only inside users home folder, example

main domain
/home/client1/public_html

other domains example
/home/client1/domain1.com
/home/client1/domain2.com
or
/home/client1/vhosts/domain2.com
/home/client1/vhosts/domain3.com
VPS & Dedicated server provider with included FREE Managed support for CWP.
http://www.studio4host.com/

*** Don't allow that your server or website is down, choose hosting provider with included expert managed support for your CWP.

BelKoD

#2
CWP6.

Is it possible to create the necessary directory structure when creating a client (domain)? (automatic)

Need hook (after, before). It's possible?