[Cppcms-users] Hi
Brought to you by:
artyom-beilis
|
From: Prasad J <jah...@re...> - 2013-08-06 17:43:43
|
HI ALL,
can you please help what is wrong in below js file , its not able to match below url
in tmpl file.
and js file is
{
"mb" : {
"media" : "/media",
"root" : "",
// "connection_string" : "sqlite3:db=mb.db;@pool_size=10"
"connection_string" : "mysql:database=test;user=root;password=test123;host=127.0.0.1;port=3306;@pool_size=10"
},
"service" : {
"api" : "http",
"port" : 8080
},
"http" : {
"script" : "/myapp",
"rewrite" : [
{ "regex" : "^/media(/.*)?", "pattern" : "$0" },
{ "regex" : "^/*" , "pattern" : "/myapp$0" }
]
},
// "views" : {
// "paths" : [ "./" ],
// "skins" : [ "simple" ],
// },
"file_server" : {
"enable" : true,
"document_root" : "../"
},
"session" : {
"expire" : "renew",
"timeout" : 604800,
"location" : "client",
"client" : {
"hmac" : "sha1",
"hmac_key" : "232074faa0fd37de20858bf8cd0a7d04"
}
},
"cache" : {
"backend" : "thread_shared",
"limit" : 100,
},
"security" : {
"csrf" : {
"enable" : true,
"exposed" : true
}
},
"localization" : {
"messages" : {
"paths" : [ "./locale" ],
"domains" : [ "myapp" ]
},
"locales" : [
"en_US.UTF-8",
"he_IL.UTF-8"
]
}
}
Thanks in advance ....
Prasad |