[Tutor] web site redirection to Python script

dman dsh8290@rit.edu
Tue, 11 Dec 2001 21:05:09 -0500


On Tue, Dec 11, 2001 at 06:54:55PM -0500, Lloyd Kvam wrote:
| I wrote some python scripts for reporting survey results from an SQL
| server.  Now they would like these to scripts to be available from a
| web site.  Unfortunately, the ISP hosting the web site has not yet
| installed Python.  I have setup a RedHat Linux server with Python.
| Now I need to set up a Perl(?) script on the web site to forward
| report requests to my "Python Server" which will process the
| requested data, create an HTML report, and send the HTML report to
| the requestor.
 
| I need advice as to how the web server (Linux/Apache/Perl) can
| forward the request to the "Python Server".  Or tell me there is a
| better way to do this.


<HTML> 
    <HEAD>
        <META HTTP-EQUIV="REFRESH" CONTENT="3; URL=http://www.python.org">
    </HEAD>
    <BODY>
        The real data is at <a href="http://www.python.org">www.python.org</a>.
    </BODY>
</HTML>


(the key is in the "head" portion, and in browsers that support it)

-D

-- 

He who finds a wife finds what is good
and receives favor from the Lord.
        Proverbs 18:22