diff --git a/.htaccess.dist b/.htaccess.dist index 8942448d..faeae507 100644 --- a/.htaccess.dist +++ b/.htaccess.dist @@ -7,7 +7,6 @@ RewriteEngine On RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^([A-Za-z0-9-_+']+)\.png/?$ tools/signature/index.php?name=$1 [L] -RewriteRule ^images/items/([0-9]+)\.gif$ tools/item.php?id=$1 RewriteRule ^characters/([A-Za-z0-9-_+']+)$ index.php?subtopic=characters&name=$1 RewriteRule ^guilds/([A-Za-z0-9-_+']+)$ index.php?subtopic=guilds&action=show&guild=$1 RewriteRule ^forum/board/([0-9]+)$ index.php?subtopic=forum&action=show_board&id=$1 @@ -19,10 +18,11 @@ RewriteRule ^account/manage$ index.php?subtopic=accountmanagement RewriteRule ^account/create$ index.php?subtopic=createaccount RewriteRule ^account/lost$ index.php?subtopic=lostaccount RewriteRule ^account/logout$ index.php?subtopic=accountmanagement&action=logout -RewriteRule ^news/archive/([0-9]+)$ index.php?subtopic=news&archive=true&id=$1 -RewriteRule ^news/archive$ index.php?subtopic=news&archive=true +RewriteRule ^news/archive/([0-9]+)$ index.php?subtopic=newsarchive&id=$1 +RewriteRule ^news/archive$ index.php?subtopic=newsarchive RewriteRule ^highscores/([A-Za-z0-9-_]+)/([A-Za-z0-9-_]+)?$ index.php?subtopic=highscores&list=$1&vocation=$2 RewriteRule ^highscores/([A-Za-z0-9-_']+)$ index.php?subtopic=highscores&list=$1 +RewriteRule ^polls/([0-9]+)$ index.php?subtopic=polls&id=$1 RewriteRule ^admin/$ admin/index.php RewriteRule ^install/$ install/index.php diff --git a/index.php b/index.php index 9140bdae..86c1c92d 100644 --- a/index.php +++ b/index.php @@ -141,7 +141,7 @@ if($config['backward_support']) { if(!isset($config['lightborder'])) $config['lightborder'] = '#F1E0C6'; - $config['site']['download_page'] = false; + $config['site']['download_page'] = true; $config['site']['serverinfo_page'] = true; $config['site']['screenshot_page'] = true;