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 - 1001questions

Pages: [1]
In other words: IF, incoming IP address request =, serve up: "filename.htm" (as your home page) INSTEAD OF: "default file mask"  Can this be added or implemented into HFS as a network event?

thanks again.

1001 questions

Thanks for all your help! But a "redirect" won't work for my application. I need to stay in the same "URL". Are you sure there is no way to serve up a different "home page" (i.e. different default file mask in the same directory) if a certain event takes place? (i.e. a request from a specific IP Address) I am no programmer, but it doesn't seem (to me anyway) to be that complicated to implement in the HFS application the following code: IF "a certain condition" (i.e. request from a specific IP address) THEN "serve up" "filename.htm" as the default file mask, ELSE "default file mask does not change

Again, thanks for all you help to this point.

1001 questions

I can't get the redirect to work. What am I doing wrong?
This is my code:( "INDEX02.HTM" is in the same directory as my default index file.)  thanks, 1001 questions


{.if| {. %ip% = .}{. {.cut|-1||%url%.} = /INDEX02.htm .} |{:
  {.add header|location: /my/other/path.}

With the "Event Scripts" option: How do change my default file mask based upon a certain incoming IP Address? Example: IF a certain incoming IP address is: blah, blah, blah, then set default file mask to: blah, blah, blah, thanks

1001 questions

Programmers corner / HFS File Server Version 2.3, #284 beta
« on: May 26, 2013, 02:35:27 AM »
There must be someone out there that knows how network events work in version 2.3 beta #284? It would be most appreciated if somebody could direct me on how to: execute the "script command line" in HFS.EVENTS, when the incoming "requested GET" to "myserver" is not a browsing request, but is a "requested GET" only seeking to linkup to a image file on "myserver"? --i.e. (example) <img src=""> (this being the incoming request to my server!) The network event: [request] before the "script command line" in HFS.EVENTS  does not work! MY script command line DOES NOT get executed! It DOES get executed with a regular browsing request, though, so there is not a problem with my "script command line" --Somebody please help me on this. It would be most appreciated. thanks


Programmers corner / Network Events, 2.3 beta #284
« on: May 18, 2013, 06:39:20 PM »
Is a http request that is only trying to link to a image file on my server (i.e. <img src="">) a supported network event under the beta 2.3. version? Please help me on this?

thanks in advance


Beta / HFS 2.3 beta (284)
« on: May 11, 2013, 03:14:29 PM »
This version DOES NOT WORK AFTER DOWNLOADED! The 2.2f version works fine, but 2.3 beta (284) DOES NOT ALLOW INCOMING CONNECTIONS THROUGH PORT 80. When doing a: SELF-TEST, THE ERROR MESSAGE: "Sorry, the test is unavailable at the moment" Even if, ALL firewalls are turned off!

Beta / Re: HFS File Server Version 2.3. beta
« on: May 10, 2013, 09:00:44 PM »
What port is hfs284.exe supposed to run on. (2.3 beta)  I can't get the server to connect on port 80. Comes back with port 8080. Says the self-test is not available now. please help?

Beta / Re: HFS File Server Version 2.2f
« on: May 05, 2013, 09:34:12 PM »
Where can I get 2.3?

Sorry for the stupid question, but I don't find the download?


Beta / HFS File Server Version 2.2f
« on: May 05, 2013, 04:22:15 PM »
Under: menu > other options > Where is the: "edit event scripts" tab???? I am running the lasted version I presume: 2.2f



Programmers corner / Re: Port 80 redirect to specific URL?
« on: May 03, 2013, 06:39:33 PM »
Where do I insert this code? In the edit HTML template?

thanks 1001questions

Programmers corner / Port 80 redirect to specific URL?
« on: May 02, 2013, 11:31:55 PM »
How do I redirect all http port 80 incoming traffic to a specific URL - with the HTTP File Server?



Pages: [1]