[Cppcms-users] Apache2/FCgi external server: socket ownership problems
Brought to you by:
artyom-beilis
From: augustin <aug...@ov...> - 2011-01-11 03:43:17
|
Hello, I recently finally managed to set up Apache2 with FastCGI, start by the web server: http://art-blog.no- ip.info/wikipp/en/page/cppcms_1x_tut_web_server_config#Apache..FastCGI..Start.by.Web.Server I documented the solution to some problems I came across : http://art-blog.no- ip.info/wikipp/en/page/cppcms_1x_server_configuration_troubleshooting Now, I am trying to configure Apache, FastCGI, Independent start for easier development. It's working, but FastCGI has a socket permission problem: When I start the application, the socket has only write access for my user (me) but not for the web server user www-data. I can fix this easily by chmod a+w the socket. Is there any way to configure the socket (or config.js) so that by default the www-data user has write access to it? Augustin. -- Friends: http://www.reuniting.info/ http://activistsolutions.org/ 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/ . |