httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jason A. Dour" <...@bcc.louisville.edu>
Subject BUG: suEXEC problem: QUERY_STRING not set (fwd)
Date Fri, 31 Jan 1997 13:49:28 GMT
-----BEGIN PGP SIGNED MESSAGE-----

Acked.  This confirms a enivron** error for at least two platforms now.
Randy, how is your research going?

Jason
# Jason A. Dour <jad@bcc.louisville.edu>                            1101
# Programmer Analyst II; Department of Radiation Oncology; Univ. of Lou.
# Finger for URLs, PGP public key, geek code, PJ Harvey info, et cetera.

- ---------- Forwarded message ----------
Date: Thu, 30 Jan 1997 11:22:32 -0700
From: Ian Duplisse <duplisse@rentwks1.golden.csc.com>
Newsgroups: comp.infosystems.www.servers.unix
Subject: suEXEC problem: QUERY_STRING not set

Using Apache 1.2b6 on AIX 3.2.5.1, I have a user running a CGI
shell script that has whoami and set commands in it.  When run
without suEXEC installed, the whoami is that of the HTTPD_USER
(as expected) and the set shows such values as SERVER_SOFTWARE
and SERVER_NAME.

After installing suEXEC per the instructions, starting httpd
indicates "Configuring Apache for use with suexec wrapper."
(as expected) and the whoami returns the user's name, not
www (again as expected).

However, NONE OF THE ENVIRONMENT VARIABLES ARE SET!!!  This includes
SERVER_NAME, QUERY_STRING, etc.  So while suEXEC spawns the CGI
script as the correct user, none of the supplied info is passed
in.  Without that information, there is no point having a CGI script.

Does anyone know what is going on?

Thanks in advance,
Ian Duplisse
Computer Sciences Corporation

-----BEGIN PGP SIGNATURE-----
Version: 2.6.2

iQCVAwUBMvH4apo1JaC71RLxAQFyXQP/W+3uB5CVzJgYJBY3MEDOPwbOITvXvHG9
aIrQ1o8nbgDFz1xrk1WVSN6K/z/QJYuDTHkvb5jZzzkSKeyDQCIkPXPxhiBEWNcT
Tlti9Wn/sgihH/d4T9MqQqrU5tnNDRNCfqE7LkmbJckkFf8wlcjH67YJa7bo4bFY
x3rFvguLTXg=
=baVl
-----END PGP SIGNATURE-----


Mime
View raw message