[Xitami] Cannot find CGI script
Jim Gardner
xitami@lists.xitami.org
Mon, 22 Oct 2001 02:16:30 -0700 (PDT)
--0-1963152090-1003742190=:45984
Content-Type: text/plain; charset=us-ascii
Can anyone please help me with a problem I'm having. I'm new to Xitami and I'm trying to get it to test a simple Perl script (I've only just started to leaen Perl). I've looked through the Xitami online FAQ with no luck. I am running v2.4d9 on a Windows Me machine. I haven't changed any of the settings, I simply downloaded and installed. I have also installed Perl (to the default directory of C:\Perl ) and have written an extremely simple script (just displays a line of text) which is located in the C:\Xitami\Webpages\cgi-bin directory. The script starts with the usual "#!C:/Perl/bin/perl" line (which is where the Perl interpreter is located). I have published my site locally to C:\Xitami\Webpages and I can navigate around the site perfectly by using http://localhost/index.html in my browser (MSIE 5.0). However when I click a button to run the cgi the browser cannot find it ("The page cannot be found" Error 400 - Bad request) even though the file is definitely there! The URL shows the correct address (" http://localhost/cgi-bin/firscript.cgi") and the file is also present when I look in Windows Explorer. Why does MSIE5.0 not find the script file???
I'm absoulutely stuck - it must be a simple problem but I don't know where to go next.
Regards
Jim Gardner
E-Mail (Home) jim@jimgardner.co.uk
---------------------------------
Do You Yahoo!?
Make a great connection at Yahoo! Personals.
--0-1963152090-1003742190=:45984
Content-Type: text/html; charset=us-ascii
<P>Can anyone please help me with a problem I'm having. I'm new to Xitami and I'm trying to get it to test a simple Perl script (I've only just started to leaen Perl). I've looked through the Xitami online FAQ with no luck. I am running v2.4d9 on a Windows Me machine. I haven't changed any of the settings, I simply downloaded and installed. I have also installed Perl (to the default directory of C:\Perl ) and have written an extremely simple script (just displays a line of text) which is located in the C:\Xitami\Webpages\cgi-bin directory. The script starts with the usual "#!C:/Perl/bin/perl" line (which is where the Perl interpreter is located). I have published my site locally to C:\Xitami\Webpages and I can navigate around the site perfectly by using <A target=_blank href="http://localhost/index.html">http://localhost/index.html</A> in my browser (MSIE 5.0). However when I click a button to run the cgi the browser cannot find it ("The page cannot be found" Error 400 - Bad request) even though the file is definitely there! The URL shows the correct address (" http://localhost/cgi-bin/firscript.cgi") and the file is also present when I look in Windows Explorer. Why does MSIE5.0 not find the script file???</P>
<P>I'm absoulutely stuck - it must be a simple problem but I don't know where to go next.</P><BR><BR><FONT face="Comic Sans MS">Regards <BR><BR>Jim Gardner <BR><BR>E-Mail (Home) </FONT><A href="mailto:jim@jimgardner.co.uk"><FONT face="Comic Sans MS">jim@jimgardner.co.uk</FONT></A><p><br><hr size=1><b>Do You Yahoo!?</b><br>
Make a great connection at <a
href="http://rd.yahoo.com/mktg/mail/txt/tagline/?http://personals.yahoo.com" target="_blank">Yahoo! Personals</a>.
--0-1963152090-1003742190=:45984--