RewriteCond %{REQUEST_URI} !index\.php RewriteRule ^(.*)$ http://amc.localhost/index.php$1