Re: [Cppcms-users] [lighttpd] How execute many applications
Brought to you by:
artyom-beilis
From: Jesus R. <riv...@gm...> - 2010-05-10 16:22:54
|
Thanks for your help, I discovered the problem was the content in the config's files because had server.socket here and in the lighttpd.conf too. Greetings, -- Jesús 2010/5/10 Artyom <art...@ya...> > Hi, > > What are your's /var/www/hello-config.txt and /var/www/ok-config.txt? > Any messages from web server? > > Have you tested that your applications run with cppcms_run > > cppcms_run -s /hello hello.fcgi -c hello-config.txt > > And go to localhost:8080/hello > > Few notes: > > 1. Make sure that you do not specify server.socket in your configuration at > all so application would know that it should get connections from standard > input given > by server - when the server is responsible on starting application. > 2. Make sure your server.api = "fastcgi" > 3. Make sure that cppcms was compiled with fastcgi support. > 3. Read this: > http://cppcms.sourceforge.net/wikipp/en/page/ref_config#server-api > > Artyom > > > --- On *Mon, 5/10/10, Jesus Rivero <riv...@gm...>* wrote: > > > From: Jesus Rivero <riv...@gm...> > Subject: Re: [Cppcms-users] [lighttpd] How execute many applications > > To: cpp...@li... > Date: Monday, May 10, 2010, 4:53 PM > > > Yes, I need to start many applications (only cppcms in moment). > > My configuration is similar: > fastcgi.server = ( > "/hello" => > (( > "bin-path" => "/var/www/hello.fcgi -c > /var/www/hello-config.txt", > "socket" => "/tmp/hellofcgi.socket", > "max-procs" => 1, > "check-local" => "disable" > )), > "/ok" => > (( > "bin-path" => "/var/www/ok.fcgi -c /var/www/ok-config.txt", > "socket" => "/tmp/okfcgi.socket", > "max-procs" => 1, > "check-local" => "disable" > )) > ) > > I have > server.port = 81 > > So, I charge http://localhost:81/ok or http://localhost:81/hello and the > pages loading remains (much time) and don't show the message "Hello World" > or "Ok". > > PD: sorry for my english poor. > > Greetins, > -- > Jesús > > 2010/5/10 Artyom <art...@ya...<http://mc/compose?to=art...@ya...> > > > >> What do you mean? >> >> You need to start several not-related CppCMS applications? >> >> This is how I run wikipp and two blogs on my server: >> >> fastcgi.server = ( >> "/cppcms/blog" => >> (( >> "bin-path" => "/path/to/cppblog -c >> /path/to/cppblog-config.txt", >> "socket" => "/tmp/socket-a", >> "max-procs" => 1, >> "check-local" => "disable" >> )), >> "/newpress/blog" => >> (( >> "bin-path" => "/path/to/cppblog -c >> /path/to/newpress-config.txt", >> "socket" => "/tmp/socket-b", >> "max-procs" => 1, >> "check-local" => "disable" >> )), >> "/wikipp" => >> (( >> "bin-path" => "/path/to/wikipp -c >> /path/to/wikipp-config.txt", >> "socket" => "/tmp/socket-c", >> "max-procs" => 1, >> "check-local" => "disable" >> )) >> ) >> >> >> --- On *Mon, 5/10/10, Jesus Rivero <riv...@gm...<http://mc/compose?to=riv...@gm...> >> >* wrote: >> >> >> From: Jesus Rivero <riv...@gm...<http://mc/compose?to=riv...@gm...> >> > >> Subject: [Cppcms-users] [lighttpd] How execute many applications >> To: cpp...@li...<http://mc/compose?to=cpp...@li...> >> Date: Monday, May 10, 2010, 3:46 PM >> >> >> Greetings, >> >> I need execute many applications of ccpcms in a web server with lighttpd. >> How can execute many applications? >> >> Thanks, >> -- >> Jesús >> >> >> -----Inline Attachment Follows----- >> >> >> ------------------------------------------------------------------------------ >> >> >> -----Inline Attachment Follows----- >> >> _______________________________________________ >> Cppcms-users mailing list >> Cpp...@li...<http://mc/compose?to=Cpp...@li...> >> https://lists.sourceforge.net/lists/listinfo/cppcms-users >> >> >> >> >> ------------------------------------------------------------------------------ >> >> >> _______________________________________________ >> Cppcms-users mailing list >> Cpp...@li...<http://mc/compose?to=Cpp...@li...> >> https://lists.sourceforge.net/lists/listinfo/cppcms-users >> >> > > -----Inline Attachment Follows----- > > > ------------------------------------------------------------------------------ > > > -----Inline Attachment Follows----- > > _______________________________________________ > Cppcms-users mailing list > Cpp...@li...<http://mc/compose?to=Cpp...@li...> > https://lists.sourceforge.net/lists/listinfo/cppcms-users > > > |