emphttpservices/HTTPServices/apache2.conf

23 lines
745 B
ApacheConf
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

##То что нужно добавить в ваш конфиг Apache чтоб опубликовать базу 1С.
# StatusForm publication
#Alias "/statusform" "/var/www/statusform/"
<Directory "/var/www/html/statusform/">
AllowOverride AuthConfig FileInfo Limit
</Directory>
# 1c publication
Alias "/emp" "/var/www/emp/"
<Directory "/var/www/emp/">
AllowOverride All
Options None
Require all granted
SetHandler 1c-application
ManagedApplicationDescriptor "/var/www/emp/default.vrd"
</Directory>
#
# !ОБЯЗАТЕЛЬНО! прописываем в строке ниже путь к установленной библиотеке 1С
# Релиз установленного 1С в Apache должен совпадать с релизом платформы установленной на сервере 1С
LoadModule _1cws_module "/opt/1cv8/x86_64/8.3.20.1996/wsap24.so"