Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Messages - Mars

Pages: [1] 2 3 ... 117
HFS ~ HTTP File Server / Re: I just lost my precious template
« on: March 08, 2018, 12:55:41 PM »
Instead of [Edit..., Change file..., Restore default], there better be [New file..., Select file..., Edit..., Use internal template].

No interest in making such a change, it's been years that this system is in place and corresponds to the use that is made of it. Edit, restore and default are quite explicit.

Currently, the program is only saying "Customized template" in the bottom panel. Make it more useful by showing template filename there instead, or "internal template". Maybe even move the whole "HTML template" menu as the context menu of that line (currently it's just a shortcut for Edit), so that the current state and manipulation controls will be in a single place.

The display of "Customized template" simply means that the content of the model used is different from the default model, when there is nothing it is that necessarily the model used is similar to the internal resource or is a copy of the file "default.tpl" whatever its content.

you will find below the link to a hybrid program for editing old templates

if you want a preview of what was the edition of the template at a certain time, visit this version


HTML & templates / Re: HFS - Template Builder
« on: March 08, 2018, 12:15:43 PM »
Template editor old formula, not adapted to the current models, but allows to start a simple project

new sharing of the program. zip archive as attachment. no support for lack of sources of the program.

HFS ~ HTTP File Server / Re: I just lost my precious template
« on: March 08, 2018, 07:23:36 AM »
there is no ready-made file named hfs.tpl for any new installation, when you also want to restore the default template, the content is extracted from an internal resource named defaultTpl,

 a particularity in the design of hfs wants that if an external file default.tpl exists, then this file is taken as a template without creating hfs.tpl

if fileExists('default.tpl') then

if i can suggest a trick, it is to create its custom template and name it default.tpl, so it will never be overwritten by an update and it always ready for any reinitialization, no hfs.tpl is created until you edit it from the hfs menu (F6 key)

if a modification has to be made to the template, edit simply default.tpl with your favorite editor ;)

Rejetto's philosophy for designing HFS is that the simpler it is, the more efficient it is.

if a path does not lead directly to where you want to go, before you build a new road, you will see if there are not a few detours you can use.

HFS ~ HTTP File Server / Re: I just lost my precious template
« on: March 06, 2018, 05:53:46 PM »
to avoid a loss of a custom template, you must proceed as it

- save your template under a different name than hfs.tpl, for example "my template.tpl"

run hfs.exe and drag-drop "my template.tpl" on the root of file
you must be asked to install the template and have to answer yes

if by bad luck, an update or any other reason causes the return of hfs.tpl as a model, then just repeat the drag-drop

HFS is based on the English language, but it does not support Unicode

the section [special: strings] is intended to change the template messages that will be seen from a web browser, but some HFS interface system messages can not be translated because they are integrated into the program

for a use adapted to your language, please refer to the Chinese section

    rejetto forum »    Software »    HFS ~ HTTP File Server »    Other languages »    中文 - Chinese

the forum is in the migration phase, the internal links of some attachments have not yet been updated on the new URL notation

HFS ~ HTTP File Server / Re: Login Button leads to Error Message
« on: January 24, 2018, 12:57:24 PM »
first: never use  "set user/pass on context menu", preferable use of access permissions (folder properties menu) to assign permissions to some users or groups, or to guests or anyone.
you can also check "List protected items only ...." in Menu> Virtual file system" to hide the resources to any user who does not have a right of access to thoses

Italiano / Re: Probabile tentativo di eseguire comandi da remoto
« on: January 23, 2018, 12:24:47 PM »
tradotto con google tanslate:

hfs è teoricamente protetto per non eseguire comandi come la macro del modello {. ... .}, potrebbero esserci varianti che non sono mai state testate o segnalate per rejetto. Dovresti avere la riga di comando completa del tentativo fraudolento di analizzare gli effetti, se non hai trovato una traccia di un programma, è che probabilmente il tentativo è fallito.

cosa fare mentre si attende che rejetto diventi consapevole della propria avventura è registrare il server di hosting in una lista di ban, così come l'indirizzo ip corrispondente in un firewall

HFS ~ HTTP File Server / Re: Sort by default
« on: January 23, 2018, 12:13:00 PM »
the sorting option imposed in the hfs menu can be bypassed by a little known option (forgotten would be the best suited)

in the model, create a new section named [sort by]

it must have only one letter among them  n , e , s , t , d , c ,

   'n': sort by NAME
   'e': sort by EXTENSION
   's': sort by SIZE
   't': sort by TIME
   'd': sort by DOWNLAODs
   'c': sort by COMMENTs

to invert default sorting it is enough to precede the letter by one  "!"

if you wish to reverse only the direction, leaving the choice defined in the application, then put only the character  ! without any letter

for example, if you have to sort by reversed HITS, then use this formulation
[sort by]

if you put it in the main template, it will apply to all the web pages, if you only want it to act on some folders, it will have to be placed in the diff-template part of those folders individually

Italiano / Re: Probabile tentativo di eseguire comandi da remoto
« on: January 17, 2018, 12:28:02 PM »
Certainly, this is an attempt to hack the server

the request included in the script come from china

IP Address:
Region:       Chengdu (CN)

the file contains the following schema TR.Crypt.Xpack.srkhd

look at this report

the best thing to do is to have a good antivirus always updated, and to block the domain name of the link as well as the associated ip

I suppose that is a direct access to hfs without going through Cloudflare, if it is so, then the headers are not initiated and remain empty

compare the dump requests obtained in the hfs log for both cases, directly  by and trough Cloudflare

I did not understand what's wrong.

did you get information for the last two lines or are they blank as below?

15:01:38 request
>    Cloudflare IP       :
>    CF-Connecting-IP :
>    X-Forwarded-For  :

on the hfs-log, do a right click and select "requests dump" in the "log what" list  and  you must obtain the list of the complete header as in the log

to query an header entrance there is this macro  {.header|xxxxxxxx.}

{.add to log| request
   Cloudflare IP       : %ip%
   CF-Connecting-IP : {.header|CF-Connecting-IP.}
   X-Forwarded-For  : {.header|X-Forwarded-For.}

Everything else / Re: Broken links
« on: October 10, 2017, 06:57:12 AM »
thank you for the report

I immediately inform Rejetto, while waiting for some of the help is available here

HFS ~ HTTP File Server / Re: Controlling the Cache-Control header
« on: August 26, 2017, 12:30:41 PM »
For your information, only the lower half of Belgium speaks natively French. :)
And those of that half who know him refuse to use it to differentiate themselves from their compatriots of the south  ;D ;D
No-cache and  no-store  must be removed

{.add header|Cache-Control: must-revalidate, max-age=-1, public.}

public necessary must appear in the header

Pages: [1] 2 3 ... 117