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