rejetto forum

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 - mhoney

Pages: 1 2
I currently use an nginx reverse proxy and can pass the connecting ip.  I tried this with Apache and was never successful.

As a side note, HFS is always going to show the connection coming from the proxy IP address, but in HFS you can turn off logging of that connection and instead record the IP of the GET requests, which is what nginx passes and likely the address your interested in. 

An added bonus to using a reverse proxy is it can easily be setup to use free Letsencrypt SSL certs and the HFS server can remain standard HTTP.

Here's what you need nginx to pass in a custom header:

X-REAL-IP - $remote_addr
X-Forwarded-For $remote_addr
Host $host
X-Forwarded-Proto $scheme

HFS ~ HTTP File Server / Re: HFS showing as malware in antivirus
« on: December 16, 2020, 01:47:00 AM »
This is just a guess, but probably because it opens a port for listening.

HTML & templates / How to Speed up Rendering
« on: December 08, 2020, 03:54:46 PM »
Hi all,

Lately I've been working with HFS 2.4R6 and love it!  It seems quite stable and I like the new template.  I have a question though.... how can I speed up the rendering of a page?  I have a particular folder with 538 files in it.  They are all small .zip files, so no picture, audio or video, but it takes over 12 seconds to render on spinning rust, 6.7 seconds on an SSD and 5.4 seconds on NVME (PC is 8th Gen i7@4.2Ghz).  How can I make this faster?  Seems like a long time to wait for such a simple list with no comments.

Any suggestions are much appreciated.



Edit:  It appears that the delay could be most likely caused from sorting the files, they have pretty long names.

HFS ~ HTTP File Server / Re: favicon HFS ?
« on: November 30, 2020, 04:23:13 PM »
One thing I'd like to add to this thread is that you need to make sure you add the favicon.ico file to your VFS filesystem and set it so anyone can access it.  It still won't show in your directory listing, but without giving everyone access you will get a file not found error when you look at you browser debug console.

Like the subject says, if you rename a file or directory that has an existing comment you break the link and that info disappears.  It's still in the text file but doesn't get updated.

HFS ~ HTTP File Server / Re: Adding Icons
« on: June 16, 2016, 12:08:48 PM »
Thanks for the information LeoNeeson.  That is very close to what I was looking for.  If i can figure out how exactly it works on Windows then I will look elsewhere on how to translate that information into WINE.

Bug reports / Re: Icons Don't Survive HFS Restart
« on: June 15, 2016, 05:59:36 PM »
Thanks for the reply, but that has nothing to do with the issue.

HFS ~ HTTP File Server / Re: Adding Icons
« on: June 15, 2016, 05:45:01 PM »
I appreciate your input but none of it even remotely answers my specific questions.  Where do imported icons get stored?  What do the icons have to be named?  What type of file should the icons be?

If this feature of HFS isn't fully implemented or just doesn't work then let me know and I'll quit asking ;)

Bug reports / Icons Don't Survive HFS Restart
« on: June 15, 2016, 01:34:18 PM »
I've figured out how to add some icons to use with file mask association (Adding Icons doesn't seem to work under linux/wine) but if I exit the program and relaunch all the icons are gone.  I have made sure to save the filesystem before exiting but that doesn't seem to make a difference.

HFS ~ HTTP File Server / Re: Adding Icons
« on: June 14, 2016, 07:32:43 PM »
So if I put these files in the root of hfs, what should they be?  .gif, png, ico?  Does it matter what I name them?

HFS ~ HTTP File Server / Adding Icons
« on: June 14, 2016, 06:43:13 PM »
I am running HFS 2.3H Under Linux with Wine and am wondering how I can add icons?  I have tried using the add icons from the other options menu, but no matter what I try to add (.gif, .png, .ico) it always says 0 icons added. 

On a Windows machine I was able to add a PDF icon by dragging and dropping a pdf file onto hfs and it extracted the icon.  Where does it store these icons?  I don't mind adding the icons with windows then moving them to Linux.

Bug reports / Re: How to remove comment?
« on: October 31, 2015, 01:24:40 PM »
So there is no way to remove a comment once it has been added from the web interface?  What you purpose appears to turn comments off completely.

Bug reports / How to remove comment?
« on: October 30, 2015, 07:26:14 PM »
I hope this isn't a stupid question, but how do you get rid of a comment from the web interface?

HFS ~ HTTP File Server / Re: New version: 2.3g
« on: October 30, 2015, 03:02:36 PM »
Thank you for the update!!

Bug reports / Re: Descript.ion and Comment not cleaned up after moving file
« on: September 05, 2015, 02:25:42 PM »
I am creating the comment when uploaded from a web browser, so I believe that would write to descript.ion.  Regardless, shouldn't the comment always follow the file?

To be honest, I find the whole virtual stuff confusing and easy to break so I stay completely away from it.

Pages: 1 2