Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

...


Info
iconfalse

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
titlehttpd-vhosts.conf for http
<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
titleRequired Apache Modules

Make sure that you have the mod_proxy and mod_proxy_http Apache modules are installed for this setup.

 


HTTPS

When using HTTPS, the httpd-vhost.conf configuration for your VirtualHost will look slightly different than it would for HTTP

...

Note
titleRequired Apache Modules

Apart from the mod_proxy and mod_proxy_http Apache modules (see above), you also need the deflate, headers, proxy_connect, proxy_http and the ssl Apache modules to be installed

...


CHILI publish Online (SaaS)

...

Code Block
languagexml
<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

...