External Hotspot (Captive Portal) page - Which varialbe

hi all,
Wonder if somebody can help me with this issue, which I believe is quite simple but I just dont get behind it :slight_smile:

I have copied the below script onto the Mikrotik 333 root directory/login.html and get now successfully redirected (what I want :smiley: )

#html#
#head##title#Hotspot Solutions#/title##/head#
#body#
$(if chap-id)
#noscript#
#center##b#JavaScript required. Enable JavaScript to continue.#/b##/center#
#/noscript#
$(endif)
#center#If you are not redirected in a few seconds, click ‘continue’ below#br#
#form name=“redirect” action=“http://172.16.0.8/radiusmanager/login.html” method=“post”#
#input type=“hidden” name=“mac” value=“$(mac)”#
#input type=“hidden” name=“ip” value=“$(ip)”#
#input type=“hidden” name=“username” value=“$(username)”#
#input type=“hidden” name=“link-login” value=“$(link-login)”#
#input type=“hidden” name=“link-orig” value=“$(link-orig)”#
#input type=“hidden” name=“error” value=“$(error)”#
#input type=“hidden” name=“chap-id” value=“$(chap-id)”#
#input type=“hidden” name=“chap-challenge” value=“$(chap-challenge)”#
#input type=“hidden” name=“link-login-only” value=“$(link-login-only)”#
#input type=“hidden” name=“link-orig-esc” value=“$(link-orig-esc)”#
#input type=“hidden” name=“mac-esc” value=“$(mac-esc)”#
#input type=“submit” value=“continue”#
#/form#
#script language=“JavaScript”#
#!–
document.redirect.submit();
//–#
#/script##/center#
#/body#
#/html#

Now the tricky part lol

as login.html on my fedora system I have the ORIGINAL login file from the mikrotik router but get the following screen:

imageshack.us/photo/myimages/688/loginj.jpg

(Note the error on the top left and bottom center) and I cant use the username or password to logon.
If i copy that ORIGINAL file back onto the router board and load the captive portal page from the router all works fine…

How can I get an external page running?!

Best regards,
Chris

This wiki covers a login.html redirect to a remote server login.php page.
http://wiki.mikrotik.com/wiki/HotSpot_external_login_page

If you have any questions after reading it, post them.