[Mod_gzip] SSL <-> mod_gzip proxy error - can't stat cgi file

Nigel Hamilton mod_gzip@lists.over.net
Tue, 15 Oct 2002 10:14:02 -0500


This is a multi-part message in MIME format.

--bound1034694842
Content-Type: text/plain
Content-Transfer-Encoding: 7bit

> 
>  > It seems simple HTML is being compressed and encrypted correctly.
>  > However, when I access the CGI script via SSL I get the above
>  > 404 error .. can't find or stat error.
>  > Any ideas?
> 
>  not really - only some questions:
> 
>  How are you using mod_proxy?

I'm using it in a similar way to the SSL MiniHowTo:

# httpd.conf
# the SSL server is listening on 446

Listen 446

<VirtualHost _default_:446>
ErrorLog logs/error_log
TransferLog logs/access_log
DocumentRoot /home/search/web/html

# pass SSL requests through to backend
ProxyRequests on
ProxyPass / http://turbo10.com:44300/
ProxyPassReverse / https://turbo10.com:446/
mod_gzip_on No

# ssl stuff snipped
</VirtualHost>                                  


# this virtual host pre-compresses content for consumption
# by front end server
# here is the virtual host that should do the compression
# it inherits mod_gzip config from the main server

Listen 44300
<VirtualHost _default_:44300>
DocumentRoot /home/search/web/html
ServerName turbo10.com
Alias /cgi-bin/ /home/search/web/cgi-bin/
PerlModule Apache::Registry
<Location /perl>
SetHandler perl-script
PerlHandler Apache::Registry
Options ExecCGI
allow from all
PerlSendHeader On
</Location>
</VirtualHost>


>  Maybe you tell it to cache content, and your CGI script doesn't
>  satisfy some requirements of this mod_proxy usage?
> 

Hmmm ... I'm not setting it to Cache content however I am using mod_perl?

I wonder if there is a bug with mod_proxy + mod_perl?

>  Which Apache version are you running?

1.3.22

>  There have been broken mod_proxy versions around in the 1.3.2x
>  range - maybe you should move on to 1.3.27 and try again.
> 

Ok ... I'll have a look at that.

At the moment I'm trying to get it to work with Mod_Rewrite instead. Has anyone had any luck with this?

Any help is much appreciated.


Nigel

> Regards, Michael
> 
> 
> _______________________________________________
> mod_gzip mailing list
> mod_gzip@lists.over.net
> http://lists.over.net/mailman/listinfo/mod_gzip

--bound1034694842--