rejetto forum

Software => HFS ~ HTTP File Server => Topic started by: mike on March 21, 2011, 04:22:20 AM

Title: links to other port
Post by: mike 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
Title: Re: links to other port
Post by: mike on March 21, 2011, 04:34:19 AM
i try to use
http://%ip%:27003
but this insert IP of browser, not server
Title: Re: links to other port
Post by: rejetto on March 21, 2011, 12:22:01 PM
try this
{.substring||:|%host%.}
Title: Re: links to other port
Post by: mike 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)
Title: Re: links to other port
Post by: rejetto 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
Title: Re: links to other port
Post by: mike on March 23, 2011, 03:45:54 AM
i have last beta! and that solution dont work
Title: Re: links to other port
Post by: mike 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)

Title: Re: links to other port
Post by: rejetto 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.
Title: Re: links to other port
Post by: mike on March 23, 2011, 02:30:48 PM
ok, thanks
I will wait :)
remind that server-IP should be wothout port
Title: Re: links to other port
Post by: rejetto on March 23, 2011, 05:01:04 PM
that's what the {.substring.} is for, it cut out the port part