[Catalyst] Force https in generated URIs

Tobias Klug tklug at hartle-klug.de
Thu Aug 4 15:34:53 GMT 2011

Yes I have already looked at it. The Plugin redirects to the
https-version of the page instead of just changing all links.

In my setup the catalyst server runs on http. The requests come from a
reverse proxy, that only accepts https-requests from the clients.
Therefore I need to force all generated URIs to be https.

I hope that clarifies my problem.

-- Tobias

On 04.08.2011 17:23, Jon wrote:
>> I am looking for a way to configure Catalyst in a way that all URIs
>> generated are forced to use https. The default behaviour seems to always
>> use the same scheme as the incoming request.
> Have you looked at C::P::RequireSSL?
> http://search.cpan.org/~agrundma/Catalyst-Plugin-RequireSSL-0.06/lib/Catalyst/Plugin/RequireSSL.pm
> - jon
> _______________________________________________
> List: Catalyst at lists.scsys.co.uk
> Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
> Searchable archive: http://www.mail-archive.com/catalyst@lists.scsys.co.uk/
> Dev site: http://dev.catalyst.perl.org/

More information about the Catalyst mailing list