Comments on: compiling suexec: the fast way (because your website is down) http://v3.vanutsteen.nl/2008/06/14/compiling-suexec-the-fast-way-because-your-website-is-down/ A blog on rails, php, computing, my bass guitar and stuff Wed, 17 Oct 2012 04:54:02 +0000 hourly 1 http://wordpress.org/?v=3.5 By: Dave http://v3.vanutsteen.nl/2008/06/14/compiling-suexec-the-fast-way-because-your-website-is-down/comment-page-1/#comment-5901 Dave Thu, 03 Feb 2011 13:16:30 +0000 http://www.vanutsteen.nl/?p=79#comment-5901 Thanks for your quick response, Leon.

Now I’m one step further, but the update gives out 2 errors:

login:~/src/suexec# patch suexec suexecc.patch -o suexec.patched.c
(Stripping trailing CRs from patch.)
patching file suexec
Hunk #1 FAILED at 563.
Hunk #2 FAILED at 575.
2 out of 2 hunks FAILED — saving rejects to file suexec.patched.c.rej

What’s missing?

Sorry for the bother, Dave

]]>
By: LeonB http://v3.vanutsteen.nl/2008/06/14/compiling-suexec-the-fast-way-because-your-website-is-down/comment-page-1/#comment-5900 LeonB Thu, 03 Feb 2011 12:43:56 +0000 http://www.vanutsteen.nl/?p=79#comment-5900 It is this patch (only the wrong name).

The newer ubuntu versions have this package: apache2-suexec-custom which I think is better then compiling it manually.

]]>
By: Dave http://v3.vanutsteen.nl/2008/06/14/compiling-suexec-the-fast-way-because-your-website-is-down/comment-page-1/#comment-5899 Dave Thu, 03 Feb 2011 12:34:10 +0000 http://www.vanutsteen.nl/?p=79#comment-5899 Hi

I went through all the steps and they all worked up to and including step 7.

But step 8 failed saying:

patch: **** Can’t open patch file suexec.c.patch : No such file or directory

I tried to find your patch on your blog. Where exactly is the patch?

My problem:

suexec -V gives out following results:

login:/usr/lib/apache2# ./suexec -V
-D SUEXEC_CONFIG_DIR=/etc/apache2/suexec/
-D AP_GID_MIN=100
-D AP_LOG_EXEC=”/var/log/apache2/suexec.log”
-D AP_SAFE_PATH=”/usr/local/bin:/usr/bin:/bin”
-D AP_UID_MIN=100

The two lines:

-D AP_DOC_ROOT=”/var/www”

and

-D AP_USERDIR_SUFFIX=”public_html”

are missing in my output.

Thanks in advance!

Yours
Dave

]]>