# HG changeset patch # User Yves-Marie Haussonne <1218002+ymph@users.noreply.github.com> # Date 1311692224 -7200 # Node ID 23a375bc42fbe638dcd0e93a53d92e2e96df4566 # Parent 10d6fd6ce9ab2e06d1777d73e852e0f1ae6b1a5f correct the tmpls diff -r 10d6fd6ce9ab -r 23a375bc42fb web/.htaccess.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] + diff -r 10d6fd6ce9ab -r 23a375bc42fb web/config.php.tmpl --- 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';