web/.htaccess.tmpl
author Yves-Marie Haussonne <1218002+ymph@users.noreply.github.com>
Tue, 21 Nov 2017 12:09:29 +0100
changeset 1404 70805de82cb3
parent 430 f79d9ab88b36
permissions -rw-r--r--
Add url parameter to avoid embedding the video

php_value include_path ".:/Users/cybunk/WORK/IRI/REPO_TWEET_LIVE/web/lib/"

RewriteEngine on
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f 
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_URI} !^/demo
RewriteRule (.+)/([\w-]+)\.php$ ~ymh/tweet_live/$2.php?rep=$1 [QSA,L]