rejetto forum

Allowed referrer question

0 Members and 1 Guest are viewing this topic.

Offline bobxzx

  • Occasional poster
  • *
    • Posts: 9
    • View Profile
I'm using 2.2f as a traffic monitor for another site I have that links to my hfs to show me what pages of my site are getting accessed. I see visitors on the log when they go thru my site but I also see web crawlers just sweeping ip's for open ports that I want to keep out of hfs. I can plug my front page addy into the allowed referrer but that will only show me when my front page is accessed & I have dozens of other pages on that site that get ignored using just the main page addy. Is there a way to get the allowed referrer to recognize all addy extensions of my site similar to ip blocking where you can block a string with the asterisk? A search of your forum didn't give any results on this topic so I hope this isn't a redundant question.


Offline bmartino1

  • Tireless poster
  • ****
    • Posts: 901
  • I'm only trying to help i mean no offense.
    • View Profile
    • My HFS Google Drive Shared Link
Sounds like you need to setup a spider bit text file and some other security.

Out of curiosity, why are you still running 2.2f, the latest stable version is 2.3m ?

As for the crawling bots first setup a robottxt file and at it to the root of hfs:
https://varvy.com/robottxt.html

Files i try to keep and share can be found on my google drive:

https://drive.google.com/drive/folders/1FOWi3Gqaldld6JLXvZ-biDv4RSguf0IC


Offline bobxzx

  • Occasional poster
  • *
    • Posts: 9
    • View Profile
The reason I'm still on an older version is I sometimes like to have 2 independent instances of hfs running on different ports but last time I upgraded that was not possible, the 2nd opened hfs would swap the html with the 1st or visa versa, somehow they were intertwined instead of independent of each other. I forget now but it was a nuisance I couldn't tolerate. As far as adding the robot file to the root, that's something I'm not familiar how to execute & not sure if the mentioned effects are what I really am after. Modifying the html is as far as I'm savvy enough to go with it right now. Appreciate the feedback.


Offline LeoNeeson

  • Tireless poster
  • ****
    • Posts: 729
  • Status: On hiatus (sporadically here)
    • View Profile
    • twitter.com/LeoNeeson
The reason I'm still on an older version is I sometimes like to have 2 independent instances of hfs running on different ports but last time I upgraded that was not possible, the 2nd opened hfs would swap the html with the 1st or visa versa, somehow they were intertwined instead of independent of each other.
You should keep in mind that to have 2 independent instances of HFS running, you must have a copy of HFS.exe in 2 different folders and each instance should save the configuration stored in a .ini file (also known as portable mode). You could do that, by going (in Expert mode) to Menu > Save options > to file. This is the way to go to not 'mix' or swap the HTML or the templates of one version with another. Another thing: before upgrading, always make a full backup of your HFS folders. If you want to start from zero in portable mode, you could put an empty hfs.ini along with the HFS.exe executable, and HFS will save all the configurations there.

If only after doing those steps the error continues, then perhaps you could have found a bug that should be fixed (before HSF v2.4 is released). The best thing you can do is share privately with Rejetto (by sending him an email to a@rejetto.com or a private message here), all the details and the steps to reproduce that error (he will confirm you if that is a bug of HFS or not). Your contribution on this, is important and makes HFS a even greater software. :)
HFS in Spanish (HFS en Español) / How to compile HFS (Tutorial)
» Currently taking a break, until HFS v2.4 get his stable version.