Making a login.php file to use in the hotspot but not sure what file needs to be modified to tell the hotspot to redirect to login.php and not login.html.
Looking at redirect.html, its providing a variable link-redirect however, I do not know where to set that variable.
http://wiki.mikrotik.com/wiki/Manual:Customizing_Hotspot#Serving_Servlet_Pages
In redirect.html you can issue a redirect (JavaScript or meta refresh) to login.php. Don’t set a variable, redirect statically to a URL.
Keep in mind that while you can call the file whatever you want, you can’t put PHP in there. RouterOS doesn’t have a PHP interpreter. It’s not clear from your post whether login.php would be hosted on the router or an external server. PHP will only work on an external server.
Thanks Fewi
I will mode the file to make it run locally.