silverstripe-framework/admin/thirdparty/history-js/tests/.htaccess

14 lines
419 B
ApacheConf
Raw Normal View History

2011-12-13 10:34:25 +01:00
Options +FollowSymlinks
RewriteEngine On
# Clean Adapter
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ([^\.]+)$ $1.html [NC,L,QSA]
# Can someone smarter than me make it so:
# http://localhost/history.js/tests/uncompressed-html5-persistant-jquery
# Does not redirect to:
# http://localhost/history.js/tests/uncompressed-html5-persistant-jquery.html
# But still accesses that url