Re: Perl errors

From: Eucke Warren (euckew_at_sierraelectronics.com)
Date: 11/08/04

  • Next message: James Wilkinson: "Re: Help diagnosing a lockup"
    To: "For users of Fedora Core releases" <fedora-list@redhat.com>
    Date: Mon, 8 Nov 2004 10:44:39 -0800
    
    

    >> I am interested in this one too for FC2. Executes fine at the CLI but
    >> Apache won't touch it other than displaying the target script instead of
    >> executing it. I've tried httpd.conf directives and .htaccess setting
    >> +ExecCGI to no avail...must be some little permissions switch but I
    cannot
    >> seem to trace it...anyone have a suggestion?
    >>
    >> -Eucke

    > Does no Perl work or your own code? without providing any useful
    > information (like code or which public available program you try to use
    > and the according error_log entries) no real answer can be given. And
    > what specific Apache configuration do you use? The cgi scripts are
    > displayed as source implies a broken httpd.conf setup.
    >
    > Alexander

    Alexander, if I place the script I am chasing under the /var/www/cgi-bin and
    do a symbolic link Apache will definitely execute the script and it works.
    Even doing a <Directory> container for the directory I want to execute perl
    scripts in does not work so it seems like am AllowOveride somewhere is
    killing CGI execution in any directory but /var/www/cgi-bin. I will
    continue chasing there...but suggestions are gladly received. ;-)

    Brian, try doing what I did...place the script in /var/www/cgi-bin, adjust
    the permissions and ownership as needed and Sym Link it to where you want it
    in where your pages are served from. I bet it will work...I'd bet we're
    chasing the same issue here.

    -Eucke

    -- 
    fedora-list mailing list
    fedora-list@redhat.com
    To unsubscribe: http://www.redhat.com/mailman/listinfo/fedora-list
    

  • Next message: James Wilkinson: "Re: Help diagnosing a lockup"

    Relevant Pages

    • Re: How to turn off taint checking in cgi
      ... By removing the -T option from the shebang in the script and/or the ... apparently it is an apache problem -- or at least I have an ... It's called Rock v. 1.0. ... execute malicious code, because it won't execute any code at all. ...
      (comp.lang.perl.misc)
    • Re: cgi
      ... Apache does NOT execute based on file extension type - it ... If you are trying to execute a script OUTSIDE of the cgi-bin directory, ...
      (comp.lang.tcl)
    • Re: External program from Lisp CGI
      ... I'm working on Lisp CGI based mostly on Maxima functions. ... I use Apache with mod_cgi on Debian. ... What happens if you attempt to execute the cgi script as the same user the ...
      (comp.lang.lisp)
    • Re: php files?
      ... > in any web browser, browser windows shows the script, but it is not ... enable things in the apache config file, ... AND you won't be able to execute any php script by calling it with ...
      (alt.os.linux.suse)
    • Re: Will Linux become as vulnerable as MS ??
      ... > beeing vulnerable to viruses. ... > that they know are executable, and execute intentionally. ... >> Linux, each distro is a little different, and even within the distro, ... > Since clicking on a script is easier than typing it's name, ...
      (comp.os.linux.security)