tsnet on Mac doesn't follows htaccess rewrite rule

classic Classic list List threaded Threaded
6 messages Options
Reply | Threaded
Open this post in threaded view
|

tsnet on Mac doesn't follows htaccess rewrite rule

dunbarx via use-livecode
Hello,

 

LC 8.1.7: I have updates for one of my programs (Win & Mac) on my webserver
located. Because it's a shared webserver I wanted to put my updates to AWS
S3, since AWS has a better performance and a web server actually isn't a
file hosting server. Now the update request of all my programs out there at
my customers point to my webserver. I put a rewrite rule into my htaccess to
point the update requests to AWS. That worked instantly great with my
windows program, but my mac program stays at "connecting to server" and
doesn't goes on downloading the update file. Obviously the Mac version of
tsnet doesn't follow a htaccess rewrite rule.

 

Can anybody confirm this?

Can I differentiate a htaccess rule by the system of the client request, so
that I could at least redirect all windows request to AWS and let the Mac
requests stay on my Webserver as a partial workaround?

 

Thanks for any ideas

Tiemo

 

 

 

_______________________________________________
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
Reply | Threaded
Open this post in threaded view
|

AW: tsnet on Mac doesn't follows htaccess rewrite rule

dunbarx via use-livecode
Additional question:
Does anybody knows, what user-agent is being sent by "load url" and does it
differs from Win to Mac, so that I could create a rewrite condition in my
htaccess?

Thanks
Tiemo

-----Ursprüngliche Nachricht-----
Von: use-livecode [mailto:[hidden email]] Im Auftrag
von Tiemo Hollmann TB via use-livecode
Gesendet: Mittwoch, 4. April 2018 15:42
An: LiveCode User Liste senden <[hidden email]>
Cc: Tiemo Hollmann TB <[hidden email]>
Betreff: tsnet on Mac doesn't follows htaccess rewrite rule

Hello,

 

LC 8.1.7: I have updates for one of my programs (Win & Mac) on my webserver
located. Because it's a shared webserver I wanted to put my updates to AWS
S3, since AWS has a better performance and a web server actually isn't a
file hosting server. Now the update request of all my programs out there at
my customers point to my webserver. I put a rewrite rule into my htaccess to
point the update requests to AWS. That worked instantly great with my
windows program, but my mac program stays at "connecting to server" and
doesn't goes on downloading the update file. Obviously the Mac version of
tsnet doesn't follow a htaccess rewrite rule.

 

Can anybody confirm this?

Can I differentiate a htaccess rule by the system of the client request, so
that I could at least redirect all windows request to AWS and let the Mac
requests stay on my Webserver as a partial workaround?

 

Thanks for any ideas

Tiemo

 

 

 

_______________________________________________
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
Reply | Threaded
Open this post in threaded view
|

Re: tsnet on Mac doesn't follows htaccess rewrite rule

dunbarx via use-livecode
A user agent is being sent??

Bob S


> On Apr 4, 2018, at 06:51 , Tiemo Hollmann TB via use-livecode <[hidden email]> wrote:
>
> Additional question:
> Does anybody knows, what user-agent is being sent by "load url" and does it
> differs from Win to Mac, so that I could create a rewrite condition in my
> htaccess?
>
> Thanks
> Tiemo
>
> -----Ursprüngliche Nachricht-----

_______________________________________________
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
Reply | Threaded
Open this post in threaded view
|

AW: tsnet on Mac doesn't follows htaccess rewrite rule

dunbarx via use-livecode
Isn't?

-----Ursprüngliche Nachricht-----
Von: use-livecode [mailto:[hidden email]] Im Auftrag von Bob Sneidar via use-livecode
Gesendet: Mittwoch, 4. April 2018 16:53
An: How to use LiveCode <[hidden email]>
Cc: Bob Sneidar <[hidden email]>
Betreff: Re: tsnet on Mac doesn't follows htaccess rewrite rule

A user agent is being sent??

Bob S


> On Apr 4, 2018, at 06:51 , Tiemo Hollmann TB via use-livecode <[hidden email]> wrote:
>
> Additional question:
> Does anybody knows, what user-agent is being sent by "load url" and
> does it differs from Win to Mac, so that I could create a rewrite
> condition in my htaccess?
>
> Thanks
> Tiemo
>
> -----Ursprüngliche Nachricht-----

_______________________________________________
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
Reply | Threaded
Open this post in threaded view
|

AW: tsnet on Mac doesn't follows htaccess rewrite rule

dunbarx via use-livecode
In reply to this post by dunbarx via use-livecode
FYI: As far, as a short test showed, LiveCode is sending two different user agents (if you don't overwrite the http headers). User agent: "LiveCode (Win32)" and "LiveCode (MacOS)". So probably I will be at least able to redirect my Windows requests to another host.
Tiemo


-----Ursprüngliche Nachricht-----
Von: use-livecode [mailto:[hidden email]] Im Auftrag von Bob Sneidar via use-livecode
Gesendet: Mittwoch, 4. April 2018 16:53
An: How to use LiveCode <[hidden email]>
Cc: Bob Sneidar <[hidden email]>
Betreff: Re: tsnet on Mac doesn't follows htaccess rewrite rule

A user agent is being sent??

Bob S


> On Apr 4, 2018, at 06:51 , Tiemo Hollmann TB via use-livecode <[hidden email]> wrote:
>
> Additional question:
> Does anybody knows, what user-agent is being sent by "load url" and
> does it differs from Win to Mac, so that I could create a rewrite
> condition in my htaccess?
>
> Thanks
> Tiemo
>
> -----Ursprüngliche Nachricht-----

_______________________________________________
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
Reply | Threaded
Open this post in threaded view
|

Re: tsnet on Mac doesn't follows htaccess rewrite rule

dunbarx via use-livecode
oic user agent means something other than what I was thinking. For me an agent is a local listening process.

Bob S


> On Apr 5, 2018, at 02:16 , Tiemo Hollmann TB via use-livecode <[hidden email]> wrote:
>
> FYI: As far, as a short test showed, LiveCode is sending two different user agents (if you don't overwrite the http headers). User agent: "LiveCode (Win32)" and "LiveCode (MacOS)". So probably I will be at least able to redirect my Windows requests to another host.
> Tiemo


_______________________________________________
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