web/.htaccess.tmpl
author ymh <ymh.work@gmail.com>
Sun, 23 Sep 2018 17:13:34 +0200
changeset 1478 adb28b75f2c7
parent 430 f79d9ab88b36
permissions -rw-r--r--
Use cache for tweeter request to avoid hitting rate limits

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]