1
HTML & templates / Re: question
« on: March 25, 2023, 11:38:06 PM »i cant rename file to index.html but i can download and upload it as index.html lol"Just live with it"

Wait a minute...


See you next time, bye...
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.
i cant rename file to index.html but i can download and upload it as index.html lol"Just live with it"
do you know how i could allow uploading html files?Sorry, I was busy, and I couldn't answer...
is it possible to edit the baked in html or icon files of hfs?Yes, it's possible (this was answered on the FAQ, but requires being competent in HTML to not break things). This was answered several times on the forum.
is it possible to host a hfs server with an ipv6 public ip adress...Yes, it's possible (IPv6 is supported on both: HFS v2.4 and HFS 3)
...is it possible to port forward on a mobile networkThis is a very broad question (hard to answer question). Some mobile network operators use NAT, so the address you see is not directly pointing back to your device, while others block inbound port forwarding. It also depends on the device you use to connect to the mobile network (it's not the same thing using an Android or iPhone, than some 4G LTE USD dongle). Even if you say what device you use, your mileage may vary. If you have some networking knowledge, in case your mobile ISP blocks port forwarding, what you probably need is a reverse tunnel (it can be done doing a reverse SSH, and for that you need to rent a VPS). You could follow THIS guide if you are skilled with Linux. That's all I can help (covering all the details, gets too technical). Hope this helps.
Doing this stuff is very consuming, sometimes painful.I fully understand you, now more than ever.
there's no need to be "intentional".The Occam's razor principle was the perfect explanation (with the new HFS v3 you seek to 'simplify' the task of maintaining and bug-fixing, rather than waste time you don't have on v2). This principle covers the 'rule of simplicity' and also gives the idea that 'the simplest explanation is usually the best one'. Sorry for my previous message (it wasn't with malicious intent). Neither was a criticism towards you, but rather a message to the rest of users that expect overnight 'bug-fixing' of HFS v2's issues, ...and with your absence for many months, the sailors began to invent stories, LOL.
i'm just commenting to let you know what I think, i'm not angry or sadThat speaks well of you.
I had to remove from the source the part related to antiflood because it is bound to my databaseThat's fine (it's fair and understandable), and it's not quite important since it's unrelated to HFS (there are plenty PHP antiflood scripts on Google).
you have my email address, next time send me the link to your post if you want to catch my attention.Yeah, but I didn't want to bother you (I'll keep it in mind for next time)
2.4 beta 2 - The option.newfolder=0 works fineThank you, I will check the source code this weekend, and try to fill a bug report on the next days. My free spare time is limited, so don't expect this to be fixed soon (and also, Rejetto is not actively working on v2.x branch). That said, your report is very appreciated.
2.4 beta 3 - The option.newfolder=0 is ignored, "new folder" does not turn off
But why is option.newfolder=0 not working?The best way to 'catch' where this error was introduced, is to test each build backwards. First, my recommendation is making a backup of your config files .ini and .vfs, and then start testing builds: RC6, RC5, RC4, RC3, etc. until you find the working version. This way it is much easier to find where the bug is.
HFS 2.4.0 RC7 build #319
madmax leo my manFysack! it's been a long time since your visit on the forum. I'm wondering how are you (I hope you are doing well). HFS v2 needs your fixes!
[pre-filter-request]
{.add header|Expires: 0|if=
{.and
|{.match|*text/html*|{.header|Content-Type.}.}
.}
.}
[pre-filter-request]
{.if|
{.match|*html*|{.header|Content-Type.}.}|
{:
{.add to log|Web site served 2.}
{.add header|Expires: 2.}
:}
.}
.}
[+request]
{.disconnection reason|It seems to work since all UA have Mozilla|if=
{.and
|{.match|*Mozilla*|{.header|User-Agent.}.}
.}
.}
[+request]
{.disconnection reason|Whoa there, something is wrong here|if=
{.and
|{.match|*Mozilla*|{.header|Content-Type.}.}
.}
.}
[+request]
{.disconnection reason|It should work since there is no mysterious browser|if=
{.and
|{.match|*mysterious*|{.header|User-Agent.}.}
.}
.}
[pre-filter-request]
{.if|{.match|*text/html*|{.header|Content-Type.}.}|{:
{.add to log|Web page was served.}
{.add header|Expires: 1.}
:}.}