[rt-users] RT 3.8.10 and 4.0.1 in apache vritual hosts - possible?

Christian Loos cloos at netsandbox.de
Thu Aug 11 16:57:15 EDT 2011


You can't run rt3 and rt4 under the same Port(80) and path(/).
Change the port or the path of the rt4 apache config.

Am 10.08.2011 17:44, schrieb Yan Seiner:
> RT3 virtual host:
> 
> root at svr-rt:/etc/apache2/sites-available# cat rt3
> <VirtualHost *:80>
>         ServerAdmin webmaster at localhost
>     ServerName rt
> 
>     DocumentRoot /opt/rt3/share/html
>     AddDefaultCharset UTF-8
> 
>     # optional apache logs for RT
>     ErrorLog /opt/rt3/var/log/apache2.error
>     TransferLog /opt/rt3/var/log/apache2.access
> 
> #    PerlRequire "/opt/rt3/bin/webmux.pl"
>       SetHandler /opt/rt3/bin/mason_handler.fcgi
>       AddHandler fastcgi-script fcgi
>       ScriptAlias / /opt/rt3/bin/mason_handler.fcgi/
> 
>     <Location /NoAuth/images>
>         SetHandler default
>     </Location>
>     <Location />
>         SetHandler perl-script
>         PerlResponseHandler RT::Mason
>     </Location>
> </VirtualHost>
> 
> 
> RT4 Virtual Host
> 
> root at svr-rt:/etc/apache2/sites-available# cat rt4
> <VirtualHost *:80>
>         ServerAdmin webmaster at localhost
>     ServerName tracker
> 
>     DocumentRoot /opt/rt4/share/html
>     AddDefaultCharset UTF-8
> 
>     # optional apache logs for RT
>     ErrorLog /opt/rt4/var/log/apache2.error
>     TransferLog /opt/rt4/var/log/apache2.access
> 
> #    PerlRequire "/opt/rt4/bin/webmux.pl"
>       SetHandler /opt/rt4/sbin/rt-server.fcgi
>       AddHandler fastcgi-script fcgi
>       ScriptAlias / /opt/rt4/sbin/rt-server.fcgi/
> 
> 
>     <Location /NoAuth/images>
>         SetHandler default
>     </Location>
>     <Location />
> Order allow,deny
> Allow from all
> 
> AddDefaultCharset UTF-8
> 
> SetHandler perl-script
> PerlResponseHandler Plack::Handler::Apache2
> PerlSetVar psgi_app /opt/rt4/sbin/rt-server
> </Location>
> 
> <Perl>
> use Plack::Handler::Apache2;
> Plack::Handler::Apache2->preload("/opt/rt4/sbin/rt-server");
> </Perl>
> </VirtualHost>



More information about the rt-users mailing list