OK, I have done this and it mostly works, but you apparently compiled it with
--suexec-caller and --suexec-userdir options that I don't use.
Steve Philip, in another message said that I should put the options I want to
add into a .spec file and do a rebuild. This seems like a good idea, but I
don't have enough information yet.
> Add the options that you want to the .spec file in /usr/src/redhat/SPECS/
I don't have a /usr/src/redhat directory on the machine. All I have in
/usr/src is:
RPM/
linux@
linux-2.2.9/
should I just create the directory (with nothing in it)? When I
downloaded the source rpm (for an old version), it put all the source in
/usr/src/RPM/SOURCES. There is a SPECS directory in /usr/src/RPM. Is that
the directory you meant?
> then rebuild the package with 'rpm -ba <.spec-file>'.
Once I downloaded the appropriate src rpm for the old version of apache,
it put a apache.spec file in /usr/src/RPM/SPECS, so I think that is the
appropriate file to modify.
So I'll download the src rpm for the netrevolution version of apache and
try it. Thanks for all your help, both of you!
==============================================================================
[EMAIL PROTECTED] S/W Developer http://www.ad1440.net/~devnull
==============================================================================
Linux Viruscan: Windows 95/98/NT Found Remove it ? (Y/y)
==============================================================================
GCS/GIT@ d?(pu) s+:++ a29 c++++$ UL+++$(!B)(S+++) P++ L++(+++@) E W+++ N+ o?
K w O- M- V-- PS+ PE Y+ PGP+ t+@ 5++ X+ R++ tv--@ b+++ DI++ D+@ G e++
h----@(++) r+++(r) y++++(*)
==============================================================================
-----Original Message-----
From: Jean-Michel Dault <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED] <[EMAIL PROTECTED]>
Date: Monday, August 30, 1999 8:24 PM
Subject: Re: [expert] Apache and SuExec
>
>Go to http://coruscant.netrevolution.com/pub/NEW and grab the new Apache
>1.3.9. It is compiled with SuExec, but has also suexec-frontpage, EAPI,
>shared memory, and is compiled with DSO support, so you can use all the
>pre-compiled modules.
>
>Jean-Michel Dault
>[EMAIL PROTECTED]
>[EMAIL PROTECTED]
>
>
>On Mon, 30 Aug 1999 [EMAIL PROTECTED] wrote:
>
>> Date: Mon, 30 Aug 1999 18:59:06 -0700 (PDT)
>> From: [EMAIL PROTECTED]
>> Reply-To: [EMAIL PROTECTED]
>> To: [EMAIL PROTECTED]
>> Subject: [expert] Apache and SuExec
>>
>>
>> I've just installed a fresh installation of Linux-Mandrake 6.0,
>> and am now trying to configure the web server so that it works the same
>> way as my web server on my old machine. This has MOSTLY been accomplished
>> except for one major thing:
>>
>> I used to have SuExec configured on my old webserver. To do this,
>> I had to recompile it with the appropriate options and re-install it, etc.
>> This was using Apache 1.2 before I found RPM's and before APACI.
>>
>> It appears that the default Apache that comes with Linux-Mandrake
>> 6.0 does not have SuExec compiled in, so I need to recompile it. I have
>> unzipped the src RPM, but I cannot find in it anywhere what the original
>> options it was compiled with are.
>>
>> Does anyone know how to compile this so that it's the same as the
>> one that comes with the distribution? I can then use those options and
>> add the ones I need for SuExec.
>>
>>
==============================================================================
>> [EMAIL PROTECTED] S/W Developer
http://www.ad1440.net/~devnull
>>
==============================================================================
>> Linux Viruscan: Windows 95/98/NT Found Remove it ? (Y/y)
>>
==============================================================================
>> GCS/GIT@ d?(pu) s+:++ a29 c++++$ UL+++$(!B)(S+++) P++ L++(+++@) E W+++ N+
o?
>> K w O- M- V-- PS+ PE Y+ PGP+ t+@ 5++ X+ R++ tv--@ b+++ DI++ D+@ G e++
>> h----@(++) r+++(r) y++++(*)
>>
==============================================================================
>>
>