Rewrite rule

Hi all,

Currently i’m using this box as my hotspot gateway. But i would make some rewrite rule for our users to logout easy without put full URL.. let say my current mikrotik logout URL was http://www.myhotspot.com/logout, i want to change it into http://connection/logout or http://logout. . I’ve been trying to add this host manually at DNS settings (for http://connection), but it didn’t work.

The truth is, i have other hotspot gateway (which more expensive) that have this feature.
The logical of this rewrite rule is simple, when a browser send request for http://logout. it will be redirect into http://www.myhotspot.com/logout.. but the problem is i’m a newbee of this product…

Installster_at_office :blush:

Hi Installster,

All you need is put javascript in rstatus.html file. You can put any URL you like with the script.