In the httpd.conf file there is this explination
# ServerName allows you to set a host name which is sent back to clien
# your server if it's different than the one the program would get (i.
# "www" instead of the host's real name).
# Note: You cannot just invent host names and hope they work. The name
# define here must be a valid DNS name for your host. If you don't und
# this, ask your network administrator.
# If your host doesn't have a registered DNS name, enter its IP addres
# You will have to access it by its address (e.g., http://184.108.40.206
# anyway, and this will make redirections work in a sensible way.
# 127.0.0.1 is the TCP/IP local loop-back address, often named localho
# machine always knows itself by this address. If you use Apache stric
# local testing and development, you may use 127.0.0.1 as the server n
This will allow me to call http://localhost or http://myservername in the URL
In the same file you also need to make sure that your cgi-bin settings are correct..
# ScriptAlias: This controls which directories contain server scri
# ScriptAliases are essentially the same as Aliases, except that
# documents in the realname directory are treated as applications
# run by the server when requested rather than as documents sent t
+o the client.
# The same rules about trailing "/" apply to ScriptAlias directive
+s as to
ScriptAlias /cgi-bin/ "C:/Documents and Settings/Administrator/My
# "C:/Program Files/Apache Group/Apache/cgi-bin" should be changed
+ to whatever your ScriptAliased
# CGI directory exists, if you have that configured.
<Directory "C:/Documents and Settings/Administrator/My Documents/m
Allow from all
Your cgi script shoud go in this dir. On the windows platform make sure you have the #!perl.exe
line as the first line of your script, and that perl.exe is in your path.
Of all the things I've lost in my life, its my mind I miss the most.