Re: [EMAIL PROTECTED] shtml and suexec

2005-07-28 Thread Brian Candler
On Thu, Jul 28, 2005 at 10:28:09AM -0400, Dan Mahoney, System Admin wrote: > On Thu, 28 Jul 2005, Brian Candler wrote: > > If you don't have a shell, then your system runs /bin/echo, no? No. Firstly, suexec calls execv(), which does not do a search in $PATH. Secondly, "echo foo" is treated as a s

Re: [EMAIL PROTECTED] shtml and suexec

2005-07-28 Thread Dan Mahoney, System Admin
On Thu, 28 Jul 2005, Brian Candler wrote: Also, if you want the wrapper to run a shell, call a script, like one that starts with #!/bin/sh -Dan I have a suexec-related question. I'm running (and looking at the source code for) Apache 1.3.33. I am mapping the Host: header to the filesystem

Re: [EMAIL PROTECTED] shtml and suexec

2005-07-28 Thread Dan Mahoney, System Admin
On Thu, 28 Jul 2005, Brian Candler wrote: If you don't have a shell, then your system runs /bin/echo, no? However, shell environment variables are not present, correct. -Dan I have a suexec-related question. I'm running (and looking at the source code for) Apache 1.3.33. I am mapping the Ho

[EMAIL PROTECTED] shtml and suexec

2005-07-28 Thread Brian Candler
I have a suexec-related question. I'm running (and looking at the source code for) Apache 1.3.33. I am mapping the Host: header to the filesystem path using mod_rewrite and a dbm map, for mass virtual hosting. Since "User" can only be set statically inside a container, it looks like I can't use A