Appendix A. The Structure of Webspaces
The following information about the structure of a webspace might be of interest to system administrators and developers involved in a migration process.
On Linux Servers
The table below shows a list of directories that are created for each webspace. Note that not all of the directories are created by default. Some of them are created only when a website owner needs them. Such directories are marked as created on demand. For example, after a customer adds a website, it does not have the /web_users directory. It will be created only after the customer adds his or her first web user.
The following table lists subdirectories of a virtual host directory /var/www/vhosts/<vhost>.
Directories Tree |
User |
Group |
Permissions |
Description |
Created |
||
---|---|---|---|---|---|---|---|
/<VHOST> |
|
|
user |
psaserv |
755 |
|
Always |
|
/anon_ftp |
|
user |
psaserv |
750 |
Anonymous FTP files |
On demand |
|
/error_docs |
|
user |
psacln |
755 |
Error message files |
Always |
|
|
<doc>.html |
user |
psaserv |
755 |
|
|
|
/httpdocs |
|
user |
psaserv |
750 |
HTTP documents |
Always |
|
|
/cgi-bin |
user |
psaserv |
755 |
CGI scripts |
Always |
|
/logs |
|
user |
root |
700 |
Link to ../system/<vhost>/logs |
Always |
|
/bin |
|
root |
root |
755 |
Chroot environment directories |
On demand |
|
/dev |
|
root |
root |
755 |
||
|
/etc |
|
root |
root |
755 |
||
|
/lib |
|
root |
root |
755 |
||
|
/tmp |
|
root |
root |
755 |
||
|
/usr |
|
root |
root |
755 |
||
|
/var |
|
root |
root |
755 |
||
|
/web_users |
|
root |
root |
755 |
Web users' directory |
On demand |
|
|
/<web_user> |
user |
psaserv |
750 |
Web user's directory |
On demand |
|
/<subdomain> |
|
user |
psaserv |
750 |
HTTP and HTTPs documents of a subdomain |
On demand |
|
/<domain> |
|
user |
psaserv |
750 |
HTTP and HTTPs documents of an additional domain |
On demand |
The following table lists directories created for a webspace in /var/www/vhosts/system/<vhost>.
Directories Tree |
User |
Group |
Permissions |
Description |
Created |
||
---|---|---|---|---|---|---|---|
/<VHOST> |
|
|
root |
psaserv |
744 |
|
Always |
|
/conf |
|
root |
psaserv |
750 |
Configuration files. |
Always |
|
/etc |
|
root |
root |
755 |
Configuration files |
Always |
|
/logs |
|
psaadm |
root |
700 |
Virtual host logs |
Always |
|
/pd |
|
root |
psaserv |
710 |
Passwords to protected directories |
Always |
|
|
d..<dir1>@<dir2> |
root |
psaserv |
310 |
|
Always |
|
/statistics |
|
root |
psaserv |
550 |
Statistics directory |
Always |
|
|
/anon_ftpstat |
root |
root |
755 |
Anonymous FTP statistics. |
Always |
|
|
/ftpstat |
root |
root |
755 |
FTP user statistics |
Always |
|
|
/logs |
root |
root |
777 |
Link to /logs |
Always |
|
|
webstat |
root |
root |
755 |
HTTP user statistics |
Always |
|
|
/webstat-ssl |
root |
root |
755 |
HTTPS user statistics |
Always |
On Windows Servers
The table below shows a list of directories that are created for each webspace. Note that not all of the directories are created by default. Some of them are created only when a website owner needs them. Such directories are marked as created on demand. For example, after a customer adds a website, it does not have the /web_users directory. It will be created only after the customer adds his or her first web user.
Directories Tree |
User Permissions |
Description |
Created |
|||
---|---|---|---|---|---|---|
\<VHOST> |
|
|
|
None |
|
|
|
\.plesk |
|
|
List contents |
|
Always |
|
|
\statistics\<domain_name>\ |
|
List contents |
Statistics directory |
Always |
|
|
|
\anon_ftpstat |
List contents |
Anonymous FTP statistics |
Always |
|
|
|
\ftpstat |
List contents |
FTP user statistics |
Always |
|
|
|
\webstat |
List contents |
HTTP user statistics |
Always |
|
|
\.security |
|
Read |
Security settings |
Always |
|
|
\.web.<user>.security |
|
Read |
On demand |
|
|
\anon_ftp |
|
|
List contents |
Anonymous FTP files |
On demand |
|
\cgi-bin |
|
|
List contents |
CGI scripts |
On demand |
|
\error_docs |
|
|
List contents |
Error message files |
Always |
|
|
<doc>.html |
|
Read, write |
|
|
|
\httpdocs |
|
|
Full control |
HTTP documents |
Always |
|
\logs |
|
|
List contents |
Virtual host logs |
Always |
|
\web_users |
|
|
None |
Web users' directory |
On demand |
|
|
\<web_user> |
|
None |
|
|
|
\<subdomain> |
|
|
Full control |
HTTP and HTTPs documents of a subdomain |
On demand |
|
\<domain> |
|
|
Full control |
HTTP and HTTPs documents of an additional domain |
On demand |