Answer the question
In order to leave comments, you need to log in
1C - how to run Web clients 8.2 and 8.3 on the same server?
The problem is the following.
When publishing a WEB client and a thin client, it is not possible to configure the server so that 2 web clients work from both 8.2 and 8.3.
Installed apache 2.0 and Server 1s 8.2 and 8.3
Answer the question
In order to leave comments, you need to log in
Why it fails is obvious - in the Apache settings you use an explicit library for processing 1s data. Those. you have one of two lines:
or
(if Windows, then links naturally to the necessary ProgramFiles directories and not *.so, but *.dll)
And then, when prescribing bases, you specify the instruction "SetHandler 1c-application" in the description of the corresponding directory.
Unfortunately, I didn't do the kind of perversion you want to do. I doubt that there are people in the world who did this ... But there are definitely people who loaded different versions of the same handler at the same time. I advise you to look in the direction of the AddHandler directive - you may be able to connect the 1C8.2 version library as a 1c-application82 handler. Then, in the settings of the old databases, it will be enough for you to specify "SetHandler 1c-application82" and everything will work as it should. Smoke a little manual and StackOverflow.
If it works, then we are waiting for your article on Habré :)
it is easy to change the name of the handler - open wsap22.so with any hex editor and find 1c-application by ASCII. Replace, for example, with 2c-application.
BUT! It is not clear how to load both modules
LoadModule _1cws_module "/opt/1C/v8.2/i386/wsap22.so"
LoadModule _1cws_module "/opt/1C/v8.3/i386/wsap22.so"
because Apache will not let you load 2 modules from the same module_id, in this case _1cws_module
How can I change the id of a compiled Apache module?
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question