Ironworks Gaming Forum

Ironworks Gaming Forum (http://www.ironworksforum.com/forum/index.php)
-   General Conversation Archives (11/2000 - 01/2005) (http://www.ironworksforum.com/forum/forumdisplay.php?f=28)
-   -   Configuring the "Apache" Web Server (http://www.ironworksforum.com/forum/showthread.php?t=90424)

LennonCook 06-25-2004 11:39 PM

<span style="color: lightblue">Basically, I have a file I need to run as a CGI script. So, I looked through Apache's config, found that cgi-bin in the Apache folder is configured to run every file in it as a CGI. I put the file I need to run as a CGI into this folder, and try to go there in Firefox (by using WIZARD/cgi-bin/filename (WIZARD is the name of this computer on the network, and the name that Apache is configured to use). 10 minutes after I try to go there, Firefox is still "waiting for wizard". Meaning, basically, it isn't working - and this isn't a good thing. How would I fix the problem? Incase it matters, the file is a binary, not an ASCII, and I'm running Apache on Windows XP Pro.

Bungleau 06-26-2004 01:07 AM

IS your full path correct? IOW, is the file found in //wizard/cgi-bin/filename? If not, that may be the problem. Also, are you putting an http:// in front of it? Seems to me that might be required...

Don't know if I can be of much more help, but them's my thoughts.

LennonCook 06-26-2004 01:34 AM

<span style="color: lightblue">From the Apache config file:

ScriptAlias /cgi-bin/ "C:/Program Files/Apache Group/Apache2/cgi-bin/"

This should map the folder in quotes to wizard/cgi-bin . The HTTP is automatically appended by Firefox when I leave it out, but the same thing happens if I put it in.

Bungleau 06-26-2004 10:44 PM

What's the exact URL you're putting into Firefox? I'm not sure, but I suspect it's looking for c:\cgi-bin\filename instead of the full path.

Try putting the full explicit path to the file in the browser and see what happens.

LennonCook 06-26-2004 11:05 PM

<span style="color: lightblue">Ok, got it working. The program was trying to read a file that wasn't there. That problem now fixed, I've almost got this program working. [img]smile.gif[/img] Which is a good thing because it's due tommorow...

Bungleau 06-27-2004 12:04 AM

Cool! Good luck on it... [img]smile.gif[/img]


All times are GMT -4. The time now is 01:39 PM.

Powered by vBulletin® Version 3.8.3
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
©2024 Ironworks Gaming & ©2024 The Great Escape Studios TM - All Rights Reserved