Hi
Would anyone care to share some info on setting up a CGI.
I keep getting this error:
[Tue Dec 7 09:48:47 2004] [error] [client 192.168.111.214] Premature
end of script headers: /home/gevens/cgi-bin/ecco/scripts/agent/logon.pl
and
[2004-12-07 10:17:28]: info: (target/actual) uid: (gevens/gevens)
Hi,
is apache allowed to change to your home directory?
Tom
Brent Clark wrote:
Hi
Would anyone care to share some info on setting up a CGI.
I keep getting this error:
[Tue Dec 7 09:48:47 2004] [error] [client 192.168.111.214] Premature
end of script headers: /home/gevens/cgi-bin/ecco/scripts/agent
Brent Clark wrote:
Hi
Would anyone care to share some info on setting up a CGI.
I keep getting this error:
[Tue Dec 7 09:48:47 2004] [error] [client 192.168.111.214] Premature
end of script headers: /home/gevens/cgi-bin/ecco/scripts/agent/logon.pl
and
[2004-12-07 10:17:28]: info: (target/actual) u
Arnaud Blancher wrote:
Brent Clark wrote:
what's url do you check ?
http://ftp/cgi-bin/logon.pl
(mapped to /home/gevens/cgi-bin/logon.pl)
Hi Arnaud
well since I know the Ip so I use that
basically I type:
http://192.168.111.12/index.htm (which works)
the page is displayed etc
I then I click on the
Tom Schindl wrote:
Hi,
is apache allowed to change to your home directory?
Tom
Brent Clark wrote:
Hi Tom, thanks for reply
Yes apache does and can change to the users home directory
Apache does display the html files in the document root.
Is the cgi-bin thats the problem.
If it helps, I run Debian.
Brent Clark wrote:
Hi
Would anyone care to share some info on setting up a CGI.
I keep getting this error:
[Tue Dec 7 09:48:47 2004] [error] [client 192.168.111.214] Premature
end of script headers: /home/gevens/cgi-bin/ecco/scripts/agent/logon.pl
and
[2004-12-07 10:17:28]: info: (target/actual) u
Oh. Think now I've got it. You are running into suexec-problems because
your Root-Apache is running under anonther user than your V-Host-Apache.
Apache is now using suexec to execute your scripts and because your
script directory is not part of the suexec-path it cannot execute your
script.
Wh
Brent Clark wrote:
Oh. Think now I've got it. You are running into suexec-problems
because your Root-Apache is running under anonther user than your
V-Host-Apache.
Apache is now using suexec to execute your scripts and because your
script directory is not part of the suexec-path it cannot execu