Re: apache configtest

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sun, 2004-10-24 at 12:19 +0100, Joe Orton wrote:

> Oh, this is still so insane!  Do you want two copies of libphp4.so, one
> which contains just the "config testing" code too, or what? 

No, that wouldn't be necessary.  Each domain would have the privileges
to map libphp4.so and use it.

> If the problem is to inhibit terminal access can't we just run it under
> some "tee" like binary from the init script, so at least that works?

That would also work.  Patch attached.

--- /etc/init.d/httpd	2004-10-24 21:54:46.483488936 -0400
+++ /etc/init.d/httpd.hacked	2004-10-24 21:55:08.989067568 -0400
@@ -106,7 +106,7 @@
         reload
 	;;
   graceful|help|configtest|fullstatus)
-	$apachectl $@
+	$apachectl $@ 2>&1 | cat
 	RETVAL=$?
 	;;
   *)

[Index of Archives]     [Fedora Desktop]     [Fedora SELinux]     [Photo Sharing]     [Yosemite Forum]     [KDE Users]