From: Wolfram Schneider Date: Tue, 11 Feb 2014 09:53:14 +0000 (+0000) Subject: move apache example config from tools/apache2 to examples/apache2 X-Git-Tag: 1.0.0~1497^2~1 X-Git-Url: http://git.indexdata.com/?p=mkws-moved-to-github.git;a=commitdiff_plain;h=8a7a13591b97d9677d84d0df6025a71591c047b8 move apache example config from tools/apache2 to examples/apache2 --- diff --git a/examples/apache2/example-dev-ssl-px b/examples/apache2/example-dev-ssl-px new file mode 100644 index 0000000..04106db --- /dev/null +++ b/examples/apache2/example-dev-ssl-px @@ -0,0 +1,48 @@ +# A very simple configuration to proxy the irspy + + + ServerName example.indexdata.com + ServerAlias example-dev.indexdata.com + + + SSLEngine on + SetEnvIf User-Agent ".*MSIE.*" nokeepalive ssl-unclean-shutdown + + #SSLCertificateFile /etc/ssl/certs/indexdata.com/id.cert + #SSLCertificateKeyFile /etc/ssl/certs/indexdata.com/id.key + + SSLProxyEngine on + + + # Remove the X-Forwarded-For header, as the proxy appends to it, + # and we need a clean ip address for the statistics + # RequestHeader unset X-Forwarded-For early + # Never mind + + # ProxyRequests off + + Order deny,allow + Allow from all + + + ProxyPreserveHost On + ProxyPass / http://dart/ + ProxyPassReverse / http://dart/ + + # Experiments to hunt down bu 3716 + # Increase buffer size so that we don't go for chunked stuff + # ProxyIOBufferSize 8192 + # Didn't help + # Disable gzipping + # RequestHeader unset Accept-Encoding + # Didn't help + # ProxyReceiveBufferSize 8192 + # Didn't help + SetEnv force-proxy-request-1.0 1 + SetEnv proxy-nokeepalive 1 + + # These are the logs for the proxying operation + ErrorLog /var/log/apache2/example-dev-ssl-error.log + CustomLog /var/log/apache2/example-dev-ssl-access.log combined + + diff --git a/examples/apache2/example-ssl-px b/examples/apache2/example-ssl-px new file mode 100644 index 0000000..159b28b --- /dev/null +++ b/examples/apache2/example-ssl-px @@ -0,0 +1,48 @@ +# A very simple configuration to proxy the irspy + + + ServerName example.indexdata.com + ServerAlias example-dev.indexdata.com + + + SSLEngine on + SetEnvIf User-Agent ".*MSIE.*" nokeepalive ssl-unclean-shutdown + + #SSLCertificateFile /etc/ssl/certs/indexdata.com/id.cert + #SSLCertificateKeyFile /etc/ssl/certs/indexdata.com/id.key + + SSLProxyEngine on + + + # Remove the X-Forwarded-For header, as the proxy appends to it, + # and we need a clean ip address for the statistics + # RequestHeader unset X-Forwarded-For early + # Never mind + + # ProxyRequests off + + Order deny,allow + Allow from all + + + ProxyPreserveHost On + ProxyPass / http://caliban/ + ProxyPassReverse / http://caliban/ + + # Experiments to hunt down bu 3716 + # Increase buffer size so that we don't go for chunked stuff + # ProxyIOBufferSize 8192 + # Didn't help + # Disable gzipping + # RequestHeader unset Accept-Encoding + # Didn't help + # ProxyReceiveBufferSize 8192 + # Didn't help + SetEnv force-proxy-request-1.0 1 + SetEnv proxy-nokeepalive 1 + + # These are the logs for the proxying operation + ErrorLog /var/log/apache2/example-ssl-error.log + CustomLog /var/log/apache2/example-ssl-access.log combined + + diff --git a/tools/apache2/example-dev-ssl-px b/tools/apache2/example-dev-ssl-px deleted file mode 100644 index 04106db..0000000 --- a/tools/apache2/example-dev-ssl-px +++ /dev/null @@ -1,48 +0,0 @@ -# A very simple configuration to proxy the irspy - - - ServerName example.indexdata.com - ServerAlias example-dev.indexdata.com - - - SSLEngine on - SetEnvIf User-Agent ".*MSIE.*" nokeepalive ssl-unclean-shutdown - - #SSLCertificateFile /etc/ssl/certs/indexdata.com/id.cert - #SSLCertificateKeyFile /etc/ssl/certs/indexdata.com/id.key - - SSLProxyEngine on - - - # Remove the X-Forwarded-For header, as the proxy appends to it, - # and we need a clean ip address for the statistics - # RequestHeader unset X-Forwarded-For early - # Never mind - - # ProxyRequests off - - Order deny,allow - Allow from all - - - ProxyPreserveHost On - ProxyPass / http://dart/ - ProxyPassReverse / http://dart/ - - # Experiments to hunt down bu 3716 - # Increase buffer size so that we don't go for chunked stuff - # ProxyIOBufferSize 8192 - # Didn't help - # Disable gzipping - # RequestHeader unset Accept-Encoding - # Didn't help - # ProxyReceiveBufferSize 8192 - # Didn't help - SetEnv force-proxy-request-1.0 1 - SetEnv proxy-nokeepalive 1 - - # These are the logs for the proxying operation - ErrorLog /var/log/apache2/example-dev-ssl-error.log - CustomLog /var/log/apache2/example-dev-ssl-access.log combined - - diff --git a/tools/apache2/example-ssl-px b/tools/apache2/example-ssl-px deleted file mode 100644 index 159b28b..0000000 --- a/tools/apache2/example-ssl-px +++ /dev/null @@ -1,48 +0,0 @@ -# A very simple configuration to proxy the irspy - - - ServerName example.indexdata.com - ServerAlias example-dev.indexdata.com - - - SSLEngine on - SetEnvIf User-Agent ".*MSIE.*" nokeepalive ssl-unclean-shutdown - - #SSLCertificateFile /etc/ssl/certs/indexdata.com/id.cert - #SSLCertificateKeyFile /etc/ssl/certs/indexdata.com/id.key - - SSLProxyEngine on - - - # Remove the X-Forwarded-For header, as the proxy appends to it, - # and we need a clean ip address for the statistics - # RequestHeader unset X-Forwarded-For early - # Never mind - - # ProxyRequests off - - Order deny,allow - Allow from all - - - ProxyPreserveHost On - ProxyPass / http://caliban/ - ProxyPassReverse / http://caliban/ - - # Experiments to hunt down bu 3716 - # Increase buffer size so that we don't go for chunked stuff - # ProxyIOBufferSize 8192 - # Didn't help - # Disable gzipping - # RequestHeader unset Accept-Encoding - # Didn't help - # ProxyReceiveBufferSize 8192 - # Didn't help - SetEnv force-proxy-request-1.0 1 - SetEnv proxy-nokeepalive 1 - - # These are the logs for the proxying operation - ErrorLog /var/log/apache2/example-ssl-error.log - CustomLog /var/log/apache2/example-ssl-access.log combined - -