Thread: [Cppcms-users] Hello World and configuration
Brought to you by:
artyom-beilis
From: Pinakee B. <pi...@vv...> - 2012-11-01 13:58:42
|
Hi, I have installed cppcms and trying out the tutorials but having some basic issues: I have created the "hello world" code and the configuration file. But since I work from my laptop accessing the server, I cannot use localhost to access the URL. The hello application needs to bind to the ip address but I am not able to figure out how to configure the config.js file for that. Is there any document specifying all the possible parameters for the config.js? I have been searching the site but couldn't locate anything yet. Looking forward to your response and support. Thanks, Pinakee |
From: Shiv S. D. <shi...@gm...> - 2012-11-01 14:18:50
|
Hope http://cppcms.com/wikipp/en/page/cppcms_1x_config#service.ip helps. On Thu, Nov 1, 2012 at 7:28 PM, Pinakee Biswas <pi...@vv...>wrote: > Hi,**** > > ** ** > > I have installed cppcms and trying out the tutorials but having some basic > issues:**** > > ** ** > > I have created the “hello world” code and the configuration file. But > since I work from my laptop accessing the server, I cannot use localhost to > access the URL. The hello application needs to bind to the ip address but I > am not able to figure out how to configure the config.js file for that.*** > * > > ** ** > > Is there any document specifying all the possible parameters for the > config.js? I have been searching the site but couldn’t locate anything yet. > **** > > ** ** > > Looking forward to your response and support…**** > > ** ** > > Thanks,**** > > Pinakee **** > > ** ** > > > ------------------------------------------------------------------------------ > Everyone hates slow websites. So do we. > Make your web apps faster with AppDynamics > Download AppDynamics Lite for free today: > http://p.sf.net/sfu/appdyn_sfd2d_oct > _______________________________________________ > Cppcms-users mailing list > Cpp...@li... > https://lists.sourceforge.net/lists/listinfo/cppcms-users > > -- Best regards, Shiv Shankar Dayal |
From: 陈抒 <csf...@gm...> - 2012-11-01 15:05:23
|
Below is from one of my articles: { "service" : { "ip":"0.0.0.0", "api" : "http", "port" : 8081 }, "http" : { "script_names" : ["/cppcms"] } } http://blog.csdn.net/sheismylife/article/details/7648106 This article describes how to upload one file to web application based on CppCMS. Ignore the Chinese words, just have a look at the codes, directory tree and CMake configuration. 陈抒 Best regards http://blog.csdn.net/sheismylife On Thu, Nov 1, 2012 at 10:18 PM, Shiv Shankar Dayal < shi...@gm...> wrote: > Hope http://cppcms.com/wikipp/en/page/cppcms_1x_config#service.ip helps. > > On Thu, Nov 1, 2012 at 7:28 PM, Pinakee Biswas <pi...@vv...>wrote: > >> Hi,**** >> >> ** ** >> >> I have installed cppcms and trying out the tutorials but having some >> basic issues:**** >> >> ** ** >> >> I have created the “hello world” code and the configuration file. But >> since I work from my laptop accessing the server, I cannot use localhost to >> access the URL. The hello application needs to bind to the ip address but I >> am not able to figure out how to configure the config.js file for that.** >> ** >> >> ** ** >> >> Is there any document specifying all the possible parameters for the >> config.js? I have been searching the site but couldn’t locate anything yet. >> **** >> >> ** ** >> >> Looking forward to your response and support…**** >> >> ** ** >> >> Thanks,**** >> >> Pinakee **** >> >> ** ** >> >> >> ------------------------------------------------------------------------------ >> Everyone hates slow websites. So do we. >> Make your web apps faster with AppDynamics >> Download AppDynamics Lite for free today: >> http://p.sf.net/sfu/appdyn_sfd2d_oct >> _______________________________________________ >> Cppcms-users mailing list >> Cpp...@li... >> https://lists.sourceforge.net/lists/listinfo/cppcms-users >> >> > > > -- > Best regards, > Shiv Shankar Dayal > > > ------------------------------------------------------------------------------ > Everyone hates slow websites. So do we. > Make your web apps faster with AppDynamics > Download AppDynamics Lite for free today: > http://p.sf.net/sfu/appdyn_sfd2d_oct > _______________________________________________ > Cppcms-users mailing list > Cpp...@li... > https://lists.sourceforge.net/lists/listinfo/cppcms-users > > |
From: Pinakee B. <pi...@vv...> - 2012-11-01 16:44:19
|
Hi, Thanks for the prompt responses. The tutorial worked for me now. Thanks, Pinakee From: 陈抒 [mailto:csf...@gm...] Sent: 01 November 2012 20:35 To: cpp...@li... Subject: Re: [Cppcms-users] Hello World and configuration Below is from one of my articles: { "service" : { "ip":"0.0.0.0", "api" : "http", "port" : 8081 }, "http" : { "script_names" : ["/cppcms"] } } http://blog.csdn.net/sheismylife/article/details/7648106 This article describes how to upload one file to web application based on CppCMS. Ignore the Chinese words, just have a look at the codes, directory tree and CMake configuration. 陈抒 Best regards http://blog.csdn.net/sheismylife On Thu, Nov 1, 2012 at 10:18 PM, Shiv Shankar Dayal <shi...@gm...> wrote: Hope http://cppcms.com/wikipp/en/page/cppcms_1x_config#service.ip helps. On Thu, Nov 1, 2012 at 7:28 PM, Pinakee Biswas <pi...@vv...> wrote: Hi, I have installed cppcms and trying out the tutorials but having some basic issues: I have created the “hello world” code and the configuration file. But since I work from my laptop accessing the server, I cannot use localhost to access the URL. The hello application needs to bind to the ip address but I am not able to figure out how to configure the config.js file for that. Is there any document specifying all the possible parameters for the config.js? I have been searching the site but couldn’t locate anything yet. Looking forward to your response and support… Thanks, Pinakee ------------------------------------------------------------------------------ Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_sfd2d_oct _______________________________________________ Cppcms-users mailing list Cpp...@li... https://lists.sourceforge.net/lists/listinfo/cppcms-users -- Best regards, Shiv Shankar Dayal ------------------------------------------------------------------------------ Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_sfd2d_oct _______________________________________________ Cppcms-users mailing list Cpp...@li... https://lists.sourceforge.net/lists/listinfo/cppcms-users |