Subdirectory Proxy Configuration (Apache)

Enable mod proxy on the server

Mod proxy is required for routing traffic to your Proxy

# enable apache module for proxy
sudo a2enmod proxy
sudo a2enmod proxy_http

# restart apache
/etc/init.d/apache2 restart

Modify sites-available config file

Below is an example of configuring the customer's server to route all traffic to to the Proxy you created for the customer.

<VirtualHost *:80>
# continue VirtualHost entries..

ProxyPreserveHost On

# at beginning of Directory rules
<Location /campaign/>
RequestHeader set Host
Order allow,deny
Allow from all

# continue normal configuration..


Was this article helpful?
0 out of 0 found this helpful
Have more questions? Submit a request


Powered by Zendesk