<div dir="ltr">Without delving into the murky waters of editor preferences, an immediate win would be to use notepad++ instead, which is available here <a href="http://notepad-plus.sourceforge.net/uk/download.php">http://notepad-plus.sourceforge.net/uk/download.php</a>.<br>
<br><br><div class="gmail_quote">On Thu, Aug 21, 2008 at 6:09 PM, John Thornton <span dir="ltr"><<a href="mailto:jdthornton@ozemail.com.au">jdthornton@ozemail.com.au</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div link="blue" vlink="blue" lang="EN-AU">
<div>
<p><font color="black" face="Times New Roman" size="3"><span style="font-size: 12pt; color: black;">Yes, I was using notepad as my editor to
make my files!</span></font></p>
<p><font color="black" face="Times New Roman" size="3"><span style="font-size: 12pt; color: black;"> </span></font></p>
<p><font color="black" face="Times New Roman" size="3"><span style="font-size: 12pt; color: black;">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.</span></font></p>
<p><font color="black" face="Times New Roman" size="3"><span style="font-size: 12pt; color: black;">But I will follow your tip as notepad may
have its limitations here.</span></font></p>
<p><font color="black" face="Times New Roman" size="3"><span style="font-size: 12pt; color: black;"> </span></font></p>
<p><font color="black" face="Times New Roman" size="3"><span style="font-size: 12pt; color: black;">Hard to think of what else to use. I do
have PSpad installed if I wanted to use something a bit fancier. </span></font></p>
<p><font color="black" face="Times New Roman" size="3"><span style="font-size: 12pt; color: black;"> </span></font></p>
<p><font color="black" face="Times New Roman" size="3"><span style="font-size: 12pt; color: black;">John </span></font></p>
<p><font color="black" face="Times New Roman" size="3"><span style="font-size: 12pt; color: black;"> </span></font></p>
<div>
<div style="text-align: center;" align="center"><font face="Times New Roman" size="3"><span style="font-size: 12pt;" lang="EN-US">
<hr align="center" size="2" width="100%">
</span></font></div>
<p><b><font face="Tahoma" size="2"><span style="font-size: 10pt; font-family: Tahoma; font-weight: bold;" lang="EN-US">From:</span></font></b><font face="Tahoma" size="2"><span style="font-size: 10pt; font-family: Tahoma;" lang="EN-US">
Ian Macdonald [mailto:<a href="mailto:ickphum@gmail.com" target="_blank">ickphum@gmail.com</a>] <br>
<b><span style="font-weight: bold;">Sent:</span></b> Thursday, 21 August 2008
5:54 PM<br>
<b><span style="font-weight: bold;">To:</span></b> John Thornton<br>
<b><span style="font-weight: bold;">Cc:</span></b> Jacinta Richardson;
<a href="mailto:melbourne-pm@pm.org" target="_blank">melbourne-pm@pm.org</a><div class="Ih2E3d"><br>
<b><span style="font-weight: bold;">Subject:</span></b> Re: [Melbourne-pm]
interesting apache outcome</div></span></font><span lang="EN-US"></span></p>
</div>
<p><font face="Times New Roman" size="3"><span style="font-size: 12pt;"> </span></font></p>
<div>
<p><font face="Times New Roman" size="3"><span style="font-size: 12pt;"> </span></font></p>
<div>
<p><font face="Times New Roman" size="3"><span style="font-size: 12pt;">On Thu, Aug 21, 2008 at 5:49 PM, John Thornton <<a href="mailto:jdthornton@ozemail.com.au" target="_blank">jdthornton@ozemail.com.au</a>>
wrote:</span></font></p><div><div></div><div class="Wj3C7c">
<p><font face="Times New Roman" size="3"><span style="font-size: 12pt;">Hmm..<br>
<br>
I did as you suggested and got:<br>
<br>
Object not found!<br>
<br>
The requested URL was not found on this server. If you entered the URL<br>
manually please check your spelling and try again.<br>
<br>
If you think this is a server error, please contact the webmaster.<br>
Error 404<br>
localhost<br>
08/21/08 17:44:37<br>
Apache/2.2.9 (Win32) DAV/2 mod_ssl/2.2.9 OpenSSL/0.9.8h mod_autoindex_color<br>
PHP/5.2.6<br>
<br>
***************<br>
So I don't know. It seems to me that there is one difference between the<br>
files that have succeeded as CGI browser formats in the explore CGI box:<br>
<br>
the successful ones are listed as CGI files whereas the ones I tried such as<br>
hello.cgi are still listed as text documents.<br>
<br>
Thanks anyway<br>
Any more suggestions and I will try them out.<br>
<font color="#888888"><span style="color: rgb(136, 136, 136);"><br>
John</span></font></span></font></p>
</div></div></div><div><div></div><div class="Wj3C7c">
<p><font face="Times New Roman" size="3"><span style="font-size: 12pt;"><br>
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.<br>
<br>
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.<br>
<br>
<br clear="all">
<br>
-- <br>
Ian Macdonald</span></font></p>
</div></div></div>
</div>
</div>
</blockquote></div><br><br clear="all"><br>-- <br>Ian Macdonald<br>
</div>