Re: External program from Lisp CGI
isramath@xxxxxxxxx writes:
Subject: External program from Lisp CGI
Hi list,
I'm working on Lisp CGI based mostly on Maxima functions.
The problem is, I can't use plot2d (Maxima's interface to gnuplot) -
this function and all following it aren't executed.
But if I execute the same CGI file from terminal, it works as
expected.
I use Apache with mod_cgi on Debian.
Thanks for any help in advance.
Not even close to enough information to make any sort of reasonable guess.
What is shown in the apache error log?
What happens if you attempt to execute the cgi script as the same user the
script is executed as when it runs under apache?
What versions of the software are you running?
What have you done to verify the function isn't being called or are you
assuming it isn't because you are not getting expected results? For
example, are you certain the script isn't failing before the attempt to
call the plotting routines?
Is apache using any configuration that may be affecting execution
(i.e. runing in a chroot environment, unable to follow symbolic links, can
only follow symbolic links if owned by effective user id, etc.
--
tcross (at) rapttech dot com dot au
.
Relevant Pages
- Re: dynamic lib ignored even after "found" in "install_driver(Oracle) failed: Cant load..." cgi prob
... the solution i found is this: i moved the directory containing libclntsh.so under /usr/lib, which is a location that apache seems to trust, as opposed to where i had originally placed this directory. ... so, if i knew then what i know now, here are the steps _I_ would use were i to install the oracle instantclient such that the DBD::Oracle module would work when used in an apache 2.0 CGI: ... i also could run it this way by placing tnsnames.ora in my home directory as .tnsnames.ora, but this location will do me no good when i want apache to run the script as a cgi. ... am i missing some sort of configuration detail regarding apache and permissions granted a cgi? ... (perl.dbi.users) - Re: Apache Security Issue: File Access
... > I just recognized that with Apache configured for VirtualHosts, ... > - no one can ready files using a file system call in CGI or ASP ... Does the target program name have a / or .. ... Does the user who owns the target script exist on the system? ... (comp.security.unix) - Re: Rivet and snit....
... You will need to set up Apache to make sure your directories are ready ... to execute CGI (if you plan to say turn your welcome page into a CGI ... script to generate the page). ... indicate it's intent - then process it as a form submission script. ... (comp.lang.tcl) - 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: Perl errors
... >> Apache won't touch it other than displaying the target script instead of ... > what specific Apache configuration do you use? ... do a symbolic link Apache will definitely execute the script and it works. ... Even doing a container for the directory I want to execute perl ... (Fedora) |
|