1830899 Members
2800 Online
110017 Solutions
New Discussion

how to patch apache ?

 
K.C. Chan
Trusted Contributor

how to patch apache ?

Gurus, I've downloaded *.patch for apache-1.3. But how do I applied the patch. An example would be nice. Thanks.
Reputation of a thousand years can be determined by the conduct of an hour
2 REPLIES 2
Eric Ladner
Trusted Contributor

Re: how to patch apache ?

Usually something like this:

cd /blah/blah/apache-1.3.xx/
patch -p0 < /path/to/apache.-1.3.xy.patch

Pay attention to wether or not the patch has any rejects. You can either apply them by hand or start with a clean tree and try again. Applying rejects by hand needs to be done very carefuly and good knowledge of C is helpful

Cheers

K.C. Chan
Trusted Contributor

Re: how to patch apache ?

Eric, that's what I've done, but I wasn't sure which file to provide when it prompt me for a file to patch. So what I did is take a look at the patch and sure enought it was src/Configure. Now I know how to patch it. Thanks.
Reputation of a thousand years can be determined by the conduct of an hour