{"issue":{"state":"open","created_at":"2011-11-29T20:29:38Z","updated_at":"2011-11-29T20:29:40Z","user":{"gravatar_id":"256406243346b9253f8610fb1d1e05f6","id":1215373,"url":"https://api.github.com/users/importer","avatar_url":"https://secure.gravatar.com/avatar/256406243346b9253f8610fb1d1e05f6?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","login":"importer"},"comments":2,"body":"Hey,\n\nIn regard to the \"Relative path to the Contao directory\" setting stored in $GLOBALS['TL_CONFIG']['websitePath']\n\nWould it reasonable to allow a second value to be set for use on HTTPS connections?\nA common case where this is needed is on hosting services which provide a shared SSL certificate.\nIn such cases, the certificate is typically available through some arbitrary domain name and hence, when accessed, requires a path prefix specific to your account.\n\nSetting this as the global prefix for your Contao installation works.\nHowever, it leaves a messy looking result, and should probably be avoided when not necessary.\nHaving your hosting account username displayed in the URL is undesirable, and is even a potential security risk.\nHowever, logging into and using the Contao backend over plain-text is also quite a security risk.\n\nSo, the cleanest solution would probably require the ability to define an alternate prefix for use on HTTPS connections.\n\nIs this a possibility?\n\nAs far as i can tell, it looks like the easiest point to use such a value would be to add a condition\nin initialise.php where TL_PATH is defined, testing $this->Environment->ssl\n\nThanks,\nSamJ\n\n--- _Originally created by samjetski on March 4th, 2011, at 04:55pm (ID 2909)_","assignee":null,"number":2909,"id":2392350,"labels":[{"name":"Feature","color":"4183c4","url":"https://api.github.com/repos/contao/import/labels/Feature"},{"name":"framework","color":"e6e6e6","url":"https://api.github.com/repos/contao/import/labels/framework"}],"pull_request":{"patch_url":null,"html_url":null,"diff_url":null},"title":"Different relative path for HTTPS (eg: for shared SSL certificates)","closed_at":null,"html_url":"https://github.com/contao/import/issues/2909","url":"https://api.github.com/repos/contao/import/issues/2909","milestone":null},"action":"created","comment":{"created_at":"2011-11-29T20:29:40Z","updated_at":"2011-11-29T20:29:40Z","user":{"gravatar_id":"87d2e5aefadcb310f9155df28c2b3582","id":1192057,"url":"https://api.github.com/users/leofeyer","avatar_url":"https://secure.gravatar.com/avatar/87d2e5aefadcb310f9155df28c2b3582?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","login":"leofeyer"},"body":"--- _Originally closed on March 5th, 2011, at 11:47am_","id":2946335,"url":"https://api.github.com/repos/contao/import/issues/comments/2946335"}}