Файл авторизации auth.php

<? define("NEED_AUTH", true);
require($_SERVER["DOCUMENT_ROOT"]."/bitrix/header.php");

if (isset($_REQUEST["backurl"]) && strlen($_REQUEST["backurl"])>0) LocalRedirect($backurl);

$APPLICATION->SetTitle("Authorization"); ?>

<script type="text/javascript">
	location.href="/";
</script>
<p><a href="<?=SITE_DIR?>">Go to main page</a></p>

<?require($_SERVER["DOCUMENT_ROOT"]."/bitrix/footer.php");?>