mod_perl2, LWP and https

2009-04-08 Thread jmcaricand
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

GoogleBot

2009-04-07 Thread jmcaricand
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

[no subject]

2009-04-07 Thread jmcaricand
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