You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Prakash Reddy <pr...@emagineinternational.com> on 2015/07/09 06:14:47 UTC

Svnserve port issue with Apache

Hi,

There was an Apache application running on a a linux server and recently I installed svnserve using the below rpm files as per one of the google site. After that the svn link is working fine but my other application link running on apache earlier is not working now.

* - httpd-2.2.9-1.fc9.i386.rpm
* - mod_dav_svn.i386 0:1.4.6-7
* - subversion.i386 0:1.4.6-7

So seems the problem is with the port , where both are looking for default port of 8080

So how can I change the port of svn alone and my other application will run as it is like earlier.

Thanks
Prakash Reddy

Re: Svnserve port issue with Apache

Posted by Branko Čibej <br...@wandisco.com>.
On 11.07.2015 16:32, Prakash Reddy wrote:
> Hi Brane,
>
> Can you please provide me the details and steps to configure virtual
> host for the new port plz...

http://httpd.apache.org/docs/2.2/


>
> Else I'm ok to remove mod and go svnserve alone with different port if
> possible.
>
> It is must for me to run my project app on apache default port.
>
> Appreciate your help in advance.
>
> Thanks
> Prakash.
> Thanks
> Prakash.
>
>
> Sent from Samsung Mobile
>
>
> -------- Original message --------
> From: Branko Čibej <br...@wandisco.com>
> Date: 11/07/2015 11:59 (GMT+10:00)
> To: users@subversion.apache.org
> Subject: Re: Svnserve port issue with Apache
>
> On 10.07.2015 14:27, Ryan Schmidt wrote:
> > As I said, if you want the Subversion mod_dav_svn server on a separate
> > port from the rest of your web sites, you need to run a separate copy
> > of Apache httpd for Subversion.
>
> That's not the case, of course. You just have to tell httpd to listen on
> an extra port and configure a VirtualHost for that port. That's standard
> config and a lot easier than running a whole extra httpd server.
>
> -- Brane


Re: Svnserve port issue with Apache

Posted by Prakash Reddy <pr...@emagineinternational.com>.
Hi Brane,

Can you please provide me the details and steps to configure virtual host for the new port plz...

Else I'm ok to remove mod and go svnserve alone with different port if possible.

It is must for me to run my project app on apache default port.

Appreciate your help in advance.

Thanks
Prakash.
Thanks
Prakash.


Sent from Samsung Mobile


-------- Original message --------
From: Branko Čibej <br...@wandisco.com>
Date: 11/07/2015 11:59 (GMT+10:00)
To: users@subversion.apache.org
Subject: Re: Svnserve port issue with Apache

On 10.07.2015 14:27, Ryan Schmidt wrote:
> As I said, if you want the Subversion mod_dav_svn server on a separate
> port from the rest of your web sites, you need to run a separate copy
> of Apache httpd for Subversion.

That's not the case, of course. You just have to tell httpd to listen on
an extra port and configure a VirtualHost for that port. That's standard
config and a lot easier than running a whole extra httpd server.

-- Brane

Re: Svnserve port issue with Apache

Posted by Branko Čibej <br...@wandisco.com>.
On 10.07.2015 14:27, Ryan Schmidt wrote:
> As I said, if you want the Subversion mod_dav_svn server on a separate
> port from the rest of your web sites, you need to run a separate copy
> of Apache httpd for Subversion.

That's not the case, of course. You just have to tell httpd to listen on
an extra port and configure a VirtualHost for that port. That's standard
config and a lot easier than running a whole extra httpd server.

-- Brane

Re: Svnserve port issue with Apache

Posted by Ryan Schmidt <su...@ryandesign.com>.
On Jul 9, 2015, at 8:23 PM, Prakash Reddy wrote:

> After installing those three rpms on the linux box, the svn link works, but my other application running earlier wont work. It means the application will be running in the background but the web link wont launch. Below is the message from browser..
> 
> The requested URL /org/admin/login was not found on this server.
> 
> Apache/2.2.15 (Red Hat) Server at 100.200.188.22 Port 80
> 
> But on the same server svn link works and shows the repositories...
> http://100.200.188.22/svn/

You (or the rpms you installed) must have also made changes to the Apache httpd configuration, or else nothing about your web server's behavior would have happened. So what changes were made? It sounds like they may not have been what you wanted.


> I need steps to configure only the svn... to different port so it wont touch the apache of my other application.

As I said, if you want the Subversion mod_dav_svn server on a separate port from the rest of your web sites, you need to run a separate copy of Apache httpd for Subversion. But I'm not sure if that's straightforward to do, and that should not be necessary.



Also, what version of Subversion and mod_dav_svn did you install? It looks like you may have installed 1.4.6... If that's true, then that's old and unsupported; the current version is 1.8.13 and you should use that.


RE: Svnserve port issue with Apache

Posted by Prakash Reddy <pr...@emagineinternational.com>.
After installing those three rpms on the linux box, the svn link works, but my other application running earlier wont work. It means the application will be running in the background but the web link wont launch. Below is the message from browser..

The requested URL /org/admin/login was not found on this server.

Apache/2.2.15 (Red Hat) Server at 100.200.188.22 Port 80

But on the same server svn link works and shows the repositories...
http://100.200.188.22/svn/

I need steps to configure only the svn... to different port so it wont touch the apache of my other application.

Thanks
Prakash Reddy

P   +61 2 84843500
M  +61 415 778 929
S   ngp.prakash@yahoo.com(Skype)
W  www.emagineinternational.com

-----Original Message-----
From: Ryan Schmidt [mailto:subversion-2015@ryandesign.com] 
Sent: Thursday, July 9, 2015 3:28 PM
To: Prakash Reddy
Cc: Subversion Users
Subject: Re: Svnserve port issue with Apache

On Jul 9, 2015, at 12:23 AM, Prakash Reddy wrote:

> On Jul 9, 2015, at 3:11 PM, Ryan Schmidt wrote:
>> 
>> On Jul 8, 2015, at 11:14 PM, Prakash Reddy wrote:
>>> 
>>> There was an Apache application running on a a linux server and recently I installed svnserve using the below rpm files as per one of the google site. After that the svn link is working fine but my other application link running on apache earlier is not working now.
>>> 
>>> • - httpd-2.2.9-1.fc9.i386.rpm 
>>> • - mod_dav_svn.i386 0:1.4.6-7 
>>> • - subversion.i386 0:1.4.6-7
>>> 
>>> So seems the problem is with the port , where both are looking for default port of 8080
>>> 
>>> So how can I change the port of svn alone and my other application will run as it is like earlier.
>> 
>> When you are using Apache Subversion's mod_dav_svn in Apache httpd, Subversion access will occur on the port(s) you have configured Apache httpd to use. You cannot change the port that svn alone will use, and still have the same httpd serve other web traffic on a different port.
>> 
>> Options include running a second httpd instance (one for your svn http traffic, one for your other http traffic), or using svnserve instead of mod_dav_svn in httpd.
>> 
>> However, there should be no problem running mod_dav_svn within httpd and also serving other web traffic at the same time. What problem did you encounter?

> Hi Ryan,
> 
> 	Can you help me the steps how to fix it.
> 
> As of now I'm accessing the svn repo as  http://00.000.000.00/svn/
> 
> Thanks
> Prakash Reddy


When you reply, please use the Reply-All function of your email program so that the discussion stays on the mailing list, and note that on this list we prefer you post your reply after the quoted text, not before.

I can't help you fix it, because I don't know yet what's wrong. What error message were you getting? Or, what problem are you trying to solve?



Re: Svnserve port issue with Apache

Posted by Ryan Schmidt <su...@ryandesign.com>.
On Jul 9, 2015, at 12:23 AM, Prakash Reddy wrote:

> On Jul 9, 2015, at 3:11 PM, Ryan Schmidt wrote:
>> 
>> On Jul 8, 2015, at 11:14 PM, Prakash Reddy wrote:
>>> 
>>> There was an Apache application running on a a linux server and recently I installed svnserve using the below rpm files as per one of the google site. After that the svn link is working fine but my other application link running on apache earlier is not working now.
>>> 
>>> • - httpd-2.2.9-1.fc9.i386.rpm 
>>> • - mod_dav_svn.i386 0:1.4.6-7 
>>> • - subversion.i386 0:1.4.6-7
>>> 
>>> So seems the problem is with the port , where both are looking for default port of 8080
>>> 
>>> So how can I change the port of svn alone and my other application will run as it is like earlier.
>> 
>> When you are using Apache Subversion's mod_dav_svn in Apache httpd, Subversion access will occur on the port(s) you have configured Apache httpd to use. You cannot change the port that svn alone will use, and still have the same httpd serve other web traffic on a different port.
>> 
>> Options include running a second httpd instance (one for your svn http traffic, one for your other http traffic), or using svnserve instead of mod_dav_svn in httpd.
>> 
>> However, there should be no problem running mod_dav_svn within httpd and also serving other web traffic at the same time. What problem did you encounter?

> Hi Ryan,
> 
> 	Can you help me the steps how to fix it.
> 
> As of now I'm accessing the svn repo as  http://00.000.000.00/svn/
> 
> Thanks
> Prakash Reddy


When you reply, please use the Reply-All function of your email program so that the discussion stays on the mailing list, and note that on this list we prefer you post your reply after the quoted text, not before.

I can't help you fix it, because I don't know yet what's wrong. What error message were you getting? Or, what problem are you trying to solve?



Re: Svnserve port issue with Apache

Posted by Ryan Schmidt <su...@ryandesign.com>.
On Jul 8, 2015, at 11:14 PM, Prakash Reddy wrote:
> 
> There was an Apache application running on a a linux server and recently I installed svnserve using the below rpm files as per one of the google site. After that the svn link is working fine but my other application link running on apache earlier is not working now.
>  
> • - httpd-2.2.9-1.fc9.i386.rpm 
> • - mod_dav_svn.i386 0:1.4.6-7 
> • - subversion.i386 0:1.4.6-7
>  
> So seems the problem is with the port , where both are looking for default port of 8080
>  
> So how can I change the port of svn alone and my other application will run as it is like earlier.

When you are using Apache Subversion's mod_dav_svn in Apache httpd, Subversion access will occur on the port(s) you have configured Apache httpd to use. You cannot change the port that svn alone will use, and still have the same httpd serve other web traffic on a different port.

Options include running a second httpd instance (one for your svn http traffic, one for your other http traffic), or using svnserve instead of mod_dav_svn in httpd.

However, there should be no problem running mod_dav_svn within httpd and also serving other web traffic at the same time. What problem did you encounter?