cppcms-users Mailing List for CppCMS C++ Web Framework (Page 107)
Brought to you by:
artyom-beilis
You can subscribe to this list here.
2009 |
Jan
|
Feb
(22) |
Mar
|
Apr
(3) |
May
|
Jun
(4) |
Jul
|
Aug
|
Sep
|
Oct
(15) |
Nov
(16) |
Dec
(13) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2010 |
Jan
(4) |
Feb
|
Mar
(8) |
Apr
(8) |
May
(8) |
Jun
(36) |
Jul
(63) |
Aug
(126) |
Sep
(47) |
Oct
(66) |
Nov
(46) |
Dec
(42) |
2011 |
Jan
(87) |
Feb
(24) |
Mar
(54) |
Apr
(21) |
May
(22) |
Jun
(18) |
Jul
(22) |
Aug
(101) |
Sep
(57) |
Oct
(33) |
Nov
(34) |
Dec
(66) |
2012 |
Jan
(64) |
Feb
(76) |
Mar
(73) |
Apr
(105) |
May
(93) |
Jun
(83) |
Jul
(84) |
Aug
(88) |
Sep
(57) |
Oct
(59) |
Nov
(35) |
Dec
(49) |
2013 |
Jan
(67) |
Feb
(17) |
Mar
(49) |
Apr
(64) |
May
(87) |
Jun
(64) |
Jul
(93) |
Aug
(23) |
Sep
(15) |
Oct
(16) |
Nov
(62) |
Dec
(73) |
2014 |
Jan
(5) |
Feb
(23) |
Mar
(21) |
Apr
(11) |
May
(1) |
Jun
(19) |
Jul
(27) |
Aug
(16) |
Sep
(5) |
Oct
(37) |
Nov
(12) |
Dec
(9) |
2015 |
Jan
(7) |
Feb
(7) |
Mar
(44) |
Apr
(28) |
May
(5) |
Jun
(12) |
Jul
(8) |
Aug
|
Sep
(39) |
Oct
(34) |
Nov
(30) |
Dec
(34) |
2016 |
Jan
(66) |
Feb
(23) |
Mar
(33) |
Apr
(15) |
May
(11) |
Jun
(15) |
Jul
(26) |
Aug
(4) |
Sep
(1) |
Oct
(30) |
Nov
(10) |
Dec
|
2017 |
Jan
(52) |
Feb
(9) |
Mar
(24) |
Apr
(16) |
May
(9) |
Jun
(12) |
Jul
(33) |
Aug
(8) |
Sep
|
Oct
(1) |
Nov
(2) |
Dec
(6) |
2018 |
Jan
(5) |
Feb
|
Mar
|
Apr
|
May
(14) |
Jun
(1) |
Jul
(9) |
Aug
(1) |
Sep
(13) |
Oct
(8) |
Nov
(2) |
Dec
(2) |
2019 |
Jan
(1) |
Feb
(1) |
Mar
(3) |
Apr
(3) |
May
(1) |
Jun
|
Jul
|
Aug
|
Sep
|
Oct
(2) |
Nov
|
Dec
|
2020 |
Jan
|
Feb
(1) |
Mar
|
Apr
|
May
|
Jun
(9) |
Jul
(6) |
Aug
(25) |
Sep
(10) |
Oct
(10) |
Nov
(6) |
Dec
|
2021 |
Jan
|
Feb
|
Mar
(7) |
Apr
(1) |
May
|
Jun
(1) |
Jul
|
Aug
|
Sep
(9) |
Oct
(1) |
Nov
|
Dec
|
2022 |
Jan
|
Feb
|
Mar
|
Apr
(3) |
May
(1) |
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
From: augustin <aug...@ov...> - 2011-09-04 09:10:58
|
On Sunday, September 04, 2011 04:50:20 PM augustin wrote: > According to wikipedia, the linux kernel version 2.6.0 was released on 18 > December 2003: it means the 2.6.x branch is almost 8 years old, and the > only digit that matters is the 3rd one, i.e. supposedly the list > significant one! It makes no sense to me. I just noticed that we now have a linux kernel version 3.0! http://en.wikipedia.org/wiki/Linux_kernel#Timeline And as if to emphasise my point, after eight years spent in the 2.6.x branch, one might expect that the jump to 3.0.x means something momentous. But no: "Version 3.0 was released 22 Jul 2011. Torvalds announced that the big change was, "NOTHING. Absolutely nothing."" It is confusing the way the kernel version have jumped: Linux 0.1.x Linux 1.0.x Linux 1.1.x Linux 1.2.x Linux 1.3.x Linux 2.0.x Linux 2.2.x Linux 2.4.x Linux 2.6.x Linux 3.0.x With a Drupal-like two digit system, the versioning path is much more predictable, and more importantly, clearer to understand. Augustin. -- Friends: http://www.reuniting.info/ My projects: http://astralcity.org/ http://3enjeux.overshoot.tv/ http://linux.overshoot.tv/ http://overshoot.tv/ http://charityware.info/ http://masquilier.org/ http://openteacher.info/ http://minguo.info/ http://www.wechange.org/ http://searching911.info/ . |
From: augustin <aug...@ov...> - 2011-09-04 08:50:19
|
On Sunday, September 04, 2011 01:43:10 PM Artyom Beilis wrote: > I'm going to start features freeze for CppCMS 1.0.0, First of all, congratulations on the impending new stable release. Secondly, I would like to suggest the adoption of a much simpler numbering scheme. You clearly adopted the three digit number like the linux kernel (my kernel version: 2.6.38). I think a two digit version number would be much easier to understand in the long run. You speak of API and ABI compatibility. The first digit would simply refer to that. The second digit would simply represent the bug-fix releases. According to wikipedia, the linux kernel version 2.6.0 was released on 18 December 2003: it means the 2.6.x branch is almost 8 years old, and the only digit that matters is the 3rd one, i.e. supposedly the list significant one! It makes no sense to me. In the roadmap, you refer to 1.1.0 as the next stable release... but how do you decide when to pass to 2.0.0? When we have reached 1.9.0? The Drupal community has gone through this debate before, and in 2006, they decided to switch from a three-digit to a two-digit version number: major releases where number 4.0, 4.1, 4.2, 4.3, 4.4, 4.5, 4.6, 4.7, and then: 5, 6, 7, 8... They started having this debate because they were torn between calling the next version after 4.7: Drupal 4.8 or jump to Drupal 5.0. Finally, it was simply: Drupal 5. See: "What do version numbers mean?" http://drupal.org/node/467026 Most importantly, you can see the discussion that lead to this change. See the post: "New version number convention for core" http://drupal.org/node/85943 with a nice table with pros and cons regarding the two versioning models. This post is worth reading in its entirety. Since you are about to make your very first very stable release (at least the first one affecting a small but growing user base), now would be a good opportunity to decide on a simpler scheme: each new API/ABI-compatible version would be represented by the first digit: CPPCMS 1, CPPCMS 2, CPPCMS 3... and with the bug fix releases: CPPCMS 1.0, 1.1, 1.2, 1.3, etc. for the first branch of API compatible releases. I don't want to repeat all the argumentation that is clearly stated in the comments here: http://drupal.org/node/85943 You can see in the comments why everybody preferred the two-digit system. So, my only request would be to make the minor code changes (e.g. constants like CPPCMS_PACKAGE_VERSION, etc) and documentation change to fit this new policy. I think you have much to gain (in clarity for the users) over the long run with the simpler scheme. What do you think? Augustin. -- Friends: http://www.reuniting.info/ My projects: http://astralcity.org/ http://3enjeux.overshoot.tv/ http://linux.overshoot.tv/ http://overshoot.tv/ http://charityware.info/ http://masquilier.org/ http://openteacher.info/ http://minguo.info/ http://www.wechange.org/ http://searching911.info/ . |
From: augustin <aug...@ov...> - 2011-09-04 08:12:16
|
On Sunday, September 04, 2011 05:21:29 AM David Elrom wrote: > No, I never even got a chance to look at Artyom's response for lighttpd, > let alone configure / test it. I'm sorry, David. Please accept my apologies if I misrepresented your intentions. My perspective is somewhat similar to what Paradigm Shift proposed on the IRC thread: " Perhaps we could have a loose convention that the person who asked the question should take ownership of posting it back on the main wiki?" Anyway, the lighttpd section in the new page is a bit loose: http://art-blog.no-ip.info/wikipp/en/page/run_application_web_server_root so you still have the opportunity to make it a bit better after you've had time to conduct your tests. Blessings, Augustin. -- Friends: http://www.reuniting.info/ My projects: http://astralcity.org/ http://3enjeux.overshoot.tv/ http://linux.overshoot.tv/ http://overshoot.tv/ http://charityware.info/ http://masquilier.org/ http://openteacher.info/ http://minguo.info/ http://www.wechange.org/ http://searching911.info/ . |
From: Artyom B. <art...@ya...> - 2011-09-04 05:43:18
|
Hello, I'm going to start features freeze for CppCMS 1.0.0, that means I'm not going to add any new features to the code besides ones listed there: http://art-blog.no-ip.info/wikipp/en/page/cppcms_1x_tasks#CppCMS.0.999.1.-.rc1 So the remaining tasks for CppCMS 1.0.0 release are: * Review shared objects loading and views_pool class * Provide CakePHP style helpers to template system * Improve Unit Tests for Templates System * Booster.System - provide error_condition in addition to error code * Do changes required in the code review of the event loop * Implement Pre-Upload file validation * Reintegrate distributed session backend * Booster reference documentation So if anybody wants to have some more features prior to 1.0.0 that may effect API in backward incompatible way please rise it now and provide explicit description of what you want and how the API should look like ASAP. Because after that there will be no backward incompatible API and ABI changes in CppCMS 1.x.x branch. It is the time to get ready to release the stable version of CppCMS 1.x.x. Best, Artyom Beilis -------------- CppCMS - C++ Web Framework: http://cppcms.sf.net/ CppDB - C++ SQL Connectivity: http://cppcms.sf.net/sql/cppdb/ |
From: David E. <dav...@gm...> - 2011-09-03 21:22:17
|
On Sat, Sep 3, 2011 at 7:40 AM, Artyom Beilis <art...@ya...> wrote: > > > > So, I went ahead and did a quick copy/paste of the > > information contributed so > > far into a new wiki page: > > > http://art-blog.no-ip.info/wikipp/en/page/run_application_web_server_root > > The page can be improved as required over time... > > > > linked from: http://art-blog.no-ip.info/wikipp/en/page/cppcms_1x > > > > I rearranged the TOC in the 1.x.x menu page, so that there > > is some logical > > order: > > 1) install cppcms. > > 2) configure the web server. > > 3) tutorials with more advanced topics. > > 4) references... > > > > > > The page can be improved as required over time... > > > > > > Augustin. > > > > > > > > Thanks, > > Artyom > > > > ------------------------------------------------------------------------------ > Special Offer -- Download ArcSight Logger for FREE! > Finally, a world-class log management solution at an even better > price-free! And you'll get a free "Love Thy Logs" t-shirt when you > download Logger. Secure your free ArcSight Logger TODAY! > http://p.sf.net/sfu/arcsisghtdev2dev > _______________________________________________ > Cppcms-users mailing list > Cpp...@li... > https://lists.sourceforge.net/lists/listinfo/cppcms-users > Ouch augustin. No, I never even got a chance to look at Artyom's response for lighttpd, let alone configure / test it. -elrom |
From: Artyom B. <art...@ya...> - 2011-09-03 11:40:28
|
> > So, I went ahead and did a quick copy/paste of the > information contributed so > far into a new wiki page: > http://art-blog.no-ip.info/wikipp/en/page/run_application_web_server_root > The page can be improved as required over time... > > linked from: http://art-blog.no-ip.info/wikipp/en/page/cppcms_1x > > I rearranged the TOC in the 1.x.x menu page, so that there > is some logical > order: > 1) install cppcms. > 2) configure the web server. > 3) tutorials with more advanced topics. > 4) references... > > > The page can be improved as required over time... > > > Augustin. > > > Thanks, Artyom |
From: augustin <aug...@ov...> - 2011-09-03 10:48:51
|
On Thursday, September 01, 2011 05:06:36 PM Artyom Beilis wrote: > Who is going to add this to the Wiki? :-) on serving > CppCMS in the "web-root" My understanding of David's short reply is that he declined to contribute the answers he got back to the wiki. So, I went ahead and did a quick copy/paste of the information contributed so far into a new wiki page: http://art-blog.no-ip.info/wikipp/en/page/run_application_web_server_root The page can be improved as required over time... linked from: http://art-blog.no-ip.info/wikipp/en/page/cppcms_1x I rearranged the TOC in the 1.x.x menu page, so that there is some logical order: 1) install cppcms. 2) configure the web server. 3) tutorials with more advanced topics. 4) references... The page can be improved as required over time... Augustin. -- Friends: http://www.reuniting.info/ My projects: http://astralcity.org/ http://3enjeux.overshoot.tv/ http://linux.overshoot.tv/ http://overshoot.tv/ http://charityware.info/ http://masquilier.org/ http://openteacher.info/ http://minguo.info/ http://www.wechange.org/ http://searching911.info/ . |
From: Allan S. <all...@su...> - 2011-09-02 15:50:57
|
On 09/02/2011 05:47 PM, Artyom Beilis wrote: >> From: Allan SIMON<all...@su...> >> Subject: [Cppcms-users] Session and domain name scope >> To: cpp...@li... >> Date: Friday, September 2, 2011, 6:29 PM >> Hello >> >> My problem is quite simple, >> >> the website I've build, can respond on several >> >> X.domain.ltd servername (in apache it's only a alias inside >> the virtual >> host), where X permit to know in which language >> the interface will be (for SEO) >> But after doing some test, I've discovered that session are >> not kept >> when I go from one subdomain to another, is this because >> of the scope of the cookie used ? If it's intented, is >> there a way to >> change this? >> >> Thanks >> >> Regards, >> >> Allan >> > You should provide explicit cookies domain. > > See: http://art-blog.no-ip.info/wikipp/en/page/cppcms_1x_config#session.cookies.domain > > So cookies would be valid on sub-domains as well. > > Artyom Beilis > -------------- > CppCMS - C++ Web Framework: http://cppcms.sf.net/ > CppDB - C++ SQL Connectivity: http://cppcms.sf.net/sql/cppdb/ > > >> ------------------------------------------------------------------------------ >> Special Offer -- Download ArcSight Logger for FREE! >> Finally, a world-class log management solution at an even >> better >> price-free! And you'll get a free "Love Thy Logs" t-shirt >> when you >> download Logger. Secure your free ArcSight Logger TODAY! >> http://p.sf.net/sfu/arcsisghtdev2dev >> _______________________________________________ >> Cppcms-users mailing list >> Cpp...@li... >> https://lists.sourceforge.net/lists/listinfo/cppcms-users >> > ------------------------------------------------------------------------------ > Special Offer -- Download ArcSight Logger for FREE! > Finally, a world-class log management solution at an even better > price-free! And you'll get a free "Love Thy Logs" t-shirt when you > download Logger. Secure your free ArcSight Logger TODAY! > http://p.sf.net/sfu/arcsisghtdev2dev > _______________________________________________ > Cppcms-users mailing list > Cpp...@li... > https://lists.sourceforge.net/lists/listinfo/cppcms-users Great thanks, seems I've missed this line :s Allan |
From: Artyom B. <art...@ya...> - 2011-09-02 15:47:14
|
> From: Allan SIMON <all...@su...> > Subject: [Cppcms-users] Session and domain name scope > To: cpp...@li... > Date: Friday, September 2, 2011, 6:29 PM > Hello > > My problem is quite simple, > > the website I've build, can respond on several > > X.domain.ltd servername (in apache it's only a alias inside > the virtual > host), where X permit to know in which language > the interface will be (for SEO) > But after doing some test, I've discovered that session are > not kept > when I go from one subdomain to another, is this because > of the scope of the cookie used ? If it's intented, is > there a way to > change this? > > Thanks > > Regards, > > Allan > You should provide explicit cookies domain. See: http://art-blog.no-ip.info/wikipp/en/page/cppcms_1x_config#session.cookies.domain So cookies would be valid on sub-domains as well. Artyom Beilis -------------- CppCMS - C++ Web Framework: http://cppcms.sf.net/ CppDB - C++ SQL Connectivity: http://cppcms.sf.net/sql/cppdb/ > ------------------------------------------------------------------------------ > Special Offer -- Download ArcSight Logger for FREE! > Finally, a world-class log management solution at an even > better > price-free! And you'll get a free "Love Thy Logs" t-shirt > when you > download Logger. Secure your free ArcSight Logger TODAY! > http://p.sf.net/sfu/arcsisghtdev2dev > _______________________________________________ > Cppcms-users mailing list > Cpp...@li... > https://lists.sourceforge.net/lists/listinfo/cppcms-users > |
From: Allan S. <all...@su...> - 2011-09-02 15:30:22
|
Hello My problem is quite simple, the website I've build, can respond on several X.domain.ltd servername (in apache it's only a alias inside the virtual host), where X permit to know in which language the interface will be (for SEO) But after doing some test, I've discovered that session are not kept when I go from one subdomain to another, is this because of the scope of the cookie used ? If it's intented, is there a way to change this? Thanks Regards, Allan |
From: Allan S. <all...@su...> - 2011-09-01 22:38:58
|
Sorry for the late answer, actually I was not registered on the user list (you know "I will do that tomorrow") I'm not an apache wizard, far from that, but here is what I've written to make it run there http://tato.sysko.fr (It's my alpha version of the website, directly plug on the master branch, so if it's broken when you read this message, just try a little later:-P) cat /etc/apache2/sites-enabled/tatoebacpp FastCGIConfig -maxProcesses 1 -processSlack 1 <VirtualHost *:80> ServerName tato.sysko.fr ServerAlias *.tato.sysko.fr # Usually it is given in fastcgi.conf by default FastCgiServer /blablabla/tatoebacpp_git/build/tatoeba -initial-env CPPCMS_CONFIG=/blablabla/tatoebacpp_git/config.js -socket /tmp/hello-fcgi-socket ScriptAliasMatch ^(.*)$ /blablabla/tatoebacpp_git/build/tatoeba$1 AddHandler fastcgi-script /blablabla/tatoebacpp_git/build/tatoeba </VirtualHost> nothing else, no url rewriting inside apache, and on the same apache I've also my blog running with an instance of cppcms blog with the same configuration as below, except of course the server name (here if you ask why I have a ServerAlias directive, it's because I use the subdomain to choose the interface language en.website.ltd fr.website.ltd etc.) After I don't know if this configuration file is made in the rules of the art, but well it works, so I haven't touched it since. hope it helps. Regards, Allan |
From: Artyom B. <art...@ya...> - 2011-09-01 17:36:29
|
> In recent revisions, when compiling examples, you can see > this warnings: > < > > To clarify the details for me and others (because old > syntax deprecated and replaced by add(widgets::base_widget > &), add(form &f)), > do i rightly understand, that the two lines below - > equivalent? > > 1: *this + username + password + login; > 2: add(username); add(password); add(login); > Yes, exactly: See: http://art-blog.no-ip.info/cppcms_ref_v0_99/classcppcms_1_1form.html#ad7b901df499bc6d50eb8b156c6499a9 Artyom |
From: kpeo <sla...@ya...> - 2011-09-01 14:39:40
|
Hello, In recent revisions, when compiling examples, you can see this warnings: $ make Scanning dependencies of target create-mo [ 0%] Generating locale/he/LC_MESSAGES/mb.mo [ 11%] Built target create-mo Scanning dependencies of target mb [ 22%] Building CXX object CMakeFiles/mb.dir/apps/master.cpp.o [ 33%] Building CXX object CMakeFiles/mb.dir/apps/thread.cpp.o /media/opnp/.soft/cppcms/examples/message_board/apps/thread.cpp: In constructor ‘data::reply_form::reply_form()’: /media/opnp/.soft/cppcms/examples/message_board/apps/thread.cpp:18:10: warning: ‘cppcms::form& cppcms::form::operator+(cppcms::widgets::base_widget&)’ is deprecated (declared at /usr/local/include/cppcms/form.h:297) [-Wdeprecated-declarations] /media/opnp/.soft/cppcms/examples/message_board/apps/thread.cpp:18:19: warning: ‘cppcms::form& cppcms::form::operator+(cppcms::widgets::base_widget&)’ is deprecated (declared at /usr/local/include/cppcms/form.h:297) [-Wdeprecated-declarations] /media/opnp/.soft/cppcms/examples/message_board/apps/thread.cpp:18:29: warning: ‘cppcms::form& cppcms::form::operator+(cppcms::widgets::base_widget&)’ is deprecated (declared at /usr/local/include/cppcms/form.h:297) [-Wdeprecated-declarations] [ 44%] Building CXX object CMakeFiles/mb.dir/apps/forums.cpp.o /media/opnp/.soft/cppcms/examples/message_board/apps/forums.cpp: In constructor ‘data::new_topic_form::new_topic_form()’: /media/opnp/.soft/cppcms/examples/message_board/apps/forums.cpp:17:10: warning: ‘cppcms::form& cppcms::form::operator+(cppcms::widgets::base_widget&)’ is deprecated (declared at /usr/local/include/cppcms/form.h:297) [-Wdeprecated-declarations] /media/opnp/.soft/cppcms/examples/message_board/apps/forums.cpp:17:18: warning: ‘cppcms::form& cppcms::form::operator+(cppcms::widgets::base_widget&)’ is deprecated (declared at /usr/local/include/cppcms/form.h:297) [-Wdeprecated-declarations] /media/opnp/.soft/cppcms/examples/message_board/apps/forums.cpp:17:27: warning: ‘cppcms::form& cppcms::form::operator+(cppcms::widgets::base_widget&)’ is deprecated (declared at /usr/local/include/cppcms/form.h:297) [-Wdeprecated-declarations] /media/opnp/.soft/cppcms/examples/message_board/apps/forums.cpp:17:37: warning: ‘cppcms::form& cppcms::form::operator+(cppcms::widgets::base_widget&)’ is deprecated (declared at /usr/local/include/cppcms/form.h:297) [-Wdeprecated-declarations] [ 55%] Building CXX object CMakeFiles/mb.dir/apps/mb.cpp.o [ 66%] Building CXX object CMakeFiles/mb.dir/apps/main.cpp.o Linking CXX executable mb [ 66%] Built target mb [ 77%] Generating simple.cpp Scanning dependencies of target simple [ 88%] Building CXX object CMakeFiles/simple.dir/simple.cpp.o Linking CXX shared library libsimple.so [ 88%] Built target simple Scanning dependencies of target sqlitedb [ 88%] Generating mb.db [100%] Built target sqlitedb To clarify the details for me and others (because old syntax deprecated and replaced by add(widgets::base_widget &), add(form &f)), do i rightly understand, that the two lines below - equivalent? 1: *this + username + password + login; 2: add(username); add(password); add(login); |
From: Artyom B. <art...@ya...> - 2011-09-01 09:06:46
|
> From: Artyom Beilis <art...@ya...> > Subject: Re: [Cppcms-users] Attempting to run cppcms at webroot > To: cpp...@li... > Date: Thursday, September 1, 2011, 10:06 AM > Then your probably need this: > > The option url.rewrite-[repeat-]if-not-file or > > Or probably use rules like > > url.rewrite-once = ( > "^/media/" => "$0", > "^/(.*)" => "/my.fcgi/$1" > ) > > See: http://redmine.lighttpd.net/wiki/1/Docs:ModRewrite > > Artyom Beilis > Actually this is the soulution See: http://www.djangobook.com/en/beta/chapter21/#cn124 All rules there apply to CppCMS. Who is going to add this to the Wiki? :-) on serving CppCMS in the "web-root" Artyom > -------------- > > CppCMS - C++ Web Framework: http://cppcms.sf.net/ > > CppDB - C++ SQL Connectivity: http://cppcms.sf.net/sql/cppdb/ > > --- On Thu, 9/1/11, David Elrom <dav...@gm...> > wrote: > > From: David Elrom <dav...@gm...> > Subject: Re: [Cppcms-users] Attempting to run cppcms at > webroot > To: cpp...@li... > Date: Thursday, September 1, 2011, 4:18 AM > > i was going to use lighttpd. > > On Wed, Aug 31, 2011 at 3:40 AM, augustin <aug...@ov...> > wrote: > > > On Wednesday, August 31, 2011 01:28:12 PM Artyom Beilis > wrote: > > > So you need to do apply some URL rewriting rules such > that path > > > "/something" would map to lets say > "/blog.cgi/something" where "/blog.cgi" > > > is the FastCGI script name. > > > > I am not Allan, but that's what I did, too. > > > > David doesn't say which web server he uses. > > mod_rewrite with apache2 works like a charm. > > > > .htaccess: > > > > <IfModule mod_rewrite.c> > > RewriteEngine on > > > > RewriteCond %{REQUEST_FILENAME} !-f > > RewriteCond %{REQUEST_FILENAME} !-d > > RewriteRule ^(.*)$ my_app.cgi/$1 [L,QSA] > > </IfModule> > > > > > > Of course, Apache2 must be properly configured to allow > .htaccess override of > > mod_rewrite. > > > > David: this is likely to become a FAQ (literally): can you > add a new page > > about this somewhere in the wiki? > > > > Blessings, > > > > Augustin. > > > > > > > > -- > > Friends: http://www.reuniting.info/ > > My projects: > > http://astralcity.org/ http://3enjeux.overshoot.tv/ http://linux.overshoot.tv/ > > > > http://overshoot.tv/ http://charityware.info/ http://masquilier.org/ > > > > http://openteacher.info/ http://minguo.info/ > > http://www.wechange.org/ http://searching911.info/ > > > > > > > > > > > > > > > > > > > > > > > > > > . > > > > ------------------------------------------------------------------------------ > > Special Offer -- Download ArcSight Logger for FREE! > > Finally, a world-class log management solution at an even > better > > price-free! And you'll get a free "Love Thy Logs" t-shirt > when you > > download Logger. Secure your free ArcSight Logger TODAY! > > http://p.sf.net/sfu/arcsisghtdev2dev > > _______________________________________________ > > Cppcms-users mailing list > > Cpp...@li... > > https://lists.sourceforge.net/lists/listinfo/cppcms-users > > > > > -----Inline Attachment Follows----- > > ------------------------------------------------------------------------------ > Special Offer -- Download ArcSight Logger for FREE! > Finally, a world-class log management solution at an even > better > price-free! And you'll get a free "Love Thy Logs" t-shirt > when you > download Logger. Secure your free ArcSight Logger TODAY! > http://p.sf.net/sfu/arcsisghtdev2dev > -----Inline Attachment Follows----- > > _______________________________________________ > Cppcms-users mailing list > Cpp...@li... > https://lists.sourceforge.net/lists/listinfo/cppcms-users > > > ------------------------------------------------------------------------------ > Special Offer -- Download ArcSight Logger for FREE! > Finally, a world-class log management solution at an even > better > price-free! And you'll get a free "Love Thy Logs" t-shirt > when you > download Logger. Secure your free ArcSight Logger TODAY! > http://p.sf.net/sfu/arcsisghtdev2dev > _______________________________________________ > Cppcms-users mailing list > Cpp...@li... > https://lists.sourceforge.net/lists/listinfo/cppcms-users > |
From: Artyom B. <art...@ya...> - 2011-09-01 07:49:52
|
Hello, I have two important announcements: 1. New version was released CppCMS 0.99.10 See: http://art-blog.no-ip.info/wikipp/en/page/releases_1x http://art-blog.no-ip.info/cppcms/blog/post/87 2. New guide about secure programming with CppCMS was added to wiki. It is not complete yet but it includes important sections like working with session, XSS and CSRF prevention tools. Some tools like CSRF prevention and easy XSS filters configuration are new in CppCMS 0.99.10. http://art-blog.no-ip.info/wikipp/en/page/secure_programming Best regards. Artyom Beilis |
From: Artyom B. <art...@ya...> - 2011-09-01 07:06:28
|
Then your probably need this: The option url.rewrite-[repeat-]if-not-file or Or probably use rules like url.rewrite-once = ( "^/media/" => "$0", "^/(.*)" => "/my.fcgi/$1" ) See: http://redmine.lighttpd.net/wiki/1/Docs:ModRewrite Artyom Beilis -------------- CppCMS - C++ Web Framework: http://cppcms.sf.net/ CppDB - C++ SQL Connectivity: http://cppcms.sf.net/sql/cppdb/ --- On Thu, 9/1/11, David Elrom <dav...@gm...> wrote: From: David Elrom <dav...@gm...> Subject: Re: [Cppcms-users] Attempting to run cppcms at webroot To: cpp...@li... Date: Thursday, September 1, 2011, 4:18 AM i was going to use lighttpd. On Wed, Aug 31, 2011 at 3:40 AM, augustin <aug...@ov...> wrote: On Wednesday, August 31, 2011 01:28:12 PM Artyom Beilis wrote: > So you need to do apply some URL rewriting rules such that path > "/something" would map to lets say "/blog.cgi/something" where "/blog.cgi" > is the FastCGI script name. I am not Allan, but that's what I did, too. David doesn't say which web server he uses. mod_rewrite with apache2 works like a charm. .htaccess: <IfModule mod_rewrite.c> RewriteEngine on RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^(.*)$ my_app.cgi/$1 [L,QSA] </IfModule> Of course, Apache2 must be properly configured to allow .htaccess override of mod_rewrite. David: this is likely to become a FAQ (literally): can you add a new page about this somewhere in the wiki? Blessings, Augustin. -- Friends: http://www.reuniting.info/ My projects: http://astralcity.org/ http://3enjeux.overshoot.tv/ http://linux.overshoot.tv/ http://overshoot.tv/ http://charityware.info/ http://masquilier.org/ http://openteacher.info/ http://minguo.info/ http://www.wechange.org/ http://searching911.info/ . ------------------------------------------------------------------------------ Special Offer -- Download ArcSight Logger for FREE! Finally, a world-class log management solution at an even better price-free! And you'll get a free "Love Thy Logs" t-shirt when you download Logger. Secure your free ArcSight Logger TODAY! http://p.sf.net/sfu/arcsisghtdev2dev _______________________________________________ Cppcms-users mailing list Cpp...@li... https://lists.sourceforge.net/lists/listinfo/cppcms-users -----Inline Attachment Follows----- ------------------------------------------------------------------------------ Special Offer -- Download ArcSight Logger for FREE! Finally, a world-class log management solution at an even better price-free! And you'll get a free "Love Thy Logs" t-shirt when you download Logger. Secure your free ArcSight Logger TODAY! http://p.sf.net/sfu/arcsisghtdev2dev -----Inline Attachment Follows----- _______________________________________________ Cppcms-users mailing list Cpp...@li... https://lists.sourceforge.net/lists/listinfo/cppcms-users |
From: David E. <dav...@gm...> - 2011-09-01 01:19:29
|
i was going to use lighttpd. On Wed, Aug 31, 2011 at 3:40 AM, augustin <aug...@ov...>wrote: > On Wednesday, August 31, 2011 01:28:12 PM Artyom Beilis wrote: > > So you need to do apply some URL rewriting rules such that path > > "/something" would map to lets say "/blog.cgi/something" where > "/blog.cgi" > > is the FastCGI script name. > > I am not Allan, but that's what I did, too. > > David doesn't say which web server he uses. > mod_rewrite with apache2 works like a charm. > > .htaccess: > > <IfModule mod_rewrite.c> > RewriteEngine on > > RewriteCond %{REQUEST_FILENAME} !-f > RewriteCond %{REQUEST_FILENAME} !-d > RewriteRule ^(.*)$ my_app.cgi/$1 [L,QSA] > </IfModule> > > > Of course, Apache2 must be properly configured to allow .htaccess override > of > mod_rewrite. > > David: this is likely to become a FAQ (literally): can you add a new page > about this somewhere in the wiki? > > Blessings, > > Augustin. > > > > -- > Friends: http://www.reuniting.info/ > My projects: > http://astralcity.org/ http://3enjeux.overshoot.tv/ > http://linux.overshoot.tv/ > http://overshoot.tv/ http://charityware.info/ http://masquilier.org/ > http://openteacher.info/ http://minguo.info/ > http://www.wechange.org/ http://searching911.info/ > > > > > > > > > > > > > . > > > ------------------------------------------------------------------------------ > Special Offer -- Download ArcSight Logger for FREE! > Finally, a world-class log management solution at an even better > price-free! And you'll get a free "Love Thy Logs" t-shirt when you > download Logger. Secure your free ArcSight Logger TODAY! > http://p.sf.net/sfu/arcsisghtdev2dev > _______________________________________________ > Cppcms-users mailing list > Cpp...@li... > https://lists.sourceforge.net/lists/listinfo/cppcms-users > |
From: augustin <aug...@ov...> - 2011-08-31 07:57:38
|
On Wednesday, August 31, 2011 01:28:12 PM Artyom Beilis wrote: > So you need to do apply some URL rewriting rules such that path > "/something" would map to lets say "/blog.cgi/something" where "/blog.cgi" > is the FastCGI script name. I am not Allan, but that's what I did, too. David doesn't say which web server he uses. mod_rewrite with apache2 works like a charm. .htaccess: <IfModule mod_rewrite.c> RewriteEngine on RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^(.*)$ my_app.cgi/$1 [L,QSA] </IfModule> Of course, Apache2 must be properly configured to allow .htaccess override of mod_rewrite. David: this is likely to become a FAQ (literally): can you add a new page about this somewhere in the wiki? Blessings, Augustin. -- Friends: http://www.reuniting.info/ My projects: http://astralcity.org/ http://3enjeux.overshoot.tv/ http://linux.overshoot.tv/ http://overshoot.tv/ http://charityware.info/ http://masquilier.org/ http://openteacher.info/ http://minguo.info/ http://www.wechange.org/ http://searching911.info/ . |
From: Artyom B. <art...@ya...> - 2011-08-31 05:28:19
|
You need to use some URL rewriting. The point is that there are files that should be served by the web server like "/media/*.css" "/media/*.png" and more. So you need to do apply some URL rewriting rules such that path "/something" would map to lets say "/blog.cgi/something" where "/blog.cgi" is the FastCGI script name. I think Allan Simon that is on this mailing list did that... Allan? Artyom Beilis >________________________________ >From: David Elrom <dav...@gm...> >To: cpp...@li... >Sent: Wednesday, August 31, 2011 8:07 AM >Subject: [Cppcms-users] Attempting to run cppcms at webroot > > >Artyom, > > > >As cppcms is the only application im going to be running, i want to run it at web root. I modified the "root" property of blog in config.js to "/" but that did not work, I eventually modified it to just "" and that seemed to work. I also set the http.script param "/". However, something with the regex seems to be weird because the home page works fine, but any other page requires two "/" to work, i.e. 127.0.0.1//admin. > > >If I set the http.script to "" nothing works. > > >Any ideas? > > >Would these problems go away if I were using lighttd or some other "real" webserver? > > >Thanks, >-dave >------------------------------------------------------------------------------ >Special Offer -- Download ArcSight Logger for FREE! >Finally, a world-class log management solution at an even better >price-free! And you'll get a free "Love Thy Logs" t-shirt when you >download Logger. Secure your free ArcSight Logger TODAY! >http://p.sf.net/sfu/arcsisghtdev2dev >_______________________________________________ >Cppcms-users mailing list >Cpp...@li... >https://lists.sourceforge.net/lists/listinfo/cppcms-users > > > |
From: David E. <dav...@gm...> - 2011-08-31 05:08:12
|
Artyom, As cppcms is the only application im going to be running, i want to run it at web root. I modified the "root" property of blog in config.js to "/" but that did not work, I eventually modified it to just "" and that seemed to work. I also set the http.script param "/". However, something with the regex seems to be weird because the home page works fine, but any other page requires two "/" to work, i.e. 127.0.0.1//admin. If I set the http.script to "" nothing works. Any ideas? Would these problems go away if I were using lighttd or some other "real" webserver? Thanks, -dave |
From: Artyom B. <art...@ya...> - 2011-08-29 19:15:31
|
Done in trunk, together with closing: https://sourceforge.net/tracker/index.php?func=detail&aid=3111909&group_id=209965&atid=1011837 See: http://art-blog.no-ip.info/wikipp/en/page/cppcms_1x_templates_flow#Foreach.block Reverse iteration: <% foreach foo reverse in bar %> Row id support: <% foreach foo rowid id from 1 in bar %> So id would be a number of the item starting from 1. Artyom Beilis ----- Original Message ----- > From: Allan SIMON <all...@su...> > To: cpp...@li... > Cc: > Sent: Friday, August 26, 2011 4:13 PM > Subject: [Cppcms-users] [template request] foreach reverse > > Hi, > > A "simple" request, I would like to have the possibility to use > reverse > iterator inside template. > As for example on tatoeba I have a map of > <number_of_sentences,language>, and I want > to display the languages which the language with most sentences first. > > thanks, > > Allan > > > ------------------------------------------------------------------------------ > EMC VNX: the world's simplest storage, starting under $10K > The only unified storage solution that offers unified management > Up to 160% more powerful than alternatives and 25% more efficient. > Guaranteed. http://p.sf.net/sfu/emc-vnx-dev2dev > _______________________________________________ > Cppcms-users mailing list > Cpp...@li... > https://lists.sourceforge.net/lists/listinfo/cppcms-users > |
From: Alec T. <ale...@gm...> - 2011-08-29 16:54:34
|
Thanks, but why not just a simple web-frontend, just embed it in some HTML. Working examples: webhcat.freenode.net mibbit.com/chat On 8/24/11, Klaim - Joël Lamotte <mj...@gm...> wrote: > Hi, > > For a web server implementation community, I think a useful demonstration > would have been far more efficient than an irc channel or a mailing list > system. > > Why not build a simple community tool over CPPCMS? > Two possibilities that are NOT mutually explusive : > > 1. a chat system as dynamic web page : see http://chat.stackoverflow.com/ as > very good and advanced example. > > Advantage of all those of a chat, including quick chit-chat, fast replies, > etc., PLUS persistence of the discussion. > > I think a very simple and already useful implementation can be done quickly. > However, I'm too busy with other projects to work on it. > > 2. a forum engine. Every language used in web dev. have it's set of forum > engines, but c++. Forums have some advantages over mailing list, the first > one being ease of reading, no storing in your personal accoun etc. > > It would be very demonstrative if the CPPCMS community followed the "eat > your own dog food" mentality started with the wiki and blog engines > implementations. > > My 2 cents > > Joël Lamotte > |
From: Artyom B. <art...@ya...> - 2011-08-28 05:07:40
|
Thanks, I see, so it seems to be the problem with either my Solaris configuration or with kernel/libc version I'm using. If so I'll keep the faulty unit test and just disable it in my nightly builds. Artyom Beilis ----- Original Message ----- > From: kpeo <sla...@ya...> > To: Artyom Beilis <art...@ya...>; cpp...@li... > Cc: > Sent: Saturday, August 27, 2011 9:41 PM > Subject: Re: [Cppcms-users] Anybody with access to Solaris machines? > > Hello, Artyom! > > I have an access to Sun-Fire-V210 with SunOS 5.10 > > After compiling example from link: > bash$ g++ -lsocket -lnsl test.cpp && ./a.out > 1000 > 2000 > 3000 > --skipped-- > 49000 > 50000 > 51000 > write Broken pipe > bash$ > > 27.08.2011, 19:40, "Artyom Beilis" <art...@ya...>: >> Hello, >> >> Does anybody have an access to Solaris machines >> so he can run some simple tests? >> >> I'm getting this problem: >> >> > http://stackoverflow.com/questions/7213033/socket-is-not-blocking-on-write-operation-opensolaris >> >> On my OpenSolaris Virtual Machine. >> >> Is this something that is mis-configured in my installation or >> there is problem on other "Sun Solaris" installations >> as well. >> >> All is needed is to run the code at the link and see give me the >> last few lines... >> >> Thanks >> >> Artyom Beilis >> >> > ------------------------------------------------------------------------------ >> EMC VNX: the world's simplest storage, starting under $10K >> The only unified storage solution that offers unified management >> Up to 160% more powerful than alternatives and 25% more efficient. >> Guaranteed. http://p.sf.net/sfu/emc-vnx-dev2dev >> _______________________________________________ >> Cppcms-users mailing list >> Cpp...@li... >> https://lists.sourceforge.net/lists/listinfo/cppcms-users > > ------------------------------------------------------------------------------ > EMC VNX: the world's simplest storage, starting under $10K > The only unified storage solution that offers unified management > Up to 160% more powerful than alternatives and 25% more efficient. > Guaranteed. http://p.sf.net/sfu/emc-vnx-dev2dev > _______________________________________________ > Cppcms-users mailing list > Cpp...@li... > https://lists.sourceforge.net/lists/listinfo/cppcms-users > |
From: kpeo <sla...@ya...> - 2011-08-27 18:42:03
|
Hello, Artyom! I have an access to Sun-Fire-V210 with SunOS 5.10 After compiling example from link: bash$ g++ -lsocket -lnsl test.cpp && ./a.out 1000 2000 3000 --skipped-- 49000 50000 51000 write Broken pipe bash$ 27.08.2011, 19:40, "Artyom Beilis" <art...@ya...>: > Hello, > > Does anybody have an access to Solaris machines > so he can run some simple tests? > > I'm getting this problem: > > http://stackoverflow.com/questions/7213033/socket-is-not-blocking-on-write-operation-opensolaris > > On my OpenSolaris Virtual Machine. > > Is this something that is mis-configured in my installation or > there is problem on other "Sun Solaris" installations > as well. > > All is needed is to run the code at the link and see give me the > last few lines... > > Thanks > > Artyom Beilis > > ------------------------------------------------------------------------------ > EMC VNX: the world's simplest storage, starting under $10K > The only unified storage solution that offers unified management > Up to 160% more powerful than alternatives and 25% more efficient. > Guaranteed. http://p.sf.net/sfu/emc-vnx-dev2dev > _______________________________________________ > Cppcms-users mailing list > Cpp...@li... > https://lists.sourceforge.net/lists/listinfo/cppcms-users |
From: Artyom B. <art...@ya...> - 2011-08-27 15:40:21
|
Hello, Does anybody have an access to Solaris machines so he can run some simple tests? I'm getting this problem: http://stackoverflow.com/questions/7213033/socket-is-not-blocking-on-write-operation-opensolaris On my OpenSolaris Virtual Machine. Is this something that is mis-configured in my installation or there is problem on other "Sun Solaris" installations as well. All is needed is to run the code at the link and see give me the last few lines... Thanks Artyom Beilis |