8.6.2. On Windows


<< Prev   Next >>

8.6.2.1. General information

This section describes the publication of standard OData Interface for Windows-based web servers. It is assumed that the web server is already installed.

8.6.2.2. Internet Information Services

8.6.2.2.1. General description

Besides specifying the parameters of the publication (described below), you must additionally make the following settings:

  • Grant read rights to the user on whose behalf the requests are executed (IUSR_<PC_NAME> user for IIS versions 5.1 or 6.0 or IIS_IUSRS group for IIS versions 7.x and later) to the bin file directory of a specific 1C:Enterprise version.
  • Grant edit rights to the user on whose behalf the queries are executed (IUSR_<PC_NAME> user for IIS versions 5.1 or 6.0 or IIS_IUSRS group for IIS versions 7.x and later) to the infobase directory (for file mode only).

For more information about IIS settings, see article Internet Information Services.

8.6.2.2.2. Publish dialog box

In the Web server field, specify Internet Information Services. If you need the operating system authentication on a web server, select the Use operating system authentication on a web server check box.

If necessary, specify the remaining publishing parameters on the Additional tab of the publish dialog box (see article Additional).

8.6.2.2.3. Webinst utility

Before publishing, you need to create a template file:

  • In the Web server field, specify Internet Information Services.
  • Select the Publish standard OData interface check box.
  • If necessary, select the Use operating system authentication on a web server 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 iis-template.vrd.

Perform publication using the template file.

Example:

webinst -publish -iis -wsdir demo-ws -dir "c:\inetpub\demo-ws" -connstr "Srvr=server:1741;Ref=demo;" -descriptor iis-template.vrd

8.6.2.3. Apache 2.0

8.6.2.3.1. General description

Besides specifying the parameters of the publication (described below), you must additionally make the following settings:

  • Grant read rights to the user on whose behalf the web server is running to the bin file directory of a specific 1C:Enterprise version.
  • Grant edit rights to the user on whose behalf the web server is running to the infobase directory (for file mode only).
8.6.2.3.2. 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.2.3.3. 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 "c:\inetpub\demo-ws" -connstr "Srvr=server:1741;Ref=demo;" -descriptor apache-template.vrd

8.6.2.4. Apache 2.2

8.6.2.4.1. General description

Besides specifying the parameters of the publication (described below), you must additionally make the following settings:

  • Grant read rights to the user on whose behalf the web server is running to the bin file directory of a specific 1C:Enterprise version.
  • Grant edit rights to the user on whose behalf the web server is running to the infobase directory (for file mode only).
8.6.2.4.2. 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.2.4.3. 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 "c:\inetpub\demo-ws" -connstr "Srvr=server:1741;Ref=demo;" -descriptor apache-template.vrd

8.6.2.5. Apache 2.4

8.6.2.5.1. General description

Besides specifying the parameters of the publication (described below), you must additionally make the following settings:

  • Grant read rights to the user on whose behalf the web server is running to the bin file directory of a specific 1C:Enterprise version.
  • Grant edit rights to the user on whose behalf the web server is running to the infobase directory (for file mode only).
8.6.2.5.2. 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.2.5.3. 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 "c:\inetpub\demo-ws" -connstr "Srvr=server:1741;Ref=demo;" -descriptor apache-template.vrd

<< Prev   Next >>

Icon/Social/001 Icon/Social/006 Icon/Social/005 Icon/Social/004 Icon/Social/002