[Melbourne-pm] interesting apache outcome

John Thornton jdthornton at ozemail.com.au
Thu Aug 21 02:32:31 PDT 2008


Right, I feel that I might not be far off success. I used notepad++ and
managed to get the file recognised as a .cgi file just as the files for cgi
are that worked.

 

I named it new433.cgi because I already had another hello.cgi file. 

 

ThenI got this which I have not seen before:

 


Server error!


The server encountered an internal error and was unable to complete your
request. 

Error message: 
couldn't create child process: 720003: new433.cgi 

If you think this is a server error, please contact the webmaster
<mailto:admin at localhost> . 


Error 500

localhost <http://localhost/> 
08/21/08 19:22:04
Apache/2.2.9 (Win32) DAV/2 mod_ssl/2.2.9 OpenSSL/0.9.8h mod_autoindex_color
PHP/5.2.6 

 

Hmm, the only child process that I have met is in graphics where you try to
get graphics making graphics a bit like a math iteration. 

I really don't think that I am far off getting this working for appearing in
the browser. I mean, a lot of things have gone right now. The cgi file is in
the right directory and recognised as a cgi file. 

 

Interestingly, when I tested new433.cgi in the command windows box I got a
bit of a funny CGI message rather than success. 

 

But where to go from here? I dont know. None of this stops me from
continuing with the other VTC lessons on perl; but I am just limited for the
moment in seeing the fruit of my learning in the browser. 

 

It's interesting anyway. Thanks for help again and that notepad ++   that is
a cool editor. 

 

John

 

  _____  

From: Ian Macdonald [mailto:ickphum at gmail.com] 
Sent: Thursday, 21 August 2008 6:16 PM
To: John Thornton
Cc: Jacinta Richardson; melbourne-pm at pm.org
Subject: Re: [Melbourne-pm] interesting apache outcome

 

Without delving into the murky waters of editor preferences, an immediate
win would be to use notepad++ instead, which is available here
http://notepad-plus.sourceforge.net/uk/download.php.



On Thu, Aug 21, 2008 at 6:09 PM, John Thornton <jdthornton at ozemail.com.au>
wrote:

Yes, I was using notepad as my editor to make my files!

 

Notepad is in general a good editor to use. For instance it worked in making
.pl files that tested correctly for hello world in my command line.

But I will follow your tip as notepad may have its limitations here.

 

Hard to think of what else to use. I do have PSpad installed if I wanted to
use something a bit fancier. 

 

John 

 

  _____  

From: Ian Macdonald [mailto:ickphum at gmail.com] 
Sent: Thursday, 21 August 2008 5:54 PM
To: John Thornton
Cc: Jacinta Richardson; melbourne-pm at pm.org


Subject: Re: [Melbourne-pm] interesting apache outcome

 

 

On Thu, Aug 21, 2008 at 5:49 PM, John Thornton <jdthornton at ozemail.com.au>
wrote:

Hmm..

   I did as you suggested and got:

    Object not found!

The requested URL was not found on this server. If you entered the URL
manually please check your spelling and try again.

If you think this is a server error, please contact the webmaster.
Error 404
localhost
08/21/08 17:44:37
Apache/2.2.9 (Win32) DAV/2 mod_ssl/2.2.9 OpenSSL/0.9.8h mod_autoindex_color
PHP/5.2.6

***************
So I don't know. It seems to me that there is one difference between the
files that have succeeded as CGI browser formats in the explore CGI box:

the successful ones are listed as CGI files whereas the ones I tried such as
hello.cgi are still listed as text documents.

Thanks anyway
Any more suggestions and I will try them out.

John


That sounds interesting; what editor are you using to create the files? It
sounds like it might be Notepad or something else that likes to silently add
.txt to all file names.

In the explorer window, go to the Tools menu and choose Folder Options. Now
select the View tab and find "Hide extensions for known file types" and make
sure this is not ticked. Click Apply, Ok, refresh the window and see if some
of the files now display as name.cgi.txt. If so, remove the ".txt" part and
try again.



-- 
Ian Macdonald




-- 
Ian Macdonald

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.pm.org/pipermail/melbourne-pm/attachments/20080821/dbf0d3cd/attachment-0001.html>


More information about the Melbourne-pm mailing list