On Mon, Nov 19, 2012 at 7:21 AM, Thorsten Schöning
<tschoening_at_am-soft.de> wrote:
> Guten Tag Ratheesh Sahayaraj,
> am Montag, 19. November 2012 um 12:59 schrieben Sie:
>
>> <VirtualHost *:80>
>> ServerAdmin webmaster_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-19 13:34:22 CET