-   Linux - Newbie (
-   -   Apache modules (

amartlk 04-11-2011 03:25 AM

Apache modules

i have two apache configured on centos5.3 one apache run on 10000 port and other on 11000 port i want to installed module on 11000 port apache but how to installed in that particular apache , pls guide


bathory 04-11-2011 03:59 AM


Why have 2 different apache daemons running and listening on different ports? You could do the same with just one apache instance, using 2 vhosts listening on those ports.
Anyway if you want to enable svn only for the instance listening on port 11000, you need to load the necessary module(s) only for that insance


amartlk 04-11-2011 04:49 AM

Thanks for reply

i want to known how i load module for the paticular apache running on that port? for that i have to reinstall apache ?or just install that reqd module
and i have alreaday installed svn on 10000 port , sorry i forgot to mention in last post

bathory 04-11-2011 05:12 AM

This depends on how you've installed the 2nd apache instance? You have 2 httpd daemons running listening on ports 10000 and 11000 respectively, or you have 1 httpd daemon with 2 vhosts listening on those ports?
You should give more details about your configuration and how you installed apache(s)

hks1233 04-11-2011 05:34 AM

If u combined SVN from source then move to its source location and recompile SVN as

./configure --with-apxs=/etc/httpd/bin/apxs --with-apr=/etc/httpd/bin/ --with-apr-util=/etc/httpd/bin/ //with_your_other_configurations

where /etc/httpd/bin/ is the location of Apache running in port 11000

then run
make && make install

then restart Apache in corresponding port

amartlk 04-11-2011 05:39 AM

i created folder /NVS/apache where i installed svn and apache running on mention port and i created another folder /Lamp/ where i installed open souce application like matis bugtracker etc this folder is compile with php ,mysql.while /NVS is complied with apache only not php , mysql and i want svnmanager application which reqd dav support to be installed in /LAmp folder but it said no dav module hence i want to installed dav_svn_module in this folder


bathory 04-11-2011 09:21 AM

You can go into the apache sources from where you installed apache in /Lamp and run:

/Lamp/apache/bin/apxs -n dav_module -i -a -c modules/dav/main/mod_dav.c
/Lamp/apache/bin/apxs -i -a -c modules/dav/fs/mod_dav_fs.c

to add dav support in that apache instance.
Then you can try to load the module from the other apache instance and see if it works.

LoadModule dav_svn_module    /NVS/apache/modules/
If not, I'm afraid you have to recompile subversion again risking to break the working one

All times are GMT -5. The time now is 06:16 AM.