Re: proxy --> SSI

"K Lee" <[email protected]> Mon, 6 Oct 2003 07:20:06 -0700 (PDT)
Newsgroups gmane.comp.apache.mod-proxy
Message-ID <[email protected]>
> Kaushal Jha wrote:
>> hey guys,
>>             it is possible to  pipe the output of mod_proxy to
>> mod_include ,
>> I need to ssi the output of proxy,  any pointers ?
>>
>
> It's possible if you use Apache 2.
>
> Bill
>
>

I use something like this with 1.3.28 and reverse
proxy and it seems to work.

But Apache (Win32) crash frequently when
I browse pages with frames on VirtualHost
proxy + SSL + mod_gzip.

I don't know if this is becuase I didn't
recompile mod_gzip with -DEAPI.   Have not
try that one yet.   Search google found other
said -DEAPI is not important on mod_gzip, but
I don't see anyone mention puting mod_gzip
conf inside SSL VirtualHost.


<VirtualHost _default_:443>

    DocumentRoot "c:/apache/htdocs"
    ServerName Test_SSL
    ServerAdmin test@test_SSL.com
    ErrorLog logs/error_log
    TransferLog logs/access_443.log

    # Proxy the internal SLink site
    # Proxy only via SSL
    ProxyVia On
    ProxyPass /W http://10.0.0.100:9999/W
    ProxyPassReverse  /W http://10.0.0.100:9999/W

    ProxyPass /h http://10.0.0.100:9999/h
    ProxyPassReverse  /h http://10.0.0.100:9999/h


    SSLEngine on
    SSLCipherSuite
ALL:!ADH:!EXPORT56:RC4+RSA:+HIGH:+MEDIUM:+LOW:+SSLv2:+EXP:+eNULL
    SSLCertificateFile c:/Apache/conf/ssl/test.cert
    SSLCertificateKeyFile c:/apache/conf/ssl/test.key

    <Files ~ "\.(cgi|shtml|phtml|php3?)$">
        SSLOptions +StdEnvVars
    </Files>
    <Directory "c:/progra~1/apache/cgi-bin">
        SSLOptions +StdEnvVars
    </Directory>

    SetEnvIf User-Agent ".*MSIE.*" \
             nokeepalive ssl-unclean-shutdown \
             downgrade-1.0 force-response-1.0

    CustomLog logs/ssl_request_log \
              "%t %h %{SSL_PROTOCOL}x %{SSL_CIPHER}x \"%r\" %b"


    <IfDefine SSL_GZIP>
	    <IfModule mod_gzip.c>
		    include conf/mod_gzip.conf
	    </IfModule>
    </IfDefine>
</VirtualHost>



--
Browse, Analyze and document complex project source code such as PHP,
Apache, MySQL on
http://www.slink-software.com