[Debian-l10n-devel] SSL support for the services on i18n.debian.net

Martijn van Oosterhout kleptog at gmail.com
Thu Aug 7 17:18:25 UTC 2008


On Thu, Aug 7, 2008 at 5:25 PM, Nicolas François
<nicolas.francois at centraliens.net> wrote:
> Hello Martijn,
>
> DDTSS has some hardcoded links using HTTP. Could you check if it's
> possible to dynamically use HTTP or HTTPS depending on the user requests?

I'm sure it's possible, but I'm not sure how. I use $ENV{HTTP_HOST}
and $ENV{SCRIPT_NAME} to construct the URLs but how do I tell if the
user is coming through HTTPS rather than HTTP?

Have a nice day,
-- 
Martijn van Oosterhout <kleptog at gmail.com> http://svana.org/kleptog/



More information about the Debian-l10n-devel mailing list