|
also, if I were to do the redirect, would I just have an html file coded like this? /$all 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: /$all status: 302 Moved location: /cgi-bin/erqinbox Content-type: text/html <html> <body> Content moved to <a href="/cgi-bin/erqinbox">/cgi-bin/erqinbox</a> </body> <html>
As an Amazon Associate we earn from qualifying purchases.
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.