This topic discusses how to deploy Perl demo applications on your server.
To find information about how specific application works, see the Samples by Application topic.
If the web server is not configured properly, you may get HTTP error 405 ("Resource not allowed"). In this case it is likely that your web server is not configured to interpret files with the .pl extension as server scripts. To solve the problem, you should either rename all .pl files to use the extension that your server handles correctly (e.g. .cgi), or modify the server settings appropriately. If you decide to rename files, do not forget to update links to these scripts in the source code.
The most typical cause of this problem is a server-side limitation for the maximum POST request length. Usually, it is specified to reduce the risk of DoS attacks. If the request size exceeds some specific value, it is considered malicious, and the upload is broken. In this situation Image Uploader displays the following error message:
Upload failed (the connection was interrupted).
To increase the limit of the maximum upload size, you should edit your server configuration files. If you use Apache web server, you can do it as follows:
LimitRequestBodyparameter to a necessary value, e.g.:
If you use another server, refer to its documentation for instructions on configuration.