Hotspot: custom request type like /somehting is possible?

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:Customizing_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.

Up.

Help, please.