AW: htaccess rewrite rule to https let my apps stop working

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

AW: htaccess rewrite rule to https let my apps stop working

Mike Kerner via use-livecode
I used the rewrite conditions to https from Matthias in the root of my
domain and build a new LC 8.1.5 standalone including the revsecurity.dll.
like Tom pointed out, but I still get an error.
The return value of my php is surprisingly some garbage html code instead of
my php return value and "the result" of my put URL statement is: " tsneterr:
HTTP response code 401 returned from server".
The only "special" thing I can see on my domain is, that I have another
htaccess in the directory of my PHPs, with a password protection for this
sub-dir, which works since years fine without this rewrite condition. The
"401" error (authentication failed) points to this password protection in
the sub-htaccess.
But I don't see the relation of the rewrite condition in the root htaccess
to this password authentication in the php directory. There is the end of my
server knowledge.
Can anybody shed some light on this?
Thanks
Tiemo


-----Urspr√ľngliche Nachricht-----
Von: use-livecode [mailto:[hidden email]] Im Auftrag
von tbodine via use-livecode
Gesendet: Freitag, 18. August 2017 16:47
An: [hidden email]
Cc: tbodine <[hidden email]>
Betreff: Re: AW: htaccess rewrite rule to https let my apps stop working

T.

Had a similar experience while migrating my site to https. What I found was
my standalones were missing the revsecurity.dll external. After rebuilding
those to include revsecurity.dll, the standalones were able to contact my
site and access stacks and other files there without changing my links from
http to https, since the htaccess was managing that.

Notes: On Windows, that must be at the same level as the standalone exe
itself rather than the externals folder. And codesign your externals as well
as standalones.

HTH,
Tom B.

 





--
View this message in context:
http://runtime-revolution.278305.n4.nabble.com/htaccess-rewrite-rule-to-http
s-let-my-apps-stop-working-tp4718561p4718572.html
Sent from the Revolution - User mailing list archive at Nabble.com.

_______________________________________________
use-livecode mailing list
[hidden email]
Please visit this url to subscribe, unsubscribe and manage your subscription
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


_______________________________________________
use-livecode mailing list
[hidden email]
Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode