Previous Topic

Next Topic

Book Contents

Apps folder

This folder should store the files of the application itself, all of them packed into one or two TAR archives files, httpdocs-files.tar and cgi-bin-files.tar, depending on what type the application's files are.

The files of the web application can be organized into a folder structure. They should be packed into the httpdocs-files.tar archive file. When being unpacked, these files and their folder structure (if any) will be copied to the folder specially created for this application in the /httpdocs host directory, or in the /httpsdocs one if it is planned to run the application using the SSL-protected connection.

If the application contains CGI script files, it is recommended that these files are packed into a separate cgi-bin-files.tar archive. In this case, when the application is being installed on a domain, these files and the whole folder structure (if any) will be copied to the application folder created in the /cgi-bin host directory.

So, if the application contains both CGI files and forms, the installation package must contain two archive files in its /apps folder: httpdocs-files.tar and cgi-bin-files.tar. When installing this application, Plesk will create two application folders, one in the /httpdocs or /httpsdocs host directory and another one in the /cgi-bin host directory. The httpdocs-files.tar and cgi-bin-files.tar archives will be unpacked to these folders respectively, their inner file and folder structure kept unchanged.

Both archive files are optional in the sense that one of them may be missing in the /apps folder. In case both are missing, the installation package is not considered invalid as the application files can be generated by the preinstall or postinstall script.

See Also

Installation Package

Scripts folder

Forms folder

Info folder

Docs folder

Uninstall folder

Screenshots folder