website/v4/.htaccess

10 lines
186 B
ApacheConf

RewriteEngine On
Options -Indexes
RewriteBase /
# index.php?page=neco => neco/
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^([^/]+)/?$ ?page=$1