Javascript on iOS not running when using .htaccess and .htpasswd

Associate
Joined
18 Oct 2002
Posts
2,055
Location
Southend-on-Sea
I've been developing a mobile web app that uses Highcharts to produce some custom reports.

Everything has worked fine until I applied folder level security using .htaccess and .htpasswd. Once this is in place, I get asked to login (which works) but once logged in, iOS devices only show the header and footer for each page and not the javascript generated content.

Works fine on Android and WM with security applied, also works fine in desktop browsers, but iOS just won't play ball. If I remove the security, everything works fine again.

Anyone aware of a similar issue or know why this is happening?

.htaccess code is:

Code:
AuthName "Protected Area"
AuthType Basic
AuthUserFile D:/xampp/kor/.htpasswd
require valid-user

.htpasswd code is bog standard, and clearly works as it allows me to login OK.

Anyone able to shine light on this issue?

Thanks.
 
Back
Top Bottom