Hey,
does anyone know of any knows issues using xp as a web server. I recently tried to transfer my site to an xp machine with iis and cgi wont work correctly.
basically xp gets the paths confused.
we currently have all our html in the root of our web dir. and a sub dir called 'cgi' with our cgi in.
so, the html page calls a form with
action="cgi/webutil.exe?page.htm"
cgi runs and displays the results in page.htm, which it calls as though its local
ie.
fopen(page.htm)
this works in nt 2000 98 etc.
however in xp, cgi thinks this page is in the same dir as cgi.
ie
xp looks local to cgi for file
nt looks local to the calling page.
WHATS GOING ON!!!!
there must be a sonfig setting somewhere in iis/xp. surely microsoft cant just change the way it works!!!
there must be a sonfig setting somewhere in iis/xp. surely microsoft cant just change the way it works!!!
Never doubt what microsoft is capable of messing up. You may want to look into downloading the win version of apache and use that instead. The less you rely on ms the better.
You may want to check the directory that windows xp is searching for your cgi file.
if you are using windows as your OS then your config should show the directory as:
#!/c:../bin/cgi-bin instead of #!/usr/bin/cgi-bin
the ".." is the path leading to your /bin/cgi-bin or where every you may have your cgi files. See if this works for you.
Bookmarks