Start from site config. Don't set WenBaseURL, but set WebDomain properly in both.
Regards, Ruslan. From phone. 09.08.2011 22:03 пользователь "Yan Seiner" <[email protected]> написал: > > > On Tue, August 9, 2011 10:48 am, Ruslan Zakirov wrote: >> It's hard to help without Apache config and site configs. > > I will send these separately > > for RT 4.0 > > root@svr-rt:/etc/request-tracker4# cat RT_SiteConfig.pm | grep -v ^# | > grep -v ^$ > my $zone = "UTC"; > $zone=`/bin/cat /etc/timezone` > if -f "/etc/timezone"; > chomp $zone; > Set($Timezone, $zone); > Set($rtname, 'rt4.subutil.com'); > Set($Organization, 'tracker4'); > Set($CorrespondAddress , '[email protected]'); > Set($CommentAddress , '[email protected]'); > Set($WebPath , "/rt4"); > Set($WebBaseURL , "http://tracker/rt4"); > my %typemap = ( > mysql => 'mysql', > pgsql => 'Pg', > sqlite3 => 'SQLite', > ); > > Set($DatabaseType, $typemap{mysql} || "UNKNOWN"); > Set($DatabaseHost, 'localhost'); > Set($DatabasePort, ''); > Set($DatabaseUser , '***'); > Set($DatabasePassword , '****'); > my $dbc_dbname = 'rt4db'; if ( "mysql" eq "sqlite3" ) { Set > ($DatabaseName, '' . '/' . $dbc_dbname); } else { Set ($DatabaseName, > $dbc_dbname); } > 1; > > > root@svr-rt:/etc/apache2/conf.d# cat > /etc/request-tracker3.8/apache2-fcgid.conf | grep -v ^# | grep -v ^$ > Alias /rt3/NoAuth/images /usr/share/request-tracker3.8/html/NoAuth/images > ScriptAlias /rt3 /usr/share/request-tracker3.8/libexec/mason_handler.fcgi > <Location /rt3/> > DirectoryIndex index.html > </Location> > <Location /rt3/REST/1.0/NoAuth> > Order Allow,Deny > Allow from 127.0.0.1 > </Location> > root@svr-rt:/etc/apache2/conf.d# cat > /etc/request-tracker4/apache2-fcgid.conf | grep -v ^# | grep -v ^$ > Alias /rt4/NoAuth/images /usr/share/request-tracker4/html/NoAuth/images > ScriptAlias /rt4 /usr/share/request-tracker4/libexec/rt-server.fcgi > <Location /rt4/> > DirectoryIndex index.html > </Location> > <Location /rt4/REST/1.0/NoAuth> > Order Allow,Deny > Allow from 127.0.0.1 > </Location> > > > -------- > RT Training Sessions (http://bestpractical.com/services/training.html) > * Chicago, IL, USA September 26 & 27, 2011 > * San Francisco, CA, USA October 18 & 19, 2011 > * Washington DC, USA October 31 & November 1, 2011 > * Melbourne VIC, Australia November 28 & 29, 2011 > * Barcelona, Spain November 28 & 29, 2011
-------- RT Training Sessions (http://bestpractical.com/services/training.html) * Chicago, IL, USA September 26 & 27, 2011 * San Francisco, CA, USA October 18 & 19, 2011 * Washington DC, USA October 31 & November 1, 2011 * Melbourne VIC, Australia November 28 & 29, 2011 * Barcelona, Spain November 28 & 29, 2011
