[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: Running Bugzilla and SVN in same Server

From: Ratheesh Sahayaraj <aegan.ratheesh_at_gmail.com>
Date: Tue, 20 Nov 2012 01:27:49 -0800 (PST)

How to obtain a virtual address like dat?

On Nov 19, 5:34 pm, Nico Kadel-Garcia <nka..._at_gmail.com> wrote:
> On Mon, Nov 19, 2012 at 7:21 AM, Thorsten Schöning
>
>
>
>
>
>
>
>
>
> <tschoen..._at_am-soft.de> wrote:
> > Guten Tag Ratheesh Sahayaraj,
> > am Montag, 19. November 2012 um 12:59 schrieben Sie:
>
> >> <VirtualHost *:80>
> >>     ServerAdmin webmas..._at_dummy-host.example.com
> >>     DocumentRoot /var/www/html/websvn
> >>     ServerName svn
> >>     ErrorLog logs/websvn-error_log
> >>     CustomLog logs/websvn-access_log common
> >>             <Location />
> >>                 Options +FollowSymLinks
> >>                 AllowOverride None
> >>                 order allow,deny
> >>                 allow from all
> >>                 AuthType Basic
> >>                 AuthName "Subversion Repository"
> >>                 Require valid-user
> >>                   AuthUserFile /svn/conf/svn-auth-file
> >>                 <IfModule mod_php4.c>
> >>                     php_flag magic_quotes_gpc Off
> >>                     php_flag track_vars On
> >>                 </IfModule>
> >> </Location>
> >> </VirtualHost>
>
> > You should read the docs on what a virtual host is and how it works,
> > afterwards you can configure the same for Bugzilla and access both
> > applications using proper names as you already configured "svn" for
> > WebSVN.
>
> >> PerlSwitches -I/var/www/html/bugzilla -I/var/www/html/bugzilla/lib -w -
> >> T
> >> PerlConfigureRequire /var/www/html/bugzilla/mod_perl.pl
>
> > You shouldn't need the I-switch and those two lines assume that
> > nothing else is running in your httpd, you can't have Bugzilla and
> > Subversion in parallel this way. You need virtual hosts, read about
> > them. Below is an exmaple configuration I use, I don't use with
> > commented mod_pelr.pl because I don't use it currently.
>
> Note that hostname based virtual hosts are one of the irksome
> poltergeists of secure computing. The big part of the problem is that
> SSL keys are tied to IP addresses, and you can't use different keys
> for different virtual hosts on the same IP address. The other problem
> is that for most configurations, you wind up having to use the fully
> qualified hostname for all URL's, and can't use the IP address or
> aliases for the same site unless you *manually* set them all up as
> ServerAlias options.
>
> If feasible: get a separate IP address for the separate service, set
> it up as a virtual IP address, and set up a different IP based virtual
> host to separate out the functions of bugzilla and Subversion.
>
> It's also possible to set up Subversion as a subdirectory on the same
> server, by using "https://hostname/svn/" as the URL to work with.https://[whatver]/svn can then be set to "Redirect" to to the
> Subversion URL. just to avoid confusion.
Received on 2012-11-20 10:28:25 CET

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.