Hi,
I wrote a proxy in mod_perl2. It uses LWP. It works fine with HTTP
protocol but failed with HTTPS :
Method Not Allowed
The requested method CONNECT is not allowed for the URL /.
Crypt::SSLeay's on my server. If I use a script Perl from command line,
LWP works with HTTPS.
Any idea ?
Thanks
Hi,
I use a PerlTransHandler on my server to get a file :
sub handler {
...
if ( $uri =~ /^\/sitemap.xml.gz$/ ) {
my $real_url = $r->unparsed_uri;
$real_url = '/static' . $real_url;
$r->proxyreq(1);
$r->uri($real_url);
$r->filename(sprintf "proxy:http://xx
Hi,
I use a PerlTransHandler on my server to get a file :
sub handler {
...
if ( $uri =~ /^\/sitemap.xml.gz$/ ) {
my $real_url = $r->unparsed_uri;
$real_url = '/static' . $real_url;
$r->proxyreq(1);
$r->uri($real_url);
$r->filename(sprintf "proxy:http://xx