httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From (Randy Terbush)
Subject From c.i.w.s.u (Redirect cgi (perl) scripts using Apache 0.8.14)
Date Fri, 13 Oct 1995 09:25:00 GMT
No ack sent:

From: (wm paul rogers)
   Newsgroups: comp.infosystems.www.servers.unix
   Date: 6 Oct 1995 23:40:28 GMT
   Organization: mbari
   Keywords: apache redirect

   I run a research organization's web site and want to distribute some of the perl scripting
load to other machine's within our company.  I've tried the following in srm.conf:
           Redirect /perl/tsunami/ http://tsunami.ip.addr/perl/
           Redirect /perl/reef/ http://reef.ip.addr/perl/

   Within HTML docs, I reference the redirect with something like
           <IMG SRC="/perl/tsunami/">
   where is a perl script to build an image based on data most easily munched
by machine tsunami.  This works fine, but if I pass CGI vars such as
           <IMG SRC="/perl/tsunami/">
   the receiving server (here tsunami) never sees var or its value.  The access log on the
primary server reports
           "GET /perl/tsunami/ HTTP/1.0" 302 -
   whereas the redirected server reports
           "GET /perl/tsunami/ HTTP/1.0" 500 -
   the error (500) due to the absence of the variable var.

   The Apache documentation (patch E25) leads me to believe the CGI vars are made available
to the redirected script.  What am I doing wrong?

                            Monterey Bay Aquarium Research Institute
    Wm Paul Rogers   |   160 Central Avenue        |  Ph. (408) 647-3762   |   Pacific Grove, CA  93950  |  FAX (408) 649-8587

View raw message