On Fri, Dec 03, 1999 at 01:55:27PM -0700, Charles Curley wrote:
> On Fri, Dec 03, 1999 at 03:17:07PM +0100, Sylvain GIL wrote:
> -> On Thu, Dec 02, 1999 at 05:49:56PM -0700, Charles Curley wrote:
> -> > 
> -> > OK, how come the top CGI (which works on my RH 5.2 configuration, and
> -> > should work) does not work on LM 6.1?
> -> > 
> -> > This server's uptime is: &quot;<!--#exec cmd="uptime"  -->&quot;<p>
> -> > Last modified: <!--#echo var="LAST_MODIFIED" --><p>
> -> > 
> -> > I read the docs for suEXEC, but they don't say what directory to put a
> -> > script in. /home/httpd/cgi-bin does not appear to work. It is:
> -> > 
> -> > -rwxr--r--    1 nobody   nobody         45 Dec  2 17:42 uptime
> -> > 
> -> > and, indeed, apache is running as "nobody". Uptime is a shell script that
> -> > echos its name.
> -> > 
> -> > Any ideas?
> -> 
> -> You are using Server Side Includes so you must enable mod_include in
> -> your configuration file.
> 
> Thanks. It is already enabled. The top SSI does not work; the bottom one
> does, so I think SSIs are working, just not executing external programs
> such as uptime.
There is an option directive which takes a param called IncludesNOEXEC
if this is set SSI's are turned on, but #exec's won't work.

http://apache.org/docs/mod/core.html#options
If interested.

Check that.

Shane Owenby
IBM Linux Technology Center

Reply via email to