rejetto forum
Software => HFS ~ HTTP File Server => Topic started by: KooolaNL on March 26, 2010, 10:30:10 PM
-
i was wondering is it possible 2 host multiple websites in HFS like in apache Vhost
so kooola.nl loads the index.html in d:/hfs/kooola
n ziggo-haters.nl loads the index.html in d:/hfs/ziggo-haters
-
no, sorry.
or not easily.
-
:(
:(
::)
-
what iff i pay u ?
-
can do.
write me at support@rejetto.com
-
Please consider adding support for VHOSTS maybe as multiple root / directories where one of them is a default. I could be wrong, but looks like the existing framework of the "Virtual" File System could be utilized to implement it.
Virtual Hosts is a rather basic function of a webserver, more important than uploading or interactive file listings with icons.
-
in all technical, you can already do this.. the only issue is that it require running another HFS execution...
You will have to go in to the HFS menu and make sure that the "only 1 instance" is not checked...
I've found that if you start in C:\HFS PAth\ and add HFS1 Make a HFS and Save the VItural Files system, then copy that folder and a new folder in the same path lets say HFS2
, then load the file system and make changes... you now have 2 HFS exe to run a vitural file system... ITs not a praticale as opening a confi like in apache, but is accomplishable!...
Example:
c:\webroot\hfs1\hfs.exe -running site name.com:80
and
C:\webroot\hfs2\hfs.exe -runnin site name.com:8080
both HFS exe will be runnin at the same time... different save to xxx.VFS
-
This starts 2 servers on different port numbers. They are more reliable: if one instance crashes, the other continues running.
But. Problem is that if a visitor doesn't want to type the port number or forgets it, he gets onto an unrelated web page.
-
You are correct J7n, unless there is a template way to restart if another instance is not running... etc..etc..
the solution these peps came up with was:
http://community.spiceworks.com/topic/276806-creating-a-dns-record-with-a-port-number
having a specific server site that would be a redirect with aherf links(this one would be the site you would never want to go down...
can't seem to find it, but it is available for html template to go to link and it it replies 404, then it will go to a different link...
( I know its possible, seen it / used it once... )
see here for more info...:
http://www.wordstream.com/blog/ws/2010/06/02/how-to-find-and-fix-broken-links
http://www.yourhtmlsource.com/myfirstsite/basiclinks.html
------------
here it is:
http://www.rapidtables.com/web/tools/redirect-generator.htm
-
Virtual Hosts is a rather basic function of a webserver, more important than uploading or interactive file listings with icons.
HFS is mainly a file server, more than a webserver