-
No, I can't think of any way. By the time the request hits the server, the host has been stripped off. You can get the IP, but you cannot differentiate virtual hosts.
HTTP 1.1 can do it because you are required to pass the host as part of the header.
The only thing you can do is have seperate ports, or seperate IPs. i.e.:
gopher://domain.com:70/ and gopher://domain.com:71/
/Sean...
2006-08-09 03:12:53 UTC by smaclennan
-
Is there any way for me to have 2 Gopher servers on 1 machine/IP? I would like gopher://1.domain.com/ show something different than gopher://2.domain.com/
Perhaps with 2 instances of gofish?
Regards,
Evert.
2006-08-08 18:32:53 UTC by meulie
-
Virtual hosts only apply to the web side of GoFish. Unfortunately, there is not enough information in a Gopher request to support virtual hosts.
Sorry for not making that clear.
/Sean.
2006-08-08 14:37:09 UTC by smaclennan
-
Hi all!
http://gofish.sourceforge.net/vhosts.html mentions that virtual hosts are supported in Gofish, but it is unclear whether this applies both to Gopher & WWW.
I have enabled virtual hosts, but when I go to gopher://subdir1.domain.com/ I still get the same as when going to gopher://domain.com/
How do I get virtual hosts working correctly?
Regards,
Evert.
2006-08-08 07:57:26 UTC by meulie
-
smaclennan committed patchset 43 of module gofish to the GoFish Gopher Server CVS repository, changing 42 files.
2005-10-22 03:28:14 UTC by smaclennan
-
Maintenance release.
2005-10-22 03:18:23 UTC by smaclennan
-
This is mainly a bug fix release. After over a year and a half since the last update, I think we can consider it stable.
2004-12-09 05:44:04 UTC by smaclennan
-
smaclennan committed patchset 42 of module gofish to the GoFish Gopher Server CVS repository, changing 13 files.
2003-05-25 02:01:02 UTC by smaclennan
-
This release mainly cleans up the html in the gopher to http gateway. You can also turn off the htmlization of gopher pages.
2003-05-25 01:59:06 UTC by smaclennan
-
smaclennan committed patchset 41 of module gofish to the GoFish Gopher Server CVS repository, changing 10 files.
2003-04-16 03:47:51 UTC by smaclennan