conneg test, see #52
This commit is contained in:
parent
a24a6123cb
commit
f9a745046a
@ -1,16 +0,0 @@
|
||||
---
|
||||
layout: none
|
||||
permalink: .htaccess
|
||||
---
|
||||
# Serve requests for /example using the files at /example.html
|
||||
RewriteEngine on
|
||||
RewriteCond %{REQUEST_FILENAME} !-d
|
||||
RewriteCond %{REQUEST_FILENAME}\.html -f
|
||||
RewriteRule ^(.*)$ $1.html
|
||||
|
||||
# Redirect requests for /example.html to /example
|
||||
RewriteCond %{REQUEST_FILENAME} !-d
|
||||
RewriteCond %{REQUEST_FILENAME}\.html -f
|
||||
RewriteCond %{REQUEST_URI} ^(.+)\.html$
|
||||
RewriteRule (.*)\.html$ /$1 [R=301,L]
|
||||
|
@ -1,16 +0,0 @@
|
||||
---
|
||||
layout: none
|
||||
permalink: .htaccess
|
||||
---
|
||||
# Serve requests for /example using the files at /example.html
|
||||
RewriteEngine on
|
||||
RewriteCond %{REQUEST_FILENAME} !-d
|
||||
RewriteCond %{REQUEST_FILENAME}\.html -f
|
||||
RewriteRule ^(.*)$ $1.html
|
||||
|
||||
# Redirect requests for /example.html to /example
|
||||
RewriteCond %{REQUEST_FILENAME} !-d
|
||||
RewriteCond %{REQUEST_FILENAME}\.html -f
|
||||
RewriteCond %{REQUEST_URI} ^(.+)\.html$
|
||||
RewriteRule (.*)\.html$ /$1 [R=301,L]
|
||||
|
@ -1,16 +0,0 @@
|
||||
---
|
||||
layout: none
|
||||
permalink: .htaccess
|
||||
---
|
||||
# Serve requests for /example using the files at /example.html
|
||||
RewriteEngine on
|
||||
RewriteCond %{REQUEST_FILENAME} !-d
|
||||
RewriteCond %{REQUEST_FILENAME}\.html -f
|
||||
RewriteRule ^(.*)$ $1.html
|
||||
|
||||
# Redirect requests for /example.html to /example
|
||||
RewriteCond %{REQUEST_FILENAME} !-d
|
||||
RewriteCond %{REQUEST_FILENAME}\.html -f
|
||||
RewriteCond %{REQUEST_URI} ^(.+)\.html$
|
||||
RewriteRule (.*)\.html$ /$1 [R=301,L]
|
||||
|
13
htaccess
13
htaccess
@ -2,15 +2,4 @@
|
||||
layout: none
|
||||
permalink: .htaccess
|
||||
---
|
||||
# Serve requests for /example using the files at /example.html
|
||||
RewriteEngine on
|
||||
RewriteCond %{REQUEST_FILENAME} !-d
|
||||
RewriteCond %{REQUEST_FILENAME}\.html -f
|
||||
RewriteRule ^(.*)$ $1.html
|
||||
|
||||
# Redirect requests for /example.html to /example
|
||||
RewriteCond %{REQUEST_FILENAME} !-d
|
||||
RewriteCond %{REQUEST_FILENAME}\.html -f
|
||||
RewriteCond %{REQUEST_URI} ^(.+)\.html$
|
||||
RewriteRule (.*)\.html$ /$1 [R=301,L]
|
||||
|
||||
Options +MultiViews
|
||||
|
Loading…
Reference in New Issue
Block a user