[Cppcms-users] RES: RES: RES: RES: RES: RES: Run on Windows 7
Brought to you by:
artyom-beilis
From: Renato F. <re....@ay...> - 2011-03-24 14:57:58
|
Hi Pavel, Thanks for help. Now I using no web server, I am using only CPPCMS. Sorry my ignorance, but I dont understand what is document root and how setup this. Is this: script { "service" : { "api" : "http", "port" : 8080 }, "http" : { "script" : "/" } } Any help ? Thanks De: Pavel Kropitz [mailto:un...@fu...] Enviada em: quinta-feira, 24 de março de 2011 10:18 Para: cpp...@li... Assunto: Re: [Cppcms-users] RES: RES: RES: RES: RES: Run on Windows 7 hi, as Artyom said, you should use document root according to webserver you use to serve static content. cppcms have one build in, see docs/examples how to use it; or you can use nginx (performance ;), lighthttpd, apache... pavel. >> Maybe provide correct document root for the web server??? On Thursday 24 March 2011, Renato Forti wrote: > If I provide full path, this should work? > > For sample, change this: > > <link href="style.css" rel="stylesheet" type="text/css"> > > To this: > > <link href="c:\cppcms\test\website\style.css" rel="stylesheet" > type="text/css"> > > Thanks |