www.webdeveloper.com
Results 1 to 4 of 4

Thread: problems with xp web server

Hybrid View

  1. #1
    Join Date
    Nov 2002
    Posts
    5

    problems with xp web server

    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!!!

    B

  2. #2
    Join Date
    Nov 2002
    Location
    NY, USA
    Posts
    731
    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.

  3. #3
    Join Date
    Nov 2002
    Posts
    1

    xp web server

    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.

  4. #4
    Join Date
    Nov 2002
    Posts
    5
    Thanks for that Pal, but im just using C .exe's for the cgi.
    Sorry i should have made it more clear.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center



Recent Articles