From john at youcantspoilababy.org Thu Jul 21 00:14:54 2016 From: john at youcantspoilababy.org (john at youcantspoilababy.org) Date: Wed, 20 Jul 2016 17:14:54 -0500 Subject: automx.html not working Message-ID: <030d73df5ff8043106e1d7094101092e@youcantspoilababy.org> I've installed the current version of automx, and then cloned the automx mobile branch and put automx.html and its related directories into my web root. I can visit the page, see the images etc. and it looks fully functional, but when I click the button nothing happens on iOS and on Chrome on Windows. How can I troubleshoot this further? I'm trying to simplify mail configuration for iOS users. Thanks -------------- next part -------------- An HTML attachment was scrubbed... URL: From c at roessner-network-solutions.com Thu Jul 21 11:09:13 2016 From: c at roessner-network-solutions.com (=?utf-8?Q?Christian_R=C3=B6=C3=9Fner?=) Date: Thu, 21 Jul 2016 11:09:13 +0200 Subject: automx.html not working In-Reply-To: <030d73df5ff8043106e1d7094101092e@youcantspoilababy.org> References: <030d73df5ff8043106e1d7094101092e@youcantspoilababy.org> Message-ID: <78AAFC2D-A0C0-4884-9F62-35539C4F5ECA@roessner-network-solutions.com> > Am 21.07.2016 um 00:14 schrieb john at youcantspoilababy.org: > > I've installed the current version of automx, and then cloned the automx mobile branch and put automx.html and its related directories into my web root. > > > I can visit the page, see the images etc. and it looks fully functional, but when I click the button nothing happens on iOS and on Chrome on Windows. > > > How can I troubleshoot this further? I'm trying to simplify mail configuration for iOS users. Does your browser block things? JavaScript, ...? Normally the button should at least do an action. If nothing happens, it looks like something blocks it. Logging can be turned on in the automx config file. Depending on the way you use automx, your web server or a service (uwsgi i.e.) should log requests. Logging in /etc/automx.cfg: [automx] debug = yes logfile = /var/log/automx/automx.log Make sure, the destination file and folder is writeable ny the automx user (in case of Apache something like www-data...) Christian -- Erlenwiese 14, 36304 Alsfeld T: +49 6631 78823400, F: +49 6631 78823409, M: +49 171 9905345 USt-IdNr.: DE225643613, https://www.roessner-network-solutions.com -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 2449 bytes Desc: not available URL: From john at youcantspoilababy.org Fri Jul 22 04:46:50 2016 From: john at youcantspoilababy.org (john at youcantspoilababy.org) Date: Thu, 21 Jul 2016 21:46:50 -0500 Subject: automx.html not working In-Reply-To: <78AAFC2D-A0C0-4884-9F62-35539C4F5ECA@roessner-network-solutions.com> References: <030d73df5ff8043106e1d7094101092e@youcantspoilababy.org> <78AAFC2D-A0C0-4884-9F62-35539C4F5ECA@roessner-network-solutions.com> Message-ID: I have logging enabled, but nothing is logged. All other typical automx activities are being logged (e.g. when I run automx-test, I see tons of good stuff), but nothing when I visit the site. No apache error log entries, or any other log entries as far as I can see. I've tried this in vanilla MSIE, Chrome, and Safari. Same thing in all - nothing happens when I click, no logs, nothing. Can you tell me more about how it functions? What's the javascript actually doing? I was going to read through it myself, but it appears obfuscated, and there's a ton of it. I did manage to assemble a work-around... but it's pretty lame. I just built a simple HTML form where the user enters their email, and upon submit it issues a post to the automx /mobileconfig page, resulting in a configured mobileconfig file getting downloaded and applied. It's crude, but then again, it's like 4 lines of HTML and accomplishes everything I needed. That said, it feels like the wrong answer. Thanks On 2016-07-21 4:09 am, Christian R??ner wrote: >> Am 21.07.2016 um 00:14 schrieb john at youcantspoilababy.org: >> >> I've installed the current version of automx, and then cloned the automx mobile branch and put automx.html and its related directories into my web root. >> >> I can visit the page, see the images etc. and it looks fully functional, but when I click the button nothing happens on iOS and on Chrome on Windows. >> >> How can I troubleshoot this further? I'm trying to simplify mail configuration for iOS users. > > Does your browser block things? JavaScript, ...? > > Normally the button should at least do an action. If nothing happens, it looks like something blocks it. > > Logging can be turned on in the automx config file. Depending on the way you use automx, your web server or a service (uwsgi i.e.) should log requests. > > Logging in /etc/automx.cfg: > > [automx] > debug = yes > logfile = /var/log/automx/automx.log > > Make sure, the destination file and folder is writeable ny the automx user (in case of Apache something like www-data...) > > Christian -------------- next part -------------- An HTML attachment was scrubbed... URL: