Campus77/tippspiel24/master/.htaccess - Htaccess File

Campus77/tippspiel24/master/.htaccess

AddDefaultCharset UTF-8

RewriteEngine on

Options +FollowSymLinks 
# -Indexes

RewriteCond %{HTTP_HOST} ^www.(.*)$ [NC]
RewriteRule ^(.*)$ https://%1/$1 [R=301,L]

# Replace ".php" by "" 
# 
RewriteCond %{REQUEST_URI} !/$ 
RewriteCond %{REQUEST_FILENAME} !-f 
RewriteCond %{REQUEST_FILENAME}.php -f 
RewriteRule ^(.*)$ $1.php [L]

On Github License

Files

Download PDF of Htaccess file
HTTP_HOST, REQUEST_FILENAME, REQUEST_URI

Comments

Apache