diff --git a/server/conf/awstats_index.php.master b/server/conf/awstats_index.php.master
index a82de8a0ca4e73f5f95df76660ff0b1e69f852f9..65fc9afff4dbf62e39ebe363d36c74f2affb74a3 100644
--- a/server/conf/awstats_index.php.master
+++ b/server/conf/awstats_index.php.master
@@ -54,6 +54,7 @@ foreach ($awprev as $key => $value) {
 	else $options .= "<option value=\"{$value}/{$awstatsindex}\">{$value}</option>\n";
 }
 
+$awstatsindex = 'awsindex.html'
 $html = "<!DOCTYPE html>\n<html>\n<head>\n<title>Stats</title>\n";
 $html .= "<style>\nhtml,body {margin:0px;padding:0px;width:100%;height:100%;background-color: #ccc;}\n";
 $html .= "#header\n{\nwidth:100%;margin:0px auto;\nheight:20px;\nposition:fixed;\npadding:4px;\ntext-align:center;\n}\n";