8.3.1. General publication procedure


<< Prev   Next >>

The general publication procedure is as follows:

  • The request processing module (web server extension module) corresponding to the web server is registered.
  • A virtual application is registered on the web server.
  • The virtual application directory is created. The default.vrd file (see article default.vrd) is placed in this directory and configured.
  • Users are granted permissions to access the directory with the database file (for file mode only).

To publish the web client, use the 1C:Enterprise version that is used for the infobase to be accessed via the web client. If two versions are installed on the computer (for example, 8.3.3.100 and 8.3.3.150) and the 1C:Enterprise server of version 8.3.3.150 is running, use Designer or webinst utility of exactly the same version for publishing.

When publishing, remember that the bitness of the registered web server extension must match the bitness of the web server. To determine the publishing method, use the following table:

32-bit web server

64-bit web server

32-bit 1C:Enterprise

Fully

Partially

64-bit 1C:Enterprise

Not supported.

Fully

Fully. Publication is supported both using Designer and the webinst utility.

Partially. You can publish a 32-bit 1C:Enterprise application to use it with a 64-bit IIS web server. For more information on configuring IIS, see article Internet Information Services. The webinst utility is called from the bin directory of the 32-bit version of 1C:Enterprise. On Linux, such publication is not supported.

To publish from Designer, use the publish dialog box. Click Administration – Publishing on web server ....

https://kb.1ci.com/bin/download/OnecInt/KB/1C_Enterprise_Platform/Guides/Administrator_Guides/1C_Enterprise_8.3.22_Administrator_Guide/Chapter_8._Setting_up_web_services_for_1C_Enterprise/8.3._Publication_types/WebHome/en_image059.pngFig. 60. Publishing on web server

Then follow these steps:

  • Enter the name of the virtual directory in the Name field. The name of the virtual directory only contains Latin letters.
  • In the Web server field, specify the type of web server for which you are publishing.
  • In the Directory field, specify the physical location of the directory where files describing the virtual directory will be located. For Apache web server, the directory name contains only Latin letters.
  • Select the Publish access for client applications and Publish Web services check boxes if necessary.
  • For IIS web server, you can specify OS authentication on the web server.
  • If necessary, select the Web services to be published. The Address column can be edited. This column defines a Web service synonym. You can access the Web service both by name and by synonym.
  • If necessary, customize the rest of the publishing parameters.
  • To start the publishing process, click Publish. To delete the publication from the selected web server, click Disable.

After the publication is complete, you will be prompted to restart the web server in the following cases:

  • 1C:Enterprise version was changed.
  • Path to the web server extension module was changed.
  • A new publication was made for the Apache web server.
  • Publication was disabled.

When using anonymous authentication and file infobase, when publishing is performed, the user on whose behalf anonymous access is performed is checked for access rights to the infobase directory. If the user does not have the necessary rights, a warning is displayed that this infobase cannot be accessed via a web server. It is recommended to either grant access rights for the directory with the infobase, or select the Use OS authentication on a web server check box.

The publishing dialog box and the command line parameters of the webinst utility will be described in other subsections of this section.

<< Prev   Next >>

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