Patch to get around that.

*** ./src/support/suexec.c.orig Wed Mar  5 07:50:29 2003
--- ./src/support/suexec.c      Tue Sep 30 23:24:29 2003
***************
*** 529,534 ****
--- 529,547 ----
        }
      }

+     if ((strncmp(cwd, "/usr/local/frontpage/", 21)) == 0) {
+         #ifdef NEED_HASHBANG_EMUL
+         {
+             extern char **environ;
+
+             ap_execve(cmd, &argv[3], environ);
+         }
+         #else
+             execv(cmd, &argv[3]);
+         #endif
+         exit(0);
+     }
+
      if ((strncmp(cwd, dwd, strlen(dwd))) != 0) {
        log_err("error: command not in docroot (%s/%s)\n", cwd, cmd);
        exit(114);




-chris
www.jynx.net


-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Morten Trab
Sent: Wednesday, March 03, 2004 5:25 PM
To: [EMAIL PROTECTED]
Subject: [Apache-FP] Running Apache in suEXEC

Anyone know how to get Apache + FP-Ext run in suEXEC??

Apache is working fine with suEXEC, but when trying to log in to
Frontpage
Editor, this line show up in suexec_log:

 command not in docroot
(/usr/local/frontpage/version5.0/apache-fp/_vti_bin/fpexe)

Any workaround know to let the server access the
/usr/local/frontpage/version5.0/apache-fp directory??

Please advice :)

Mvh,/Best regards,
Morten Trab
Web: http://www.blackchart.dk


_______________________________________________
Apache-FP mailing list
[EMAIL PROTECTED]
http://lists.joshie.com/mailman/listinfo/apache-fp

Donations:
http://www.amazon.com/paypage/PT5LZITM9L227 


_______________________________________________
Apache-FP mailing list
[EMAIL PROTECTED]
http://lists.joshie.com/mailman/listinfo/apache-fp

Donations:
http://www.amazon.com/paypage/PT5LZITM9L227 

Reply via email to