Thread: [Cppcms-users] Running cppcms web server for testing examples options
Brought to you by:
artyom-beilis
From: jupiter <jup...@gm...> - 2017-04-29 02:15:30
|
Hi, Sorry for asking an FAQ, I try to run CppCMS web server on Linux machine both in CentOS and Debian, I was told by freieds that I can run CppCMS server without Appach or FastCGI, but when I read the CppCMS document, it seems I cannot run CppCMS web server without running Appach or FastCGI. Could anyone clarify it? Thank you and appreciate it. Kind regards |
From: CN <cn...@fa...> - 2017-04-29 05:33:59
|
On Sat, Apr 29, 2017, at 10:14 AM, jupiter wrote: > Hi, > Sorry for asking an FAQ, I try to run CppCMS web server on Linux > machine both in CentOS and Debian, I was told by freieds that I can > run CppCMS server without Appach or FastCGI, but when I read the > CppCMS document, it seems I cannot run CppCMS web server without > running Appach or FastCGI. Could anyone clarify it?I have been running CppCMS with Lighttpd communicating with each other using FastCGI without issue for more than a year. In fact, I learned Lighttpd from CppCMS tutorials. Regards, CN -- http://www.fastmail.com - Access all of your messages and folders wherever you are |
From: Shiv S. D. <shi...@gm...> - 2017-04-29 06:23:03
|
Yes, it is possible to run CppCMS web server on both the operating systems. However, it is not optimal for production. I typically run as FastCGI reverse proxy with Nginx or Http reverse proxy(poorer choice.). On Sat, Apr 29, 2017 at 11:03 AM, CN <cn...@fa...> wrote: > > On Sat, Apr 29, 2017, at 10:14 AM, jupiter wrote: > > Hi, > Sorry for asking an FAQ, I try to run CppCMS web server on Linux machine > both in CentOS and Debian, I was told by freieds that I can run CppCMS > server without Appach or FastCGI, but when I read the CppCMS document, it > seems I cannot run CppCMS web server without running Appach or FastCGI. > Could anyone clarify it? > > I have been running CppCMS with Lighttpd communicating with each other > using FastCGI without issue for more than a year. In fact, I learned > Lighttpd from CppCMS tutorials. > > Regards, > CN > > -- http://www.fastmail.com - Access all of your messages and folders > wherever you are > > > ------------------------------------------------------------ > ------------------ > Check out the vibrant tech community on one of the world's most > engaging tech sites, Slashdot.org! http://sdm.link/slashdot > _______________________________________________ > Cppcms-users mailing list > Cpp...@li... > https://lists.sourceforge.net/lists/listinfo/cppcms-users > > -- Respect, Shiv Shankar Dayal |
From: mawan s. <ma...@gm...> - 2017-04-29 07:24:41
|
Dear Shiv when using Nginx, Are you run cppcms as daemon service? How do you run it? Thankyou before. On Sat, Apr 29, 2017 at 1:22 PM, Shiv Shankar Dayal < shi...@gm...> wrote: > Yes, it is possible to run CppCMS web server on both the operating > systems. However, it is not optimal for production. I typically run as > FastCGI reverse proxy with Nginx or Http reverse proxy(poorer choice.). > > On Sat, Apr 29, 2017 at 11:03 AM, CN <cn...@fa...> wrote: > >> >> On Sat, Apr 29, 2017, at 10:14 AM, jupiter wrote: >> >> Hi, >> Sorry for asking an FAQ, I try to run CppCMS web server on Linux machine >> both in CentOS and Debian, I was told by freieds that I can run CppCMS >> server without Appach or FastCGI, but when I read the CppCMS document, it >> seems I cannot run CppCMS web server without running Appach or FastCGI. >> Could anyone clarify it? >> >> I have been running CppCMS with Lighttpd communicating with each other >> using FastCGI without issue for more than a year. In fact, I learned >> Lighttpd from CppCMS tutorials. >> >> Regards, >> CN >> >> -- http://www.fastmail.com - Access all of your messages and folders >> wherever you are >> >> >> ------------------------------------------------------------ >> ------------------ >> Check out the vibrant tech community on one of the world's most >> engaging tech sites, Slashdot.org! http://sdm.link/slashdot >> _______________________________________________ >> Cppcms-users mailing list >> Cpp...@li... >> https://lists.sourceforge.net/lists/listinfo/cppcms-users >> >> > > > -- > Respect, > Shiv Shankar Dayal > > ------------------------------------------------------------ > ------------------ > Check out the vibrant tech community on one of the world's most > engaging tech sites, Slashdot.org! http://sdm.link/slashdot > _______________________________________________ > Cppcms-users mailing list > Cpp...@li... > https://lists.sourceforge.net/lists/listinfo/cppcms-users > > |
From: Shiv S. D. <shi...@gm...> - 2017-04-29 07:45:26
|
Yes, I daemonize CppCMS on port 8080. Log files are what I use for debugging. On Sat, Apr 29, 2017 at 12:53 PM, mawan sugiyanto <ma...@gm...> wrote: > Dear Shiv > > when using Nginx, Are you run cppcms as daemon service? > How do you run it? > > Thankyou before. > > > > > On Sat, Apr 29, 2017 at 1:22 PM, Shiv Shankar Dayal < > shi...@gm...> wrote: > >> Yes, it is possible to run CppCMS web server on both the operating >> systems. However, it is not optimal for production. I typically run as >> FastCGI reverse proxy with Nginx or Http reverse proxy(poorer choice.). >> >> On Sat, Apr 29, 2017 at 11:03 AM, CN <cn...@fa...> wrote: >> >>> >>> On Sat, Apr 29, 2017, at 10:14 AM, jupiter wrote: >>> >>> Hi, >>> Sorry for asking an FAQ, I try to run CppCMS web server on Linux machine >>> both in CentOS and Debian, I was told by freieds that I can run CppCMS >>> server without Appach or FastCGI, but when I read the CppCMS document, it >>> seems I cannot run CppCMS web server without running Appach or FastCGI. >>> Could anyone clarify it? >>> >>> I have been running CppCMS with Lighttpd communicating with each other >>> using FastCGI without issue for more than a year. In fact, I learned >>> Lighttpd from CppCMS tutorials. >>> >>> Regards, >>> CN >>> >>> -- http://www.fastmail.com - Access all of your messages and folders >>> wherever you are >>> >>> >>> ------------------------------------------------------------ >>> ------------------ >>> Check out the vibrant tech community on one of the world's most >>> engaging tech sites, Slashdot.org! http://sdm.link/slashdot >>> _______________________________________________ >>> Cppcms-users mailing list >>> Cpp...@li... >>> https://lists.sourceforge.net/lists/listinfo/cppcms-users >>> >>> >> >> >> -- >> Respect, >> Shiv Shankar Dayal >> >> ------------------------------------------------------------ >> ------------------ >> Check out the vibrant tech community on one of the world's most >> engaging tech sites, Slashdot.org! http://sdm.link/slashdot >> _______________________________________________ >> Cppcms-users mailing list >> Cpp...@li... >> https://lists.sourceforge.net/lists/listinfo/cppcms-users >> >> > > ------------------------------------------------------------ > ------------------ > Check out the vibrant tech community on one of the world's most > engaging tech sites, Slashdot.org! http://sdm.link/slashdot > _______________________________________________ > Cppcms-users mailing list > Cpp...@li... > https://lists.sourceforge.net/lists/listinfo/cppcms-users > > -- Respect, Shiv Shankar Dayal |
From: mawan s. <ma...@gm...> - 2017-04-29 07:53:43
|
Thankyou, can you explain how to create daemon cppcms or is there any tutorial for it? On Sat, Apr 29, 2017 at 2:45 PM, Shiv Shankar Dayal < shi...@gm...> wrote: > Yes, I daemonize CppCMS on port 8080. Log files are what I use for > debugging. > > On Sat, Apr 29, 2017 at 12:53 PM, mawan sugiyanto <ma...@gm...> > wrote: > >> Dear Shiv >> >> when using Nginx, Are you run cppcms as daemon service? >> How do you run it? >> >> Thankyou before. >> >> >> >> >> On Sat, Apr 29, 2017 at 1:22 PM, Shiv Shankar Dayal < >> shi...@gm...> wrote: >> >>> Yes, it is possible to run CppCMS web server on both the operating >>> systems. However, it is not optimal for production. I typically run as >>> FastCGI reverse proxy with Nginx or Http reverse proxy(poorer choice.). >>> >>> On Sat, Apr 29, 2017 at 11:03 AM, CN <cn...@fa...> wrote: >>> >>>> >>>> On Sat, Apr 29, 2017, at 10:14 AM, jupiter wrote: >>>> >>>> Hi, >>>> Sorry for asking an FAQ, I try to run CppCMS web server on Linux >>>> machine both in CentOS and Debian, I was told by freieds that I can run >>>> CppCMS server without Appach or FastCGI, but when I read the CppCMS >>>> document, it seems I cannot run CppCMS web server without running Appach or >>>> FastCGI. Could anyone clarify it? >>>> >>>> I have been running CppCMS with Lighttpd communicating with each other >>>> using FastCGI without issue for more than a year. In fact, I learned >>>> Lighttpd from CppCMS tutorials. >>>> >>>> Regards, >>>> CN >>>> >>>> -- http://www.fastmail.com - Access all of your messages and folders >>>> wherever you are >>>> >>>> >>>> ------------------------------------------------------------ >>>> ------------------ >>>> Check out the vibrant tech community on one of the world's most >>>> engaging tech sites, Slashdot.org! http://sdm.link/slashdot >>>> _______________________________________________ >>>> Cppcms-users mailing list >>>> Cpp...@li... >>>> https://lists.sourceforge.net/lists/listinfo/cppcms-users >>>> >>>> >>> >>> >>> -- >>> Respect, >>> Shiv Shankar Dayal >>> >>> ------------------------------------------------------------ >>> ------------------ >>> Check out the vibrant tech community on one of the world's most >>> engaging tech sites, Slashdot.org! http://sdm.link/slashdot >>> _______________________________________________ >>> Cppcms-users mailing list >>> Cpp...@li... >>> https://lists.sourceforge.net/lists/listinfo/cppcms-users >>> >>> >> >> ------------------------------------------------------------ >> ------------------ >> Check out the vibrant tech community on one of the world's most >> engaging tech sites, Slashdot.org! http://sdm.link/slashdot >> _______________________________________________ >> Cppcms-users mailing list >> Cpp...@li... >> https://lists.sourceforge.net/lists/listinfo/cppcms-users >> >> > > > -- > Respect, > Shiv Shankar Dayal > > ------------------------------------------------------------ > ------------------ > Check out the vibrant tech community on one of the world's most > engaging tech sites, Slashdot.org! http://sdm.link/slashdot > _______________________________________________ > Cppcms-users mailing list > Cpp...@li... > https://lists.sourceforge.net/lists/listinfo/cppcms-users > > |
From: Shiv S. D. <shi...@gm...> - 2017-04-29 08:05:16
|
This is explained in configuration file reference. http://cppcms.com/wikipp/en/page/cppcms_1x_config#daemon section has all the information. On Sat, Apr 29, 2017 at 1:22 PM, mawan sugiyanto <ma...@gm...> wrote: > Thankyou, can you explain how to create daemon cppcms or is there any > tutorial for it? > > > > On Sat, Apr 29, 2017 at 2:45 PM, Shiv Shankar Dayal < > shi...@gm...> wrote: > >> Yes, I daemonize CppCMS on port 8080. Log files are what I use for >> debugging. >> >> On Sat, Apr 29, 2017 at 12:53 PM, mawan sugiyanto <ma...@gm...> >> wrote: >> >>> Dear Shiv >>> >>> when using Nginx, Are you run cppcms as daemon service? >>> How do you run it? >>> >>> Thankyou before. >>> >>> >>> >>> >>> On Sat, Apr 29, 2017 at 1:22 PM, Shiv Shankar Dayal < >>> shi...@gm...> wrote: >>> >>>> Yes, it is possible to run CppCMS web server on both the operating >>>> systems. However, it is not optimal for production. I typically run as >>>> FastCGI reverse proxy with Nginx or Http reverse proxy(poorer choice.). >>>> >>>> On Sat, Apr 29, 2017 at 11:03 AM, CN <cn...@fa...> wrote: >>>> >>>>> >>>>> On Sat, Apr 29, 2017, at 10:14 AM, jupiter wrote: >>>>> >>>>> Hi, >>>>> Sorry for asking an FAQ, I try to run CppCMS web server on Linux >>>>> machine both in CentOS and Debian, I was told by freieds that I can run >>>>> CppCMS server without Appach or FastCGI, but when I read the CppCMS >>>>> document, it seems I cannot run CppCMS web server without running Appach or >>>>> FastCGI. Could anyone clarify it? >>>>> >>>>> I have been running CppCMS with Lighttpd communicating with each other >>>>> using FastCGI without issue for more than a year. In fact, I learned >>>>> Lighttpd from CppCMS tutorials. >>>>> >>>>> Regards, >>>>> CN >>>>> >>>>> -- http://www.fastmail.com - Access all of your messages and folders >>>>> wherever you are >>>>> >>>>> >>>>> ------------------------------------------------------------ >>>>> ------------------ >>>>> Check out the vibrant tech community on one of the world's most >>>>> engaging tech sites, Slashdot.org! http://sdm.link/slashdot >>>>> _______________________________________________ >>>>> Cppcms-users mailing list >>>>> Cpp...@li... >>>>> https://lists.sourceforge.net/lists/listinfo/cppcms-users >>>>> >>>>> >>>> >>>> >>>> -- >>>> Respect, >>>> Shiv Shankar Dayal >>>> >>>> ------------------------------------------------------------ >>>> ------------------ >>>> Check out the vibrant tech community on one of the world's most >>>> engaging tech sites, Slashdot.org! http://sdm.link/slashdot >>>> _______________________________________________ >>>> Cppcms-users mailing list >>>> Cpp...@li... >>>> https://lists.sourceforge.net/lists/listinfo/cppcms-users >>>> >>>> >>> >>> ------------------------------------------------------------ >>> ------------------ >>> Check out the vibrant tech community on one of the world's most >>> engaging tech sites, Slashdot.org! http://sdm.link/slashdot >>> _______________________________________________ >>> Cppcms-users mailing list >>> Cpp...@li... >>> https://lists.sourceforge.net/lists/listinfo/cppcms-users >>> >>> >> >> >> -- >> Respect, >> Shiv Shankar Dayal >> >> ------------------------------------------------------------ >> ------------------ >> Check out the vibrant tech community on one of the world's most >> engaging tech sites, Slashdot.org! http://sdm.link/slashdot >> _______________________________________________ >> Cppcms-users mailing list >> Cpp...@li... >> https://lists.sourceforge.net/lists/listinfo/cppcms-users >> >> > > ------------------------------------------------------------ > ------------------ > Check out the vibrant tech community on one of the world's most > engaging tech sites, Slashdot.org! http://sdm.link/slashdot > _______________________________________________ > Cppcms-users mailing list > Cpp...@li... > https://lists.sourceforge.net/lists/listinfo/cppcms-users > > -- Respect, Shiv Shankar Dayal |
From: mawan s. <ma...@gm...> - 2017-04-29 08:49:06
|
Thankyou, i will try it. On Sat, Apr 29, 2017 at 3:05 PM, Shiv Shankar Dayal < shi...@gm...> wrote: > This is explained in configuration file reference. > http://cppcms.com/wikipp/en/page/cppcms_1x_config#daemon section has all > the information. > > On Sat, Apr 29, 2017 at 1:22 PM, mawan sugiyanto <ma...@gm...> > wrote: > >> Thankyou, can you explain how to create daemon cppcms or is there any >> tutorial for it? >> >> >> >> On Sat, Apr 29, 2017 at 2:45 PM, Shiv Shankar Dayal < >> shi...@gm...> wrote: >> >>> Yes, I daemonize CppCMS on port 8080. Log files are what I use for >>> debugging. >>> >>> On Sat, Apr 29, 2017 at 12:53 PM, mawan sugiyanto <ma...@gm...> >>> wrote: >>> >>>> Dear Shiv >>>> >>>> when using Nginx, Are you run cppcms as daemon service? >>>> How do you run it? >>>> >>>> Thankyou before. >>>> >>>> >>>> >>>> >>>> On Sat, Apr 29, 2017 at 1:22 PM, Shiv Shankar Dayal < >>>> shi...@gm...> wrote: >>>> >>>>> Yes, it is possible to run CppCMS web server on both the operating >>>>> systems. However, it is not optimal for production. I typically run as >>>>> FastCGI reverse proxy with Nginx or Http reverse proxy(poorer choice.). >>>>> >>>>> On Sat, Apr 29, 2017 at 11:03 AM, CN <cn...@fa...> wrote: >>>>> >>>>>> >>>>>> On Sat, Apr 29, 2017, at 10:14 AM, jupiter wrote: >>>>>> >>>>>> Hi, >>>>>> Sorry for asking an FAQ, I try to run CppCMS web server on Linux >>>>>> machine both in CentOS and Debian, I was told by freieds that I can run >>>>>> CppCMS server without Appach or FastCGI, but when I read the CppCMS >>>>>> document, it seems I cannot run CppCMS web server without running Appach or >>>>>> FastCGI. Could anyone clarify it? >>>>>> >>>>>> I have been running CppCMS with Lighttpd communicating with each >>>>>> other using FastCGI without issue for more than a year. In fact, I learned >>>>>> Lighttpd from CppCMS tutorials. >>>>>> >>>>>> Regards, >>>>>> CN >>>>>> >>>>>> -- http://www.fastmail.com - Access all of your messages and folders >>>>>> wherever you are >>>>>> >>>>>> >>>>>> ------------------------------------------------------------ >>>>>> ------------------ >>>>>> Check out the vibrant tech community on one of the world's most >>>>>> engaging tech sites, Slashdot.org! http://sdm.link/slashdot >>>>>> _______________________________________________ >>>>>> Cppcms-users mailing list >>>>>> Cpp...@li... >>>>>> https://lists.sourceforge.net/lists/listinfo/cppcms-users >>>>>> >>>>>> >>>>> >>>>> >>>>> -- >>>>> Respect, >>>>> Shiv Shankar Dayal >>>>> >>>>> ------------------------------------------------------------ >>>>> ------------------ >>>>> Check out the vibrant tech community on one of the world's most >>>>> engaging tech sites, Slashdot.org! http://sdm.link/slashdot >>>>> _______________________________________________ >>>>> Cppcms-users mailing list >>>>> Cpp...@li... >>>>> https://lists.sourceforge.net/lists/listinfo/cppcms-users >>>>> >>>>> >>>> >>>> ------------------------------------------------------------ >>>> ------------------ >>>> Check out the vibrant tech community on one of the world's most >>>> engaging tech sites, Slashdot.org! http://sdm.link/slashdot >>>> _______________________________________________ >>>> Cppcms-users mailing list >>>> Cpp...@li... >>>> https://lists.sourceforge.net/lists/listinfo/cppcms-users >>>> >>>> >>> >>> >>> -- >>> Respect, >>> Shiv Shankar Dayal >>> >>> ------------------------------------------------------------ >>> ------------------ >>> Check out the vibrant tech community on one of the world's most >>> engaging tech sites, Slashdot.org! http://sdm.link/slashdot >>> _______________________________________________ >>> Cppcms-users mailing list >>> Cpp...@li... >>> https://lists.sourceforge.net/lists/listinfo/cppcms-users >>> >>> >> >> ------------------------------------------------------------ >> ------------------ >> Check out the vibrant tech community on one of the world's most >> engaging tech sites, Slashdot.org! http://sdm.link/slashdot >> _______________________________________________ >> Cppcms-users mailing list >> Cpp...@li... >> https://lists.sourceforge.net/lists/listinfo/cppcms-users >> >> > > > -- > Respect, > Shiv Shankar Dayal > > ------------------------------------------------------------ > ------------------ > Check out the vibrant tech community on one of the world's most > engaging tech sites, Slashdot.org! http://sdm.link/slashdot > _______________________________________________ > Cppcms-users mailing list > Cpp...@li... > https://lists.sourceforge.net/lists/listinfo/cppcms-users > > |