web/.htaccess.tmpl
changeset 234 23a375bc42fb
parent 122 4c3a15877f80
child 268 d46e8e769513
--- a/web/.htaccess.tmpl	Tue Jul 26 16:49:36 2011 +0200
+++ b/web/.htaccess.tmpl	Tue Jul 26 16:57:04 2011 +0200
@@ -1,1 +1,8 @@
-php_value include_path ".:/Users/cybunk/WORK/IRI/REPO_TWEET_LIVE/web/lib/"
\ No newline at end of file
+php_value include_path ".:/Users/cybunk/WORK/IRI/REPO_TWEET_LIVE/web/lib/"
+
+RewriteEngine on
+RewriteBase /
+RewriteCond %{REQUEST_FILENAME} !-f 
+RewriteCond %{REQUEST_FILENAME} !-d 
+RewriteRule (.+)/([\w-]+)\.php$ ~ymh/tweet_live/$2.php?rep=$1 [QSA,L]
+