fixed syscp-bug #1269 (false AwStats RewriteRule);

This commit is contained in:
Michael Kaufmann (d00p)
2010-01-20 10:39:52 +00:00
parent 64290e4d7c
commit d329eb3b63
2 changed files with 3 additions and 3 deletions

View File

@@ -29,8 +29,8 @@ function createAWStatsVhost($siteDomain, $settings = null)
{
$vhosts_file = ' # AWStats statistics' . "\n";
$vhosts_file.= ' RewriteEngine On' . "\n";
$vhosts_file.= ' RewriteRule ^/awstats(/.*)? /awstats/awstats.pl?config=' . $siteDomain . ' [L,PT]' . "\n";
$vhosts_file.= ' RewriteRule ^/awstats.pl(.*)* /awstats/awstats.pl$1 [QSA,L,PT]' . "\n";
$vhosts_file.= ' RewriteRule ^/awstats(/.*)?$ /awstats/awstats.pl?config=' . $siteDomain . ' [L,PT]' . "\n";
$vhosts_file.= ' RewriteRule ^/awstats.pl(.*)$ /awstats/awstats.pl$1 [QSA,L,PT]' . "\n";
}
else
{