gergelypolonkai-web-jekyll/_posts/2011-06-10-proxy-only-non-existing-files-with-mod-proxy-and-mod-rewrite.markdown
Gergely Polonkai 2f61b11a5a Move post code chunks to Gists
Also, remove highlight specific things from style.sass
2015-04-27 11:08:14 +02:00

784 B
Raw Blame History

layout title date tags permalink published author
post Proxy only non-existing files with mod_proxy and mod_rewrite 2011-06-10 14:20:43+00:00
apache
/blog/2011/6/10/proxy-only-non-existing-files-with-mod-proxy-and-mod-rewrite true
name email
Gergely Polonkai gergely@polonkai.eu

Today I got an interesting task. I had to upload some pdf documents to a site. The domain is ours, but we dont have access to the application server that is hosting the page yet. Until we get it in our hands, I did a trick.

I enabled mod_rewrite, mod_proxy and mod_proxy_http, then added the following lines to my apache config:

{% gist gergelypolonkai/47680bfa44eb29708f20 %}

Im not totally sure its actually secure, but it works for now.