Community discussions

MikroTik App
 
User avatar
FloSoft
just joined
Topic Author
Posts: 3
Joined: Mon Apr 27, 2020 1:57 pm

Hotspot: custom request type like /somehting is possible?

Mon Feb 15, 2021 11:37 am

Hi all,

I'm facing problems enabling a custom request to hotspot like `/something`.

I have already read again the docs in https://wiki.mikrotik.com/wiki/Manual:C ... ng_Hotspot.

I understand that the HotSpot servlet recognizes 5 different request types:
* remote host
* /
* /login
* /status
* /logout

What I need is to enable a new request type like `/something` because I need to capture some $(variables) like the device MAC.

Is that possible?

I tried to create a custom folder named `something` inside hotspot folder with a custom `index.html` file there but:
* `ip/something` -> does not work, redirects to `login.html`.
* `ip/something/` -> does not work, redirects to `login.html`.
* `ip/something/index.html` -> works.

Is there any solution that avoids the `/index.html` part in the url?

Thanks a lot.
 
User avatar
FloSoft
just joined
Topic Author
Posts: 3
Joined: Mon Apr 27, 2020 1:57 pm

Re: Hotspot: custom request type like /somehting is possible?

Tue Feb 16, 2021 4:54 pm

Up.

Help, please.

Who is online

Users browsing this forum: 1sko, nichky, olgale and 203 guests