Re: one remaining mpms-shared quirk
On Sat, Nov 14, 2009 at 8:10 PM, William A. Rowe Jr. wrote: > ./configure with both --with-mpm=worker --enable-mpms-shared provides a really > odd result; > > checking which MPM to use by default... worker > ../httpd-2.x/configure: line 25999: server/mpm/event/modules.mk: No such file > or directory > checking for pthread_kill... yes > ../httpd-2.x/configure: line 26148: server/mpm/prefork/modules.mk: No such > file or directory > ../httpd-2.x/configure: line 26197: server/mpm/simple/modules.mk: No such > file or directory > ../httpd-2.x/configure: line 26293: server/mpm/worker/modules.mk: No such > file or directory > checking for pthread_kill... (cached) yes > mkdir modules/arch/unix > > > Is this by design? Should we use a different option to choose 'the mpm' > for httpd.conf purposes? I get different results with "--with-mpm=worker --enable-mpms-shared"... checking which MPM to use by default... worker configure: error: MPM yes does not support dynamic loading. configure failed The --enable-mpms-shared option handling doesn't deal with "yes"; it expects "all" or a list of space-delimited MPMs. I'll change it to build the default MPM (--with-mpm) as shared when no argument is passed on the --enable-mpms-shared option. (and I guess "no"/--disable... should do nothing, if it doesn't already)
one remaining mpms-shared quirk
./configure with both --with-mpm=worker --enable-mpms-shared provides a really odd result; checking which MPM to use by default... worker ../httpd-2.x/configure: line 25999: server/mpm/event/modules.mk: No such file or directory checking for pthread_kill... yes ../httpd-2.x/configure: line 26148: server/mpm/prefork/modules.mk: No such file or directory ../httpd-2.x/configure: line 26197: server/mpm/simple/modules.mk: No such file or directory ../httpd-2.x/configure: line 26293: server/mpm/worker/modules.mk: No such file or directory checking for pthread_kill... (cached) yes mkdir modules/arch/unix Is this by design? Should we use a different option to choose 'the mpm' for httpd.conf purposes?
Re: trunk build broken?
Hi Jeff, Jeff Barnes schrieb: > Here's a synopsis of my experience building from svn. > > $ svn checkout http://svn.apache.org/repos/asf/httpd/httpd/branches/2.2.x > httpd-2.2.x > > ... > > $ cd httpd-2.2.x > $ ./buildconf > > > You don't have a copy of the apr source in srclib/apr. > Please get the source using the following instructions, > or specify the location of the source with > --with-apr=[path to apr] : > >svn co http://svn.apache.org/repos/asf/apr/apr/trunk srclib/apr you need to checkout apr 1.3.x branch, not trunk > > > You don't have a copy of the apr-util source in srclib/apr-util. > Please get one the source using the following instructions, > or specify the location of the source with > --with-apr-util=[path to apr-util]: > >svn co http://svn.apache.org/repos/asf/apr/apr-util/trunk srclib/apr-util you need to checkout apr-util 1.3.x branch, not trunk Script to checkout: #!/bin/sh svn co https://svn.apache.org/repos/asf/httpd/httpd/branches/2.2.x httpd-2.2.x svn co https://svn.apache.org/repos/asf/apr/apr/branches/1.3.x httpd-2.2.x/srclib/apr svn co https://svn.apache.org/repos/asf/apr/apr-util/branches/1.3.x httpd-2.2.x/srclib/apr-util Script to update: #!/bin/sh echo "Updating httpd-2.2.x from SVN ..." svn up httpd-2.2.x echo "Updating apr-1.3.x from SVN ..." svn up httpd-2.2.x/srclib/apr echo "Updating apr-util-1.3.x from SVN ..." svn up httpd-2.2.x/srclib/apr-util Günter.
Re: mod_rewrite and mod_fcgid pass wrong fcgi request
Thanks Jeff for the response. > > I don't know what your rewrite config is, but rewrite isn't required > to use path info. Can you post a minimal config that illustrates the > problem? > my current configuration of the mod_rewrite and mod_fcgid rohan counter # cat /hosting/http/fullplanet.cl/dom/servicio/www/.htaccess RewriteEngine on RewriteCond $1 !^($|index\.php|stock|images|subidas|galerias|css|js|robots\.txt) RewriteRule ^(.*)$ /index.php/$1 [L] rohan counter # cat /hosting/http/fullplanet.cl/dom/servicio/www/.htaccess RewriteEngine on RewriteCond $1 !^($|index\.php|stock|images|subidas|galerias|css|js|robots\.txt) RewriteRule ^(.*)$ /index.php/$1 [L] -- rohan counter # cat /etc/apache2/modules.d/20_mod_fcgid.conf LoadModule fcgid_module modules/mod_fcgid.so FcgidIPCDir /var/run/fcgidsock FcgidProcessTableFile /var/run/fcgid_shm FcgidMaxRequestsPerProcess 8 FcgidMaxProcesses 10240 FcgidMaxProcessesPerClass 1024 FcgidMinProcessesPerClass 1 FcgidFixPathinfo 1 AddHandler fcgid-script .php FcgidWrapper /usr/bin/php-cgi .php FcgidInitialEnv PHP_FCGI_CHILDREN "8" FcgidInitialEnv PHP_FCGI_MAX_REQUESTS "1" Options +ExecCGI DirectoryIndex index.php i using a 307 redirect temporally, but that is the configuration that give me this problem. as i told before the file that try to open php-cgi is prefixed with "redirect:" string. > Something to consider when debugging mod_fcgid issues is that the same > config should work with mod_cgi[d] simply by changing the handler from > fcgid-script to cgi-script. More people on the users@ mailing list > are able to help with mod_cgi config issues. > i take your advice and now i probe it, thanks :) i take the dessicion to use mod_fcgid because i use mapserver php module, and this module does not have a good memory management, and with mod_fcgid i solve this problems very efficiently. -- cheers, have a nice day. Felipe Alcacibar Buccioni.
trunk build broken?
Here's a synopsis of my experience building from svn. $ svn checkout http://svn.apache.org/repos/asf/httpd/httpd/branches/2.2.x httpd-2.2.x ... $ cd httpd-2.2.x $ ./buildconf You don't have a copy of the apr source in srclib/apr. Please get the source using the following instructions, or specify the location of the source with --with-apr=[path to apr] : svn co http://svn.apache.org/repos/asf/apr/apr/trunk srclib/apr You don't have a copy of the apr-util source in srclib/apr-util. Please get one the source using the following instructions, or specify the location of the source with --with-apr-util=[path to apr-util]: svn co http://svn.apache.org/repos/asf/apr/apr-util/trunk srclib/apr-util $ svn co http://svn.apache.org/repos/asf/apr/apr/trunk srclib/apr ... $ svn co http://svn.apache.org/repos/asf/apr/apr-util/trunk srclib/apr-util svn: URL 'http://svn.apache.org/repos/asf/apr/apr-util/trunk' doesn't exist So I grabbed the latest release instead. $ svn http://svn.apache.org/repos/asf/apr/apr-util/branches/1.4.x srclib/apr-util ... $ ./buildconf found apr source: srclib/apr found apr-util source: srclib/apr-util ... $ ./configure ... Applying apr-util hints file rules for i686-pc-linux-gnu checking for APR... configure: error: the --with-apr parameter is incorrect. It must specify an install prefix, a build directory, or an apr-config file. configure failed for srclib/apr-util
Re: mod_rewrite and mod_fcgid pass wrong fcgi request
Thanks Jeff for the response. > > I don't know what your rewrite config is, but rewrite isn't required > to use path info. Can you post a minimal config that illustrates the > problem? > my current configuration of the mod_rewrite and mod_fcgid rohan counter # cat /hosting/http/fullplanet.cl/dom/servicio/www/.htaccess RewriteEngine on RewriteCond $1 !^($|index\.php|stock|images|subidas|galerias|css|js|robots\.txt) RewriteRule ^(.*)$ /index.php/$1 [L] rohan counter # cat /hosting/http/fullplanet.cl/dom/servicio/www/.htaccess RewriteEngine on RewriteCond $1 !^($|index\.php|stock|images|subidas|galerias|css|js|robots\.txt) RewriteRule ^(.*)$ /index.php/$1 [L] -- rohan counter # cat /etc/apache2/modules.d/20_mod_fcgid.conf LoadModule fcgid_module modules/mod_fcgid.so FcgidIPCDir /var/run/fcgidsock FcgidProcessTableFile /var/run/fcgid_shm FcgidMaxRequestsPerProcess 8 FcgidMaxProcesses 10240 FcgidMaxProcessesPerClass 1024 FcgidMinProcessesPerClass 1 FcgidFixPathinfo 1 AddHandler fcgid-script .php FcgidWrapper /usr/bin/php-cgi .php FcgidInitialEnv PHP_FCGI_CHILDREN "8" FcgidInitialEnv PHP_FCGI_MAX_REQUESTS "1" Options +ExecCGI DirectoryIndex index.php i using a 307 redirect temporally, but that is the configuration that give me this problem. as i told before the file that try to open php-cgi is prefixed with "redirect:" string. > Something to consider when debugging mod_fcgid issues is that the same > config should work with mod_cgi[d] simply by changing the handler from > fcgid-script to cgi-script. More people on the users@ mailing list > are able to help with mod_cgi config issues. > i take your advice and now i probe it, thanks :) i take the dessicion to use mod_fcgid because i use mapserver php module, and this module does not have a good memory management, and with mod_fcgid i solve this problems very efficiently. -- cheers, have a nice day. Felipe Alcacibar Buccioni.
Re: 2.3.3 on Mac OS X
On Wed, Nov 11, 2009 at 9:03 PM, Rich Bowen wrote: > Built 2.3.3 on Mac OS X 10.5.8 with: > > "./configure" \ > "--enable-modules=most" \ > "--enable-mods-shared=all" \ > "--with-mpm=event" \ > "--prefix=/usr/local/apache" \ > > > and got this on startup: > > [Wed Nov 11 20:56:15 2009] [crit] (70023)This function has not been > implemented on this platform: Couldn't create a Thread Safe Pollset. Is it > supported on your platform?Also check system or user limits! > Pre-configuration failed resolved in r836165 --with-mpm=event will be rejected during configure; other failure scenarios were with no mpm options (event was the default) and --enable-mpms-shared=all (event and simple were built even though they would fail at startup)