LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 04-11-2011, 02:25 AM   #1
amartlk
Member
 
Registered: Sep 2010
Location: Nagpur India
Posts: 347

Rep: Reputation: 1
Apache modules


HI

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

AMAR
 
Old 04-11-2011, 02:59 AM   #2
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 11,641

Rep: Reputation: 1539Reputation: 1539Reputation: 1539Reputation: 1539Reputation: 1539Reputation: 1539Reputation: 1539Reputation: 1539Reputation: 1539Reputation: 1539Reputation: 1539
Hi,

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

Regards
 
Old 04-11-2011, 03:49 AM   #3
amartlk
Member
 
Registered: Sep 2010
Location: Nagpur India
Posts: 347

Original Poster
Rep: Reputation: 1
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
AMar

Last edited by amartlk; 04-11-2011 at 03:51 AM.
 
Old 04-11-2011, 04:12 AM   #4
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 11,641

Rep: Reputation: 1539Reputation: 1539Reputation: 1539Reputation: 1539Reputation: 1539Reputation: 1539Reputation: 1539Reputation: 1539Reputation: 1539Reputation: 1539Reputation: 1539
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)
 
Old 04-11-2011, 04:34 AM   #5
hks1233
Member
 
Registered: Nov 2010
Posts: 30

Rep: Reputation: 1
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
 
Old 04-11-2011, 04:39 AM   #6
amartlk
Member
 
Registered: Sep 2010
Location: Nagpur India
Posts: 347

Original Poster
Rep: Reputation: 1
hi
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

AMAr
 
Old 04-11-2011, 08:21 AM   #7
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 11,641

Rep: Reputation: 1539Reputation: 1539Reputation: 1539Reputation: 1539Reputation: 1539Reputation: 1539Reputation: 1539Reputation: 1539Reputation: 1539Reputation: 1539Reputation: 1539
You can go into the apache sources from where you installed apache in /Lamp and run:
Code:
/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.
Code:
LoadModule dav_svn_module     /NVS/apache/modules/mod_dav_svn.so
If not, I'm afraid you have to recompile subversion again risking to break the working one

Last edited by bathory; 04-17-2011 at 03:39 AM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Apache modules ittec Linux - Software 3 06-20-2008 08:01 AM
LXer: Developing Modules for Apache - The Apache Module Book LXer Syndicated Linux News 0 05-11-2007 09:01 PM
Looking for apache modules dominant Linux - Newbie 2 07-21-2004 02:26 AM
Where are my apache-2.0.48 modules tharris Linux - Software 1 02-23-2004 06:06 PM
Apache Modules raptor Linux - Software 0 08-26-2003 02:49 AM


All times are GMT -5. The time now is 04:50 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration