Author Topic: links to other port  (Read 1533 times)

0 Members and 1 Guest are viewing this topic.

mike

  • Guest
links to other port
« on: March 21, 2011, 04:22:20 AM »
i have some local servers on other port (ftp/downloader etc)
how i can add url links to hfs VFS to that port?

if my comp have only local IP (NAT)
and gate-server some time change extrenal IP to other

mike

  • Guest
Re: links to other port
« Reply #1 on: March 21, 2011, 04:34:19 AM »
i try to use
http://%ip%:27003
but this insert IP of browser, not server

Offline rejetto

  • Administrator
  • Tireless poster
  • *
  • Posts: 12949
    • View Profile
Re: links to other port
« Reply #2 on: March 21, 2011, 12:22:01 PM »
try this
{.substring||:|%host%.}

mike

  • Guest
Re: links to other port
« Reply #3 on: March 22, 2011, 03:44:32 AM »
in HFS Set Url:
http://{.substring||:|%host%.}:1234

on browser form other comp get error on http://{.substring||:85/
Server not found

very strange adress

and i try
http://%host%:1234/gui/
but this link to http://ip-server-hfs:port-server-hfs/gui/
but need port of the other local server 1234!!!!

how i can use only IP part of server without port of HFS????
(i have not standart-80 port)

Offline rejetto

  • Administrator
  • Tireless poster
  • *
  • Posts: 12949
    • View Profile
Re: links to other port
« Reply #4 on: March 22, 2011, 01:32:28 PM »
are you using version 2.2 ?
the solution i told you requires 2.3, you can find on the forum, first topic at http://www.rejetto.com/forum/index.php/board,33.0.html

to solve with 2.2 you should go for a totally different solution, probably using javascript

mike

  • Guest
Re: links to other port
« Reply #5 on: March 23, 2011, 03:45:54 AM »
i have last beta! and that solution dont work

mike

  • Guest
Re: links to other port
« Reply #6 on: March 23, 2011, 03:56:14 AM »
and i use default skin, all setup from hfs interface:
1 Right Mouse Button
2 New Link
example (from other comp)


Offline rejetto

  • Administrator
  • Tireless poster
  • *
  • Posts: 12949
    • View Profile
Re: links to other port
« Reply #7 on: March 23, 2011, 01:59:43 PM »
ok, i found out.
the text in the link is preserved as it is, by design, but i guess this is a choice that's not good for links.
Next release (277) will solve your problem.
Anyway, you will have to include the initial http:// in the link, or the protocol that applies to your case.

mike

  • Guest
Re: links to other port
« Reply #8 on: March 23, 2011, 02:30:48 PM »
ok, thanks
I will wait :)
remind that server-IP should be wothout port

Offline rejetto

  • Administrator
  • Tireless poster
  • *
  • Posts: 12949
    • View Profile
Re: links to other port
« Reply #9 on: March 23, 2011, 05:01:04 PM »
that's what the {.substring.} is for, it cut out the port part