[semi OT] htaccess file question

Matthias Rebbe | M-R-D matthias_livecode_150811 at m-r-d.de
Sun Jul 19 15:42:41 EDT 2015


Hi jbv,


try the following in your .htaccess file:

RewriteEngine on 
RewriteRule ^(.*).irev$ $1.lc [L]


Regards,

Matthias



> Am 19.07.2015 um 14:21 schrieb jbv at souslelogo.com:
> 
> Hello list
> I have different apps used by clients that make requests to LC scripts on
> a server. All this stuff is a few years old and all scripts urls are in
> the .irev format. I would like to use instead new .lc scripts without
> having to rewrite, recompile and redistribute the apps.
> Can I use the htaccess file to have all url requests ending with .irev
> triggering the .lc scripts instead (similar scripts but using the most
> recent engine) ?
> If yes, how to ?
> The main reason behind that is that I've been told that .irev scripts use
> the legacy engine, which is plagued with random bugs...
> 
> Thanks in advance
> jbv
> 
> 
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode





More information about the use-livecode mailing list