From: K. G. <kim...@gm...> - 2008-10-14 10:39:15
|
Hi all, Someone (Divye?) suggested that the python HTTP server requires execute permissions in the cgi-bin directory, and I can see how that makes sense. The http_test_server.hpp code contained a little snippet that did chmod on cgi-bin/requestinfo.py, but since we have a few more cgi-bin scripts now, I've tried to generalize that to run the same chmod on all files inside cgi-bin. However, since I don't have a Linux environment, I can't really test it (nor build, actually)... So, does anyone feel up for testing that it builds and sets the execute bit on all files in cgi-bin/? Thanks, - Kim |
From: Dean M. B. <mik...@gm...> - 2008-10-14 12:31:35
|
Hi Kim, On Tue, Oct 14, 2008 at 6:39 PM, Kim Gräsman <kim...@gm...> wrote: > > However, since I don't have a Linux environment, I can't really test > it (nor build, actually)... So, does anyone feel up for testing that > it builds and sets the execute bit on all files in cgi-bin/? > Is this available in the http_integration branch? Maybe you'd like to try out using Virtualbox to install a Linux distro (of your choice, I prefer Ubuntu for development) on a few GB's worth of disk space? That's what I do at least to be able to try things out in Linux. ;-) -- Dean Michael C. Berris Software Engineer, Friendster, Inc. |
From: K. G. <kim...@gm...> - 2008-10-14 12:56:52
Attachments:
cgibin-perm.patch
|
Hi Dean, On Tue, Oct 14, 2008 at 14:31, Dean Michael Berris <mik...@gm...> wrote: >> >> However, since I don't have a Linux environment, I can't really test >> it (nor build, actually)... So, does anyone feel up for testing that >> it builds and sets the execute bit on all files in cgi-bin/? >> > > Is this available in the http_integration branch? I'm not confident enough of my blind changes to commit them, but here's a patch with my mods. > Maybe you'd like to try out using Virtualbox to install a Linux distro > (of your choice, I prefer Ubuntu for development) on a few GB's worth > of disk space? That's what I do at least to be able to try things out > in Linux. ;-) I'll see if I can free a couple of gigs and experiment. Might be a nice learning experience as well :) Cheers, - Kim |
From: Dean M. B. <mik...@gm...> - 2008-10-14 13:05:57
|
On Tue, Oct 14, 2008 at 8:56 PM, Kim Gräsman <kim...@gm...> wrote: > > On Tue, Oct 14, 2008 at 14:31, Dean Michael Berris > <mik...@gm...> wrote: >>> >>> However, since I don't have a Linux environment, I can't really test >>> it (nor build, actually)... So, does anyone feel up for testing that >>> it builds and sets the execute bit on all files in cgi-bin/? >>> >> >> Is this available in the http_integration branch? > > I'm not confident enough of my blind changes to commit them, but > here's a patch with my mods. > Okay. After a visual inspection, I'd rather we not do it this way. If you would like to use Boost.Filesystem, that would be nice and more platform-independent as far as dealing with directories and file names. For the meantime just chmod'ing the files by name should be alright. >> Maybe you'd like to try out using Virtualbox to install a Linux distro >> (of your choice, I prefer Ubuntu for development) on a few GB's worth >> of disk space? That's what I do at least to be able to try things out >> in Linux. ;-) > > I'll see if I can free a couple of gigs and experiment. Might be a > nice learning experience as well :) > I think it will. :D -- Dean Michael C. Berris Software Engineer, Friendster, Inc. |
From: K. G. <kim...@gm...> - 2008-10-17 12:36:39
|
Hi Dean, On Tue, Oct 14, 2008 at 15:05, Dean Michael Berris <mik...@gm...> wrote: > > Okay. After a visual inspection, I'd rather we not do it this way. If > you would like to use Boost.Filesystem, that would be nice and more > platform-independent as far as dealing with directories and file > names. I just committed a significantly cleaned up version of http_test_server.hpp, that uses Boost.Filesystem as you suggested. Also, Python 2.6 has just been released, and our excluded test case works fine with it, so I re-included it. >>> Maybe you'd like to try out using Virtualbox to install a Linux distro >>> (of your choice, I prefer Ubuntu for development) on a few GB's worth >>> of disk space? That's what I do at least to be able to try things out >>> in Linux. ;-) I got Ubuntu up and running in a Virtualbox, and have tested the changes there. Everything seems to work! - Kim |
From: Glyn M. <gly...@gm...> - 2008-10-17 18:19:32
|
Hi Kim, 2008/10/17 Kim Gräsman <kim...@gm...> > I just committed a significantly cleaned up version of > http_test_server.hpp, that uses Boost.Filesystem as you suggested. > > Also, Python 2.6 has just been released, and our excluded test case > works fine with it, so I re-included it. > > >>> Maybe you'd like to try out using Virtualbox to install a Linux distro > >>> (of your choice, I prefer Ubuntu for development) on a few GB's worth > >>> of disk space? That's what I do at least to be able to try things out > >>> in Linux. ;-) > > I got Ubuntu up and running in a Virtualbox, and have tested the > changes there. Everything seems to work! > Great. It works on my non-virtual ubuntu installation too ;) Dean: is this intended to be part of the next release? Do you have a time frame for this? G |
From: Dean M. B. <mik...@gm...> - 2008-10-17 18:29:34
|
Hi Glyn! On Sat, Oct 18, 2008 at 2:19 AM, Glyn Matthews <gly...@gm...> wrote: > Hi Kim, > > 2008/10/17 Kim Gräsman <kim...@gm...> >> >> I just committed a significantly cleaned up version of >> http_test_server.hpp, that uses Boost.Filesystem as you suggested. >> >> Also, Python 2.6 has just been released, and our excluded test case >> works fine with it, so I re-included it. >> >> >>> Maybe you'd like to try out using Virtualbox to install a Linux distro >> >>> (of your choice, I prefer Ubuntu for development) on a few GB's worth >> >>> of disk space? That's what I do at least to be able to try things out >> >>> in Linux. ;-) >> >> I got Ubuntu up and running in a Virtualbox, and have tested the >> changes there. Everything seems to work! > > Great. It works on my non-virtual ubuntu installation too ;) > > Dean: is this intended to be part of the next release? Do you have a time > frame for this? Yes, it should be part of the next release. Unfortunately, the day job is taking a lot more of my time and this has hit the back-burner for me again. :( Glyn, can you please do the merge and if you can as well update the documentation regarding the new functions and files (client_fwd.hpp for http)? This would be greatly appreciated. Thanks for the great work guys, it's getting to a point where we can really start flaunting this software soon. :) A few more test and a few more features and we should be on-track to packaging a new release with (gasp) HTTP 1.1 client support. :D (I'll bug some people here so that I can release the HTTP Server as open source as well. I hope that turns out better for a lot of people and brings us closer to 1.0) :) -- Dean Michael C. Berris Software Engineer, Friendster, Inc. |
From: Glyn M. <gly...@gm...> - 2008-10-17 18:42:19
|
Hi Dean, thanks for the quick response. 2008/10/17 Dean Michael Berris <mik...@gm...> > Hi Glyn! > > > Dean: is this intended to be part of the next release? Do you have a > time > > frame for this? > > Yes, it should be part of the next release. Unfortunately, the day job > is taking a lot more of my time and this has hit the back-burner for > me again. :( > > Glyn, can you please do the merge and if you can as well update the > documentation regarding the new functions and files (client_fwd.hpp > for http)? This would be greatly appreciated. > Yeah, I'll do this over the weekend. > > Thanks for the great work guys, it's getting to a point where we can > really start flaunting this software soon. :) A few more test and a > few more features and we should be on-track to packaging a new release > with (gasp) HTTP 1.1 client support. :D > > (I'll bug some people here so that I can release the HTTP Server as > open source as well. I hope that turns out better for a lot of people > and brings us closer to 1.0) :) Do you have more information on this? It sounds interesting :) G |