httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Yoon,SangMin" <smy...@dbserver.kaist.ac.kr>
Subject [users@httpd] SSI with suEXEC
Date Mon, 16 Jun 2003 08:09:39 GMT
/~smyoon/test1.cgi:
#!/bin/sh
echo "TEST1"

/~smyoon/sub/test2.cgi:
#!/bin/sh
echo "TEST2"

/~smyoon/test.shtml:
<!--#exec cmd="./test1.cgi"-->
<!--#exec cmd="sub/test2.cgi"-->

This works if I didn't activate suEXEC.
(Result is "TEST1 TEST2")
But if I activated suEXEC, the result is "TEST1".
And if I changed filenames to 'test.cgi', the result is "TEST1 TEST1".
(suEXEC executes, that is, 'test.cgi' instead of 'sub/test.cgi'.)

Is this a bug or a feature?


---------------------------------------------------------------------
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