correct the tmpls
authorYves-Marie Haussonne <1218002+ymph@users.noreply.github.com>
Tue, 26 Jul 2011 16:57:04 +0200
changeset 234 23a375bc42fb
parent 233 10d6fd6ce9ab
child 235 ca008aef675f
correct the tmpls
web/.htaccess.tmpl
web/config.php.tmpl
--- 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]
+
--- a/web/config.php.tmpl	Tue Jul 26 16:49:36 2011 +0200
+++ b/web/config.php.tmpl	Tue Jul 26 16:57:04 2011 +0200
@@ -2,10 +2,10 @@
 
 /**
  * Please edit all for your application registration / other details
- * 
+ * The URL_ROOT must finish with a "/"
  */
 
 //define('URL_ROOT', 'http://127.0.0.1/IRI/REPO_TWEET_LIVE/web/');
-define('URL_ROOT', 'http://127.0.0.1/IRI/REPO_TWEET_LIVE/web/client.php');
+define('URL_ROOT', 'http://127.0.0.1/IRI/REPO_TWEET_LIVE/web/');
 
 $C_default_registry = 'cdn';