Return-Path: Delivered-To: apmail-httpd-users-archive@www.apache.org Received: (qmail 52922 invoked from network); 1 Oct 2003 19:25:21 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 1 Oct 2003 19:25:21 -0000 Received: (qmail 1839 invoked by uid 500); 1 Oct 2003 19:24:58 -0000 Delivered-To: apmail-httpd-users-archive@httpd.apache.org Received: (qmail 1595 invoked by uid 500); 1 Oct 2003 19:24:56 -0000 Mailing-List: contact users-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: users@httpd.apache.org list-help: list-unsubscribe: list-post: Delivered-To: mailing list users@httpd.apache.org Received: (qmail 1582 invoked from network); 1 Oct 2003 19:24:56 -0000 Received: from unknown (HELO smtp.inreach.com) (209.142.2.34) by daedalus.apache.org with SMTP; 1 Oct 2003 19:24:56 -0000 Received: (qmail 31919 invoked from network); 1 Oct 2003 19:25:01 -0000 Received: from unknown (HELO w2k30g) (209.142.39.228) by smtp.inreach.com with SMTP; 1 Oct 2003 19:25:01 -0000 Message-ID: <007f01c38851$a6d98e70$0a01a8c0@w2k30g> From: "David Christensen" To: References: <02a301c38788$6feef860$0a01a8c0@w2k30g> <3F7A1C6C.D8310725@dessent.net> <31356094-F3B2-11D7-A09E-000A95A07AB8@valuecommerce.ne.jp> <043701c387d4$e43b3d90$0a01a8c0@w2k30g> <3F7A607D.25F81B32@dessent.net> Date: Wed, 1 Oct 2003 12:21:06 -0700 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1158 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Subject: Re: [users@httpd] Debian 3.0r1 Apache 1.3.26 cgi-bin behavior depends on script name and browser (?) X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N users@httpd.apache.org: Brian Dessent wrote: > What are the permissions and user/group of all these script files? > Try making them all 755 and see if that changes anything. dpchrist@d3020g:~/public_html/cgi-bin$ ll total 52 drwxr-xr-x 3 dpchrist dpchrist 4096 Oct 1 12:13 ./ drwxr-xr-x 4 dpchrist dpchrist 4096 Sep 28 21:41 ../ drwxr-xr-x 2 dpchrist dpchrist 4096 Sep 30 21:07 CVS/ -rwxr-xr-x 1 dpchrist dpchrist 186 Sep 29 22:42 bar.pl* -rwxr-xr-x 1 dpchrist dpchrist 351 Oct 1 12:12 dumpvars.pl* -rwxr-xr-x 1 dpchrist dpchrist 81 Sep 29 17:46 foo.pl* -rwxr-xr-x 1 dpchrist dpchrist 194 Sep 30 20:51 intro3.pl* -rwxr-xr-x 1 dpchrist dpchrist 215 Nov 20 2000 intro3a.pl* -rwxr-xr-x 1 dpchrist dpchrist 219 Sep 30 20:46 intro3b.pl* -rwxr-xr-x 1 dpchrist dpchrist 194 Sep 30 20:51 intro3d.pl* -rwxr-xr-x 1 dpchrist dpchrist 193 Sep 29 22:42 intro4.pl* -rwxr-xr-x 1 dpchrist dpchrist 166 Sep 29 22:42 intro5.pl* -rwxr-xr-x 1 dpchrist dpchrist 747 Sep 29 22:42 intro7.pl* > And what user is Apache running as, dpchrist@d3020g:~/public_html/cgi-bin$ cat dumpvars.pl #! /usr/bin/perl use warnings; use strict; use CGI qw( :standard ); print header('text/plain'); print "Environment variables:\n"; foreach my $key ( sort keys %ENV ) { print " ", $key, " => ", $ENV{$key}, "\n"; } print "\n"; print "Command output:\n"; foreach my $cmd (sort qw( hostname pwd whoami )) { print " ", $cmd, " => ", `$cmd`; } http://192.168.254.2/~dpchrist/cgi-bin/dumpvars.pl Environment variables: DOCUMENT_ROOT => /var/www GATEWAY_INTERFACE => CGI/1.1 HTTP_ACCEPT => application/x-shockwave-flash,text/xml,applicatio n/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,video/x-mng ,image/png,image/jpeg,image/gif;q=0.2,*/*;q=0.1 HTTP_ACCEPT_CHARSET => ISO-8859-1,utf-8;q=0.7,*;q=0.7 HTTP_ACCEPT_ENCODING => gzip,deflate HTTP_ACCEPT_LANGUAGE => en-us,en;q=0.5 HTTP_CACHE_CONTROL => max-age=0 HTTP_CONNECTION => keep-alive HTTP_HOST => 192.168.254.2 HTTP_KEEP_ALIVE => 300 HTTP_USER_AGENT => Mozilla/5.0 (Windows; U; Windows NT 5.0; en-U S; rv:1.4) Gecko/20030624 PATH => /usr/local/bin:/usr/bin:/bin QUERY_STRING => REMOTE_ADDR => 192.168.1.10 REMOTE_PORT => 4985 REQUEST_METHOD => GET REQUEST_URI => /~dpchrist/cgi-bin/dumpvars.pl SCRIPT_FILENAME => /home/dpchrist/public_html/cgi-bin/dumpvars.pl SCRIPT_NAME => /~dpchrist/cgi-bin/dumpvars.pl SERVER_ADDR => 192.168.254.2 SERVER_ADMIN => webmaster@d3020g SERVER_NAME => 192.168.254.2 SERVER_PORT => 80 SERVER_PROTOCOL => HTTP/1.1 SERVER_SOFTWARE => Apache/1.3.26 (Unix) Debian GNU/Linux UNIQUE_ID => P3sniMCo-gIAAAD5AAQ Command output: hostname => d3020g pwd => /home/dpchrist/mysql-perl/public_html/cgi-bin whoami => dpchrist > and is suexec in use? How do I determine if suexec is in use? David --------------------------------------------------------------------- The official User-To-User support forum of the Apache HTTP Server Project. See for more info. To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org " from the digest: users-digest-unsubscribe@httpd.apache.org For additional commands, e-mail: users-help@httpd.apache.org