Apache Webspace Directory Structure
Path | Ownership | Mode | Description |
---|---|---|---|
|
root:pemsrv |
rwxr-x--- |
This directory contains log-files for all websites attached to the web-space. Log-files are hidden from everyone except the pemsrv group which includes a special user created by the log-access service to allow customers to read their own log files. |
|
apache:apache |
rwxr-x--- |
Temporary directory used for PHP session files and so on. The directory is writable for the apache user because mod_php uses it to execute PHP scripts. |
|
root:root |
rwxr-xr-x |
A customer cannot modify the content of this directory. |
|
root:root root:root |
rwxr-x--- rw------- |
This directory contains certificates that the customer chose from the CloudBlue Commerce UI to be installed for their site on an exclusive IP address. Certificates are private information; the Apache main process reads them during startup. |
|
<user>:pemsrv <user>:pemcln |
rwxr-x--- rwxr-xr-x |
The directory for a customer’s CGI scripts. They can put their own scripts here. The directory is readable for the Apache server user Scripts themselves must be readable and executable at least for the owner (that is, have r*x****** permissions). Ownership is important; if it is someone other than the owner specified, mod_suexec will refuse to execute that script. CGI scripts are executed with the |
|
root:root root:root |
rwxr-xr-x r-------- |
The directory for configuration files. It is writable only for root. Configuration files are readable only for root. Apache reads them on startup. |
|
root:pemsrv <user>:pemsrv |
rwxr-xr-x rw-r----- |
Error documents are readable only by Apache and the webspace owner. The webspace owner can replace them. |
|
<user>:pemsrv |
rwxr-x--- |
The document root of websites, readable by Apache (to process requests) and webspace owner. The webspace owner can modify the content of this directory. Those files must be world readable to be accessible by Apache. |
|
<user>:pemsrv |
rwxr-x--- |
The document root for secure websites. Other than that, it is the same as the |
|
root:pemsrv root:root |
rwxr-x--- r-------- |
Authorization files for protected directories. Only root can read those files. |
|
root:pemsrv |
rwxr-x--- |
Web statistics generated by Webalizer. This directory is readable for the Apache system group to be accessible using HTTP. |
|
root:pemsrv |
rwxr-x--- |
HTTPS web statistics. |
|
<user>:pemsrv root:root |
--x--x--- --x--x--x |
The directory containing third-party Apache web applications distributed with CloudBlue Commerce. Customers are not allowed to modify them manually; they can only view and install or uninstall these applications using the CCP. See the table below for the web application directory structure. |
|
<user>:pemsrv root:root |
--x--x--- --x--x--x |
The directory containing the legacy applications – third-party web applications inherited from old Operations versions. As of Operations 2.6.5, these applications are still supported, but not maintained by CloudBlue Commerce. Customers are not allowed to modify the content of the directory manually; they can only view and install or uninstall these applications using the CCP. Note: If support of legacy applications is disabled by the CloudBlue Commerce provider, this directory is not used. See the table below for the web application directory structure. |