<?php
echo "<h1>Rewrite Test</h1>";
echo "<p>If you see this, PHP is working.</p>";
echo "<p>Request URI: " . $_SERVER['REQUEST_URI'] . "</p>";
echo "<p>Script Name: " . $_SERVER['SCRIPT_NAME'] . "</p>";
echo "<p>Document Root: " . $_SERVER['DOCUMENT_ROOT'] . "</p>";
echo "<hr>";
echo "<p>Testing .htaccess - if this loaded from /samanta_crm/test_rewrite.php then rewrite is NOT working.</p>";
echo "<p>It should have been rewritten to public/index.php</p>";
