Community discussions

MikroTik App
 
plcoomer
newbie
Topic Author
Posts: 38
Joined: Fri Nov 18, 2005 3:41 pm
Location: Fort Worth, Texas, USA
Contact:

Hotspot login.html

Tue Aug 07, 2007 12:12 am

Where is the hotspot login.html file located? I want to redirect users who have not paid there & have a message for them to pay there Interenet service fees.
 
User avatar
ashish
Long time Member
Long time Member
Posts: 550
Joined: Mon Feb 12, 2007 5:50 am
Location: Virginia, USA.

Re: Hotspot login.html

Tue Aug 07, 2007 6:22 am

It is laying in file menu under Hotspot Directory
 
User avatar
sergejs
MikroTik Support
MikroTik Support
Posts: 6630
Joined: Thu Mar 31, 2005 3:33 pm
Location: Riga, Latvia
Contact:

Re: Hotspot login.html

Tue Aug 07, 2007 8:53 am

Note, that HotSpot should be enabled in this case.
 
joie
newbie
Posts: 46
Joined: Tue May 22, 2007 10:49 pm

Re: Hotspot login.html

Tue Aug 07, 2007 4:25 pm

I got a Q while we are at it.

I have only one login.html on my MT and if I surf to 10.5.50.1/login.html I see the page I have customized but if I surf to outside ip/login.html I see the default page, where is this page coming from. I have deleted every copy of login.html I can find except my customized one.
 
User avatar
sergejs
MikroTik Support
MikroTik Support
Posts: 6630
Joined: Thu Mar 31, 2005 3:33 pm
Location: Riga, Latvia
Contact:

Re: Hotspot login.html

Tue Aug 07, 2007 4:41 pm

You have to specify 'ip hotspot profile set profile html-directory=aaaa',
aaaa is folder, where you need to pur modified HotSpot page.
 
joie
newbie
Posts: 46
Joined: Tue May 22, 2007 10:49 pm

Re: Hotspot login.html

Tue Aug 07, 2007 5:45 pm

Did that, and it shows the custom page on the inside, but the outside shows the default.

Only reason i know this is we use the outside IP to connect to make our changes with dreamweaver and the page is different outside so we can't do it that way.
 
User avatar
sergejs
MikroTik Support
MikroTik Support
Posts: 6630
Joined: Thu Mar 31, 2005 3:33 pm
Location: Riga, Latvia
Contact:

Re: Hotspot login.html

Wed Aug 08, 2007 11:45 am

What do you mean by outside ?
Do you have one HotSpot server configured or few ?
 
joie
newbie
Posts: 46
Joined: Tue May 22, 2007 10:49 pm

Re: Hotspot login.html

Wed Aug 08, 2007 4:33 pm

The guy doing the custom login.html was linking to it fromt he hotspot through dreamweaver. He is outside the hotspot network so he connects to *public ip*/hotspot/login.html and the page he sees is the default login.html not the custom login.html you see by going to *private ip*/hotspot/login.html. I have checked files and there is only one login.html file on the hotspot controller but there sure is two different pages that show up depending on wether you hit the public or the private IP.

Who is online

Users browsing this forum: grabb0id, sali500, SiB, yxudous, ZachH83 and 211 guests