8.6.3. On Linux
8.6.3.1. General information
This section describes the publication of Standard OData Interface for Linux-based web servers. It is assumed that the web server is already installed.
Once the publication is performed, provide a user running Apache the rights to the executable file directory of a specific 1C:Enterprise version (read and execute). For infobase file mode, grant the rights to edit the infobase directory to the user on whose behalf the web server is running.
8.6.3.2. Apache 2.0
8.6.3.2.1. Publish dialog box
In the Web server field, specify Apache 2.0.
If necessary, specify the remaining publishing parameters on the Additional tab of the publish dialog box (see article Additional).
8.6.3.2.2. Webinst utility
Before publishing, you need to create a template file:
- In the Web server field, specify Apache 2.0.
- Select the Publish standard OData interface check box.
- If necessary, specify the remaining publishing parameters on the Additional tab of the publish dialog box (see article Additional).
- To save the template file, click Save. Enter the template file name apache-template.vrd.
Perform publication using the template file.
Example:
webinst -publish -apache2 -wsdir demo-ws -dir /var/www/demo-ws -connstr "Srvr=server:1741;Ref=demo;" -confpath /etc/apache2/httd.conf -descriptor apache-template.vrd
8.6.3.3. Apache 2.2
8.6.3.3.1. Publish dialog box
In the Web server field, specify Apache 2.2.
If necessary, specify the remaining publishing parameters on the Additional tab of the publish dialog box (see article Additional).
8.6.3.3.2. Webinst utility
Before publishing, you need to create a template file:
- In the Web server field, specify Apache 2.2.
- Select the Publish standard OData interface check box.
- If necessary, specify the remaining publishing parameters on the Additional tab of the publish dialog box (see article Additional).
- To save the template file, click Save. Enter the template file name apache-template.vrd.
Perform publication using the template file.
Example:
webinst -publish -apache22 -wsdir demo-ws -dir /var/www/demo-ws -connstr "Srvr=server:1741;Ref=demo;" -confpath /etc/apache2/httd.conf -descriptor apache-template.vrd
8.6.3.4. Apache 2.4
8.6.3.4.1. Publish dialog box
In the Web server field, specify Apache 2.4.
If necessary, specify the remaining publishing parameters on the Additional tab of the publish dialog box (see article Additional).
8.6.3.4.2. Webinst utility
Before publishing, you need to create a template file:
- In the Web server field, specify Apache 2.4.
- Select the Publish standard OData interface check box.
- If necessary, specify the remaining publishing parameters on the Additional tab of the publish dialog box (see article Additional).
- To save the template file, click Save. Enter the template file name apache-template.vrd.
Perform publication using the template file.
Example:
webinst -publish -apache24 -wsdir demo-ws -dir /var/www/demo-ws -connstr "Srvr=server:1741;Ref=demo;" -descriptor apache-template.vrd