• Bug#263038: apache2-mpm-prefork: cgi-bin doesn't seem to work

    From J.H.M. Dassen (Ray)@1:229/2 to Diwaker Gupta on Sat Aug 21 22:00:16 2004
    From: [email protected]

    On Mon, Aug 02, 2004 at 12:38:03 -0700, Diwaker Gupta wrote:
    None of my perl executables in /usr/lib/cgi-bin seem to work anymore.
    They were working fine until the last upgrade.

    Please check if
    - /etc/apache2/mods-enabled/cgi.load is a symlink to
    /etc/apache2/mods-available/cgi.load
    - /etc/apache2/mods-available/cgi.load contains
    LoadModule cgi_module /usr/lib/apache2/modules/mod_cgi.so

    Regards,
    Ray
    --
    [Open Source] is the finest expression of the free market. Ideas are
    encouraged to proliferate and the best thinking wins. By contrast, most corporations today operate in a central planning straitjacket.
    http://www.thestandard.com/article/display/0,1151,15772,00.html


    --
    To UNSUBSCRIBE, email to [email protected]
    with a subject of "unsubscribe". Trouble? Contact [email protected]

    --- SoupGate-Win32 v1.05
    * Origin: you cannot sedate... all the things you hate (1:229/2)
  • From J.H.M. Dassen (Ray)@1:229/2 to Diwaker Gupta on Sat Aug 21 22:10:13 2004
    From: [email protected]

    On Mon, Aug 02, 2004 at 12:38:03 -0700, Diwaker Gupta wrote:
    On pointing my browser to /awstats/first.pl, the browser tries to download the perl file, instead of showing the output as HTML.

    Isn't this a security issue? CGI scripts can contain sensitive data (e.g. authentication details for databases).

    IMO if the "cgi-script" handler is specified for a particular extension and
    the CGI module isn't available, apache2 should produce an internal error,
    not display the script.

    Ray
    --
    "Text processing doesn't matter." Fortran.
    Larry Wall on common fallacies of language design


    --
    To UNSUBSCRIBE, email to [email protected]
    with a subject of "unsubscribe". Trouble? Contact [email protected]

    --- SoupGate-Win32 v1.05
    * Origin: you cannot sedate... all the things you hate (1:229/2)