Apache error when executing cgi-scripts

Apache error when executing cgi-scripts

Post by Heine Frifeldt Thomass » Mon, 22 Apr 1996 04:00:00

When executing cgi-scripts, I get this error:

ld.so.1: httpd: fatal: relocation error:
unable to process PLT entry at 0x1c7fc 0x3fd17f:

The scripts are executed normal (the ones i've tried that is!), but
results in the above error message.

The error even comes when executing /cgi-bin/test-cgi.
I have just installed the newest version 1.0.5, but have tried both
1.0.2 and 1.0.3, running as standalone and inetd. The OS running is

Anybody know of this problem??



|  wrong has thought of someone he can   |                                 |
|  blame it on.  -- Murphy               | http://www.iesd.auc.dk/~tac     |


1. Apache executing cgi-scripts inside .htaccess protected directories


Is it possible to execute cgi scripts in .htaccess protected directories,
and to have these scripts call other scripts in the same directory?

I'm using CGI scripts to generate forms. The scripts are located in
directories protected by a .htaccess mechanism. The action for the first
form (lets call it foo.cgi) is a second cgi script (let's call it test.cgi).

Let's say that foo.cgi (written in tcl) has something like.

puts "Content-type: text/html\n"
puts "<Head>"
puts "</head>"
puts "<BODY >"
puts "<FORM ENCTYPE=\"multipart/form-data\" NAME = form_er METHOD=POST
puts "<H3>File Information</H3>"
puts ""
puts "CAD System  :<SELECT NAME=\"cadsrc\"> "
puts "            <OPTION> Pro/Engineer"
puts "            </SELECT> <P>"
puts "<input type = submit value = \" Send \">     <INPUT TYPE=reset
VALUE=\" Clear Entries \">"
puts "</FORM>"

Assuming that all test.cgi does is print out the environment variables.

puts "Content-type: text/html\n"
puts "<HTML>"
puts "<HEAD>"
puts "<TITLE>User  has been registered</TITLE>"
puts "</HEAD>"
puts "<BODY >"
foreach name [array names env] {
      puts "$name is  $env($name) <br>"
puts "</BODY>"
puts "</HTML>"

The problem I'm having is that having authenticated properly to foo.cgi,
the authentication is not recognized when I "submit" the action (and
try to execute test.cgi). If I place test.cgi in an unprotected directory,
I have no problem completing the action from foo.cgi. BUT, I no longer
have the REMOTE_USER environment variable properly set (which I
need for my application). I have no problem executing test.cgi directly
(i.e., opening http://my.www.server/test.cgi)....I simply authenticate
and the REMOTE_USER variable is set and echoed back to me.
All of this is with Apache 1.0.2.

Any help with this matter would be appreciated.

2. Banshee install problem

3. How can I get a CGI script to auto execute under Apache 1.1.1

4. connect() call error, help

5. apache suexec not executing ~user/script.cgi

6. New to Solaris

7. Problem while executing cgi-scripts

8. Lilo Hangs on Boot

9. apache: give /home/mailman/cgi-bin permissions to run cgi-scripts.

10. pls help re: executing cgi scripts in html & apache conf.

11. How do I execute CGI script on startup on Apache/1.3.1 Cobalt

12. apache ??:allowing users to execute their cgi scripts

13. could not execute cgi script on Apache