Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
HTTP/1.1 302 Found
Date: Wed, 12 Feb 2014 17:23:40 GMT
Server: Apache/2.4.6 (Ubuntu) PHP/5.5.3-1ubuntu2.1
X-Powered-By: PHP/5.5.3-1ubuntu2.1
Location: /redirect.html
Content-Length: 0
Content-Type: text/html
igalic@levix ~ % curl -i http://proxy.local:8080/index2.php
HTTP/1.1 302 Found
Date: Wed, 12 Feb 2014 17:23:42 GMT
Server: Apache/2.4.6 (Ubuntu) PHP/5.5.3-1ubuntu2.1
X-Powered-By: PHP/5.5.3-1ubuntu2.1
Location: http://example.com/redirect.html
Content-Length: 0
Content-Type: text/html
igalic@levix ~ % curl -i http://proxy.local:8080/index3.php
HTTP/1.1 302 Found
Date: Wed, 12 Feb 2014 17:23:46 GMT
Server: Apache/2.4.6 (Ubuntu) PHP/5.5.3-1ubuntu2.1
X-Powered-By: PHP/5.5.3-1ubuntu2.1
Location: http://proxy.local:8080/redirect.html
Content-Length: 0
Content-Type: text/html
igalic@levix ~ % curl -i http://proxy.local:8080/index.php
HTTP/1.1 302 Found
Date: Wed, 12 Feb 2014 17:25:05 GMT
Server: Apache/2.4.6 (Ubuntu) PHP/5.5.3-1ubuntu2.1
X-Powered-By: PHP/5.5.3-1ubuntu2.1
Location: http://proxy.local:8080/redirect.html
Content-Length: 0
Content-Type: text/html
igalic@levix ~ % curl -i http://proxy.local:8080/index2.php
HTTP/1.1 302 Found
Date: Wed, 12 Feb 2014 17:25:07 GMT
Server: Apache/2.4.6 (Ubuntu) PHP/5.5.3-1ubuntu2.1
X-Powered-By: PHP/5.5.3-1ubuntu2.1
Location: http://proxy.local:8080/redirect.html
Content-Length: 0
Content-Type: text/html
igalic@levix ~ % curl -i http://proxy.local:8080/index3.php
HTTP/1.1 302 Found
Date: Wed, 12 Feb 2014 17:25:09 GMT
Server: Apache/2.4.6 (Ubuntu) PHP/5.5.3-1ubuntu2.1
X-Powered-By: PHP/5.5.3-1ubuntu2.1
Location: http://proxy.local:8080/redirect.html
Content-Length: 0
Content-Type: text/html
LoadModule mpm_event_module /usr/lib/apache2/modules/mod_mpm_event.so
LoadModule authz_core_module /usr/lib/apache2/modules/mod_authz_core.so
LoadModule proxy_module /usr/lib/apache2/modules/mod_proxy.so
LoadModule proxy_http_module /usr/lib/apache2/modules/mod_proxy_http.so
ServerName proxy.local
Listen 8080
ErrorLog /home/igalic/src/puppet/proxy-repro/proxy/error_log
PidFile /home/igalic/src/puppet/proxy-repro/proxy/pid
DocumentRoot /home/igalic/src/puppet/proxy-repro/proxy
<Directory />
Require all denied
AllowOverride None
</Directory>
<Directory "/home/igalic/src/puppet/proxy-repro/proxy">
Require all granted
</Directory>
ProxyPass / http://backend.local:9090/
<Location />
ProxyPassReverse http://backend.local:9090/
#ProxyPassReverse /
</Location>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.