X-Git-Url: https://projects.mako.cc/source/scuttle/blobdiff_plain/c20b44263a89d8bf1a78bfa632daaae3cb4f1da2..bce919af7b49bbd06223f79b8c37a53a3d263ff0:/.htaccess diff --git a/.htaccess b/.htaccess index c129f69..89f6dfd 100644 --- a/.htaccess +++ b/.htaccess @@ -1,7 +1,13 @@ +# Rewrite clean URLs onto real files + Options +FollowSymlinks -AcceptPathInfo On + + AcceptPathInfo On + RewriteEngine On RewriteBase / RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d -RewriteRule ^([^/]+)/?(.*) $1.php/$2 [L] +RewriteCond %{REQUEST_FILENAME}.php -f +RewriteRule ^([^/]+)/?(.*) $1.php/$2 [L] +