[Melbourne-pm] interesting apache outcome

John Thornton jdthornton at ozemail.com.au
Thu Aug 21 01:09:18 PDT 2008


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

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


More information about the Melbourne-pm mailing list