ksarkes/gets-test/master/web-client/.htaccess - Htaccess File

ksarkes/gets-test/master/web-client/.htaccess

RewriteEngine On
# Don't favicon!
RewriteCond %{REQUEST_FILENAME} !^favicon.ico
# use exist folders
RewriteCond %{REQUEST_FILENAME} !-d
# use exist files
RewriteCond %{REQUEST_FILENAME} !-f
# move requested language to GET param
RewriteRule ^(.+)/([a-z]{2,2})/(.+)$ $1/$3?lang=$2 [QSA,L]

On Github License

Files

Download PDF of Htaccess file
GET, REQUEST_FILENAME

Comments

Apache