hqkirkland/WindPHP/master/wind-source/.htaccess - Htaccess File

hqkirkland/WindPHP/master/wind-source/.htaccess

<Files .htaccess>
deny from all
</Files>

<ifModule mod_rewrite.c>
RewriteEngine on
# Uncomment the line below if the site doesn't work and you have mod_rewrite installed.
# RewriteBase /

RewriteRule ^index$ ./index.php
RewriteRule ^me$ ./me.php
RewriteRule ^client$ ./client.php
RewriteRule ^articles/(.*)$ ./articles.php?id=$1
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(([A-Za-z0-9-_]+/)*[A-Za-z0-9-_]+)?$ $1.php
</ifModule>

On Github License

Files

Download PDF of Htaccess file
REQUEST_FILENAME

Comments

Apache