Remove Mikrotik word from ERROR: Gateway Timeout

I have Mikrotik routerOS 4.2. I have blocked access to the router page 192.168.1.1. and I get the following error message:

**ERROR: Gateway Timeout

While trying to retrieve the URL http://192.168.1.1/:\
\

  • Connection timed out

    Your cache administrator is webmaster.
    Generated Fri, 02 Jan 1970 00:29:31 GMT by 192.168.3.1 (Mikrotik HttpProxy)**

How can I remove Mikrotik word from this?

I think you can change that in
/ip proxy
set cache-administrator=NewName

wouldn’t that just change the name “webmaster” to “NewName”? :slight_smile:

Can you really change the word “Mikrotik”? I don’t think you can…

Well, you can if there’s a way to change the built-in error page to your own error page, with pictures and all. Is it possible? :slight_smile:

yes this has change webmaster to the NewName

You can remove this whole line by editing and removing “$(signature)” from webproxy/error.html under files section.

I don’t have webproxy folder in Mikrotik

I have error.html in hotspot folder bat it does has Mikrotik or $(signature)

Try to run

/ip proxy reset-html

I do not want to reset anything I just want to remove the word “Mikrotik”

In case you do not have webproxy/error.html file under /file

/ip proxy reset-html

will make one. Then you can dowload this error.html file with FTP, edit, and upload back where it was.

It worked ; thank you

IS this work with MK V3.22

No, this feature was added in v3.28

How can we upgrade our system from 3.22 to 3.28?

Still waiting for experts suggestion.

you could spend your time waiting for experts suggestion on reading the wiki or a manual…

Ouch, that’s harsh… :laughing:

But seriously though, you REALLY don’t know how to upgrade your routerOS? Wow…

Ehm… Try reading the mikrotik wiki, or maybe the download page? There should be something there…

i tried wiki but couldnt find the related topic.
if u know how can i upgrade my Os 3.2 to 4.2 so please write me.

Thanks

Google “wiki mikrotik upgrade”.
http://wiki.mikrotik.com/wiki/Upgrading_RouterOS

what else variables are available in error.html, except of ‘url’, ‘status’, ‘error’ and ‘admin’? can I match against local port of proxy? I need to have different messages for ‘deny’ proxy rules - how can I distinguish among them?

Currently ‘url’, ‘status’, ‘error’, ‘admin’ and ‘signature’ are the only variables. I think that ‘signature’ could be more divided into smaller parts like ‘time’ and ‘program’. Do you think there should be any other variables? To give different messages to proxy deny rules you can try to play around:

$(if error==‘Access Denied’)
‘access denied text’
$(elseif)
‘default text’
$(endif)