4.24 Xxx Mar 00 00:00:00 2005
- updated cookbook example
- - fixed base for apache (Andrew Ruthven)
+ - fixed base for apache and https (Andrew Ruthven)
4.23 Wed Mar 09 20:00:00 2005
- no more regex actions in forward
no warnings 'uninitialized';
$c->req->{path} =~ s/^($loc)?\///;
my $base = URI->new;
- $base->scheme( $c->apache_request->protocol =~ /HTTPS/ ? 'https' : 'http' );
+ $base->scheme( $ENV{HTTPS} ? 'https' : 'http' );
$base->host( $c->apache_request->hostname );
$base->port( $c->apache_request->get_server_port );
my $path = $c->apache_request->location;