Maybe running the following as url.com/test.php/forum-2.html will help:
<?php
echo 'Request URI: ' . $_SERVER['REQUEST_URI'] . '<br />';
echo 'PHP Self: ' . $_SERVER['PHP_SELF'] . '<br />';
echo 'Path Info: ' . $_SERVER['PATH_INFO'] . '<br />';
echo 'Redirect URL: ' . $_SERVER['REDIRECT_URL']. '<br />';
?>
Post the output please if possible.
Open archive/global.php and find:
if($_SERVER['REDIRECT_URL'])
{
$url = $_SERVER['REDIRECT_URL'];
}
Replace with:
if ($_SERVER['REQUEST_URI'])
{
$url = $_SERVER['REQUEST_URI'];
}
elseif($_SERVER['REDIRECT_URL'])
{
$url = $_SERVER['REDIRECT_URL'];
}
This bug has been fixed in the latest code.
Please note the latest code is not live on the site or for download. An update will be released which contains this fix.