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

Re: adding new modules in apache



From: <nlimbu healthnet org np>

> Hi all,
> 
> I have a newbie question regarding installation of program. I have already
> installed Apache from installation CD of RH. Now, I need to recompile
> apache again inorder to add some feature. What should I need to do?

Are you sure you need to recompile? If all you need is functionality provided by a new module you can add new modules using the "apxs" tool.

For Apache 2:
http://httpd.apache.org/docs-2.0/programs/apxs.html

For 1.3:
http://httpd.apache.org/docs/dso.html 

Just download the module version for the version of Apache you're running and follow the apxs module building instructions, modify your httpd.conf accordingly and you should be sorted.
 
> 3) What will happen to the path for the files of newly installed apache? Will it be 
> same like previous or do we need to specify? 

If you do end up building Apache from scratch you can specify its location dusing the ./configure stage. Run "./configure --help " for more info as well as reading the Apache README, README.configure, config.layout and INSTALL docs for more info (based on Apache 1.3, might've changed for Apache 2).

> Do I need to make services of httpd 
> again manually inside /etc/rc.d/init.d? 
> 4) Is it possible to add/remove feature/module via rpm package of apache?

It's easy enough to modify the existing script (after backing it up) or create a new one.

Will.





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