Keep Server Online
If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.
or
A donation makes a contribution towards the costs, the time and effort that's going in this site and building.
Thank You! Steffen
Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
| |
|
Topic: http(s) and reverse https proxy |
|
Author |
|
Albert Wisse
Joined: 20 Jun 2007 Posts: 2
|
Posted: Tue 03 Jul '07 9:02 Post subject: http(s) and reverse https proxy |
|
|
I want to setup a dedicated caching http and reverse https proxy server with apache2. In this setup I want to enable only the necessary modules and strip down apache2.conf (debian) and other conf files to a bare minumum. Also this proxyserver must be a secure proxy server.
Has anbody already done this and wants to share the config files.
Kind Regards,
Albert Wisse |
|
Back to top |
|
James Blond Moderator
Joined: 19 Jan 2006 Posts: 7371 Location: Germany, Next to Hamburg
|
Posted: Tue 03 Jul '07 19:48 Post subject: |
|
|
Notice: This is a windows based apache forum So I hope we can help you in most questions.
This setup requires that libxml2 is installed on your pc
Code: |
LoadModule vhost_alias_module modules/mod_vhost_alias.so
LoadModule proxy_module modules/mod_proxy.so
LoadModule proxy_connect_module modules/mod_proxy_connect.so
LoadModule proxy_http_module modules/mod_proxy_http.so
LoadModule proxy_html_module modules/mod_proxy_html.so
ProxyPass /app http://192.168.178.2/
ProxyPassReverse /app http://192.168.178.2/
ProxyHTMLURLMap http://192.168.178.2/ /app
<Location /app>
ProxyPassReverse /
SetOutputFilter proxy-html
ProxyHTMLURLMap / /app/
ProxyHTMLURLMap /app /app
RequestHeader unset Accept-Encoding
</Location>
|
I don't know if there is a mod_proxy_html for debian or you have to compile it your self.
for setting up SSL you can search the forum.
For caching please consult the docs
http://httpd.apache.org/docs/2.2/caching.html
If there is another question you are welcome to ask again. |
|
Back to top |
|
|
|
|
|
|