diff options
author | Jan Pazdziora <jpazdziora@redhat.com> | 2014-01-17 14:41:19 +0800 |
---|---|---|
committer | Jan Pazdziora <jpazdziora@redhat.com> | 2016-01-20 09:03:10 +0100 |
commit | 5a869128a4371445471bcd86392680c096240d2c (patch) | |
tree | 56a8d2f7eaa16478070880e0ccb5d22b3e145b01 /app.conf | |
parent | cdaaa88a4c9b516080555aa8b9f9df65ad0b5b90 (diff) | |
download | CGI-sessions-proxy-setup.tar.gz CGI-sessions-proxy-setup.tar.xz CGI-sessions-proxy-setup.zip |
Process incoming HTTP headers in application on backend.proxy-setup
Caution: make sure the application is only accessible via a proxy
which will properly clear and set these headers, so that the end user
cannot gain extra privileges.
Diffstat (limited to 'app.conf')
-rw-r--r-- | app.conf | 13 |
1 files changed, 11 insertions, 2 deletions
@@ -1,3 +1,12 @@ +Listen localhost:8888 +<VirtualHost localhost:8888> +ServerName localhost:8888 +ScriptAlias /bapplication /var/www/backend/app.cgi -ScriptAlias /application /var/www/app/app.cgi - +<Location /bapplication> + SetEnv FRONTEND_SCRIPT_NAME /application + Order deny,allow + Deny from all + Allow from 127.0.0.1 ::1 +</Location> +</VirtualHost> |