...
...
Info | ||
---|---|---|
| ||
CHILI does not officially support setting up a proxy both in support and in functionality. There are some security reasons a solution might consider a proxy. However, it strongly suggested to avoid this method unless 100% necessary. |
Note |
---|
As your Apache is redirecting the requests, it should be able to resolve the domain (DNS lookup) for the CHILI server internally. |
...
Code Block | ||
---|---|---|
| ||
<VirtualHost *:80> ServerAdmin webmaster@yourapplication.com ServerName www.yourapplication.com DocumentRoot /var/www/yourapplication <Directory /var/www/yourapplication> Options Indexes FollowSymLinks MultiViews AllowOverride All Order allow,deny allow from all </Directory> ProxyRequests Off <Proxy *> Order allow,deny Allow from all </Proxy> ProxyPass /CHILI/ http://www.yourchilipublisher.com/CHILI/ ProxyPassReverse /CHILI/ http://www.yourchilipublisher.com/CHILI/ ProxyPreserveHost On </VirtualHost> |
...
ProxyRequests Off
allows or prevents Apache httpd from functioning as a forward proxy server.
In a typical reverse proxy or gateway configuration, this option should be set to Off
.
...
Note | ||
---|---|---|
| ||
Make sure that you have the |
HTTPS
When using HTTPS, the httpd-vhost.conf
configuration for your VirtualHost will look slightly different than it would for HTTP
...
Note | ||
---|---|---|
| ||
Apart from the |
...
CHILI publish Online (SaaS)
...
Code Block | ||
---|---|---|
| ||
<VirtualHost *:443> ServerName example.com ServerAlias www.example.com DocumentRoot "C:\Php" <Directory "C:\Php"> Options +Indexes +Includes +FollowSymLinks +MultiViews AllowOverride All Require all granted </Directory> SSLCertificateFile "C:\wamp64\bin\apache\apache2.4.39\bin\privateCertificate.crt" SSLCertificateKeyFile "C:\wamp64\bin\apache\apache2.4.39\bin\privateFree.key" SSLEngine on SSLProxyEngine on ProxyPass /editor/ https://myenvironment.chili-publish.online/ ProxyPassReverse /editor/ https://myenvironment.chili-publish.online/ </VirtualHost> |
So, now if I want to get to CHILI BackOffice, I would now go to: https://www.example.com/editor/myenvironment/interface.aspx
...