How to Use gdsset to Change Host Pointer
Article ID: 152998
Article Last Modified on 6/23/2005
APPLIES TO
- Microsoft Internet Information Server 1.0
This article was previously published under Q152998
We strongly recommend that all users upgrade to Microsoft Internet Information Services (IIS) version 6.0 running on Microsoft Windows Server 2003. IIS 6.0 significantly increases Web infrastructure security. For more information about IIS security-related topics, visit the following Microsoft Web site:
SUMMARY
When you create tag files for your Gopher server, you may have to change
the host name that the tag returns to the client. This article explains the
correct gdsset syntax for creating tag files with different host names.
For additional information on tag files and how to create a generic tag
file, please see the following article in the Microsoft Knowledge Base:
142559 Creating Tag Files for IIS Gopher Service
MORE INFORMATION
You are connecting to your Gopher server, gopher.server.edu. If you created
tag files for your server contents without the -h parameter, the tag files
were created with just your host name; therefore, any attempt to access a
tagged item will return host name instead of the fully qualified domain
name.
In those cases, to correct this problem, the tag file must be changed to
return "gopher.server.edu". The syntax for gdsset.exe is shown below.
To create a tag file pointing to a different host name
For a file:
"gdsset -l -s \filename -g0 -f "friendly name" -hgopher.server.edu
filename". Your host name for the tag should then show gopher.server.edu.
For a directory:
"gdsset -l -s \directory -g1 -f "friendly name" -hgopher.server.edu
\directory". Your host name for the tag should then show gopher.server.edu.
Keywords: kbhowto kbusage KB152998