httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Joshua Slive" <jos...@slive.ca>
Subject Re: [users@httpd] problems using #exec on Win32
Date Wed, 01 Nov 2006 19:44:33 GMT
On 11/1/06, Ralph Nelson <apache@lhhf.org> wrote:
> I'm using the Win32 port (not my fault -- blame my employer) of Apache v2.2.3
>
> I've added the lines:
>    AddType text/html .shtml
>    AddType text/html .stm
>    AddHandler server-parsed .shtml
>    AddHandler server-parsed .stm
> to my httpd.conf as well as adding
>    Options +Includes +ExecCGI
>
> All of my SSI tags expand *except* the #exec tag.  Whenever I try to run an
> #exec tag (two shown below - the first just tries "dir" and the other a long
> convoluted command), I get:

There may be a bug here.  But exec has always been a dirty hack.
Convert your executable into a CGI script and use include virtual
instead.

Joshua.

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> 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


Mime
View raw message