X-Git-Url: https://projects.mako.cc/source/scuttle/blobdiff_plain/c20b44263a89d8bf1a78bfa632daaae3cb4f1da2..a52e94e7d37efbd5356bb8a5b65f577e8500aed5:/.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] +