also, if I were to do the redirect, would I just have an html file coded
like this?

Content-type: text/html

location: /cgi-bin/erqinbox<nl><nl>

No. Location: is not part of an HTML document, it's an HTTP header. As such, it needs to be in the header portion of the data your program returns (like Content-Type is), not in the data portion.

You should make your HTML template look like this, instead:

status: 302 Moved
location: /cgi-bin/erqinbox
Content-type: text/html

  Content moved to <a href="/cgi-bin/erqinbox">/cgi-bin/erqinbox</a>

As an Amazon Associate we earn from qualifying purchases.

This thread ...


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

This mailing list archive is Copyright 1997-2021 by 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.