Networking

NAVIGATION
CATEGORIES
REFERRENCE
LINKS
  • Mod-interchange - PERL execution

    0 answers - 1369 bytes - related search similar search Add To My Delicious Add To My Stumble Upon Add To My Google Mark Add To My Facebook Add To My Digg Add To My Reddit

    Chuck Adams [chuck.adams (AT) capstone-media (DOT) com] wrote:
    We've got an Interchange site that uses Russell's downloadable content
    solution presented at
    tml
    <
    htmlIt works quite well before mod_interchange by calling a usertag
    "set_download_key.tag" that executes a /cgi-bin/download.cgi PERL script
    - however once mod-_interchange is set up and the /cgi-bin/ directory is
    added to the Files list - the script is being accessed, but not
    executed by PERL - instead it is just displayed as text in the browser.
    Are there ways to avoid this and execute the PERL code?
    Mod_interchange cannot hand CGI execution requests back to Apache,
    so files listed in the FileList will not be executed. I'd
    be interested to hear about any Apache module API tricks I may have
    overlooked.
    The workaround is to create a separate virtual hostname for the CGI
    executables. Perhaps cgi.example.com vs. www.example.com. I just
    had a quick read through the articles you referenced and one of them
    says "script_that_takes_key.pl (located on download server)". The
    "download server" could be a new cgi.example.com virtual host.
    I think the workaround is a cleaner solution anyway, as it helps keep
    external CGI executables and other foreign stuff (PHP etc.) out of
    Interchange's face.

Re: Mod-interchange - PERL execution


max 4000 letters.
Your nickname that display:
In order to stop the spam: 5 + 4 =
QUESTION ON "Networking"

EMSDN.COM