X-Git-Url: https://projects.mako.cc/source/scuttle/blobdiff_plain/c20b44263a89d8bf1a78bfa632daaae3cb4f1da2..c7f63c8b9b12efd7b3c10b9f80cda06eaf32068f:/.htaccess diff --git a/.htaccess b/.htaccess index c129f69..de83899 100644 --- a/.htaccess +++ b/.htaccess @@ -1,7 +1,12 @@ -Options +FollowSymlinks -AcceptPathInfo On -RewriteEngine On -RewriteBase / -RewriteCond %{REQUEST_FILENAME} !-f -RewriteCond %{REQUEST_FILENAME} !-d -RewriteRule ^([^/]+)/?(.*) $1.php/$2 [L] +# 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] +