× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



You're doing something that's keeping the data from being translated to ASCII. The best thing to do would be to post a sanitized version (make sure there are no user names, passwords, IP addresses, or real host names) of your httpd.conf.

Matt

-----Original Message-----
From: web400-bounces@xxxxxxxxxxxx [mailto:web400-bounces@xxxxxxxxxxxx] On Behalf Of Terry Anderson
Sent: Tuesday, September 04, 2007 9:36 AM
To: web400@xxxxxxxxxxxx
Subject: Re: [WEB400] CGIDEV2 & Page not Found.

Jon,
one of the most useful
things you can do when starting out with CGI applications
(assuming you are using IE) is to go into Internet Options
and from the "Advanced" tab deselect the laughable "Show
friendly HTTP error messages". You will then see exactly
what the browser is looking for.

I did this and what I got back was:

Õ–£@Æ–¤•„
L×n㈅@™…˜¤…¢£…„@äÙÓ@l¢@¦¢@•–£@†–¤•„@–•@£ˆ‰¢@¢…™¥…™KLa×n.

I am using IE 6.0.

All that happens when I run the program from the command line is the html script below flashes across the screen.

Content-type: text/html

<html>
<body>
Hello CGIDEV2
</body>
</html>


Thanks,

Terry Anderson



-----Original Message-----
From: web400-bounces+terrya=citation.net@xxxxxxxxxxxx
[mailto:web400-bounces+terrya=citation.net@xxxxxxxxxxxx] On
Behalf Of Jon Paris
Sent: Saturday, September 01, 2007 11:22 AM
To: web400@xxxxxxxxxxxx
Subject: Re: [WEB400] CGIDEV2 & Page not Found.


The problem is when I call the "Hello World" program I
created, I get "Page not found".

Unless you have already done this, one of the most useful
things you can do when starting out with CGI applications
(assuming you are using IE) is to go into Internet Options
and from the "Advanced" tab deselect the laughable "Show
friendly HTTP error messages". You will then see exactly
what the browser is looking for.

Most likely cause is that you have not compiled your new
program into the same library as the CGIDEV2 samples.

You can also debug simple CGI apps by simply calling the
program from the command line like any other program. That
way if it is blowing up you will at least see it.

Jon Paris
Partner400

www.Partner400.com


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.