From 35e6bbe1acb7aead34b1f40cbe9c4dbd524ee57b Mon Sep 17 00:00:00 2001 From: Philip Sargent Date: Mon, 8 Jul 2024 18:48:49 +0200 Subject: [PATCH] comment about gpx files --- urls.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/urls.py b/urls.py index 6b79ab5..f75975b 100644 --- a/urls.py +++ b/urls.py @@ -55,6 +55,11 @@ todo = ''' # not yet restored all the functions. Some may have never been fully implemented in # the first place and what they were intended to provide is obscure. + +# WHen running on the server, apache intercepts all teh /expofiles/ files so troggle never sees them, +# so the "content type" is set by whatever apache thinks it should be. Which means .gpx files +# get treated as XML and the web browser fails to do anything usefull + if settings.EXPOFILESREMOTE: expofilesurls = [ path('', expofiles_redirect, name="expofiles_redirect"), # to http://expo.survex.com/expofiles