Download the PHP package huettig-und-rompf/webhub-proxy without Composer
On this page you can find all versions of the php package huettig-und-rompf/webhub-proxy. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download huettig-und-rompf/webhub-proxy
More information about huettig-und-rompf/webhub-proxy
Files in huettig-und-rompf/webhub-proxy
Package webhub-proxy
Short Description A proxy script to include the Hüttig & Rompf Webhub Snippets on your website in complete privacy
License Apache-2.0
Informations about the package webhub-proxy
Hüttig & Rompf - WebHub Proxy
This script can be installed on your webserver to proxy all requests to the Huettig and Rompf Webhub trough your own server. What that means is, that there is absolutely no privacy related data (like your users ip address) sent to Huettig and Rompf servers. Therefore, you are safe to use the snippets/calculators without additional "opt-in" feature for GDPR.
Requirements
- PHP >=7.2
- PHP gzip
- Apache Webserver with mod-rewrite enabled
- or nginx with additional configuration
Installation
Install this package using Composer:
After you installed the bundle:
- Copy the "webhub-proxy" directory somewhere into your website's public docroot.
- Open the "index.php" in the copied "webhub-proxy" directory in an editor.
- Adjust the $VENDOR_DIR path (line 25) to match the requirements in your setup.
- Deploy the script to your production machine
Usage
- Go to Online Marketing
- Select one of the available snippets
- Copy the embed-code into your templates
- Adjust the first script tag to match your local proxy setup e.g becomes:
Nginx Configuration
If you are running your websites with nginx instead of apache, edit your configuration file to include this location directive:
Option A: Inside a sub-directory
Option B: Using a separarte URL
All versions of webhub-proxy with dependencies
laminas/laminas-diactoros Version ^2.3
laminas/laminas-stratigility Version ^3.2
laminas/laminas-httphandlerrunner Version ^1.2