}
$redir .= '?' . join( '&', @params );
}
-
+ if($c->config->{require_ssl}->{'no_cache'}) {
+ $c->config->{require_ssl}->{$type} = undef;
+ }
return $redir;
}
https => 'secure.mydomain.com',
http => 'www.mydomain.com',
remain_in_ssl => 0,
+ no_cache => 0,
};
# in any controller methods that should be secured
page, you can set this option to 1. By default, this option is disabled and
users will be redirected back to non-SSL mode as soon as possible.
+ no_cache
+
+If you have a wildcard certificate you will need to set this option if you are
+using multiple domains on one instance of catalyst.
+
=head1 METHODS
=head2 require_ssl
Andy Grundman, <andy@hybridized.org>
+=head1 CONTRIBUTORS
+
+Simon Elliott <simon@browsing.co.uk> (support for wildcards)
+
=head1 COPYRIGHT
This program is free software, you can redistribute it and/or modify it under