[PHP] PHP-FPM with Apache 2.4, forward all request for all virtual host

2013-04-03 Thread Jose Nobile
Hi,

In Apache 2.2 http://httpd.apache.org/docs/2.2/ forward all request that
point to phisical .php file to PHP-FPM http://php-fpm.org/ is as follow:

LoadModule fastcgi_module http://www.fastcgi.com/ modules/mod_fastcgi.so

FastCGIExternalServer /usr/sbin/php-fpm -socket
/usr/local/php/lib/php.sock -idle-timeout 900AddHandler php-fastcgi
.phpAction php-fastcgi /usr/sbin/php-fpm.fcgiScriptAlias
/usr/sbin/php-fpm.fcgi /usr/sbin/php-fpm

 But in Apache 2.4 http://httpd.apache.org/docs/2.4/ is different, I'm
following the tutorial in Apache Wiki
http://wiki.apache.org/httpd/PHP-FPM but
I don't understand as enable PHP for all virtual host, not each one.

I search in PHP documentation, there is not mention about install on Apache
2.4:

   - Install PHP on Apache 2.x on Unix
systemshttp://www.php.net/manual/en/install.unix.apache2.php
   - PHP-FPM Install http://www.php.net/manual/en/install.fpm.install.php
   - PHP-FPM Documentation http://php-fpm.org/wiki/Documentation

This question was initially posted on stackoverflow:

http://stackoverflow.com/questions/15773901/php-fpm-with-apache-2-4-forward-all-request-for-all-virtual-host

Thank you for your help.

Saludos,
José Nobile


Re: [PHP] webform spam prevention

2013-04-03 Thread tamouse mailing lists
These folks might have direction for you: http://textcaptcha.com/really

(And my apologies for top posting. It seems Google has forced their
new mail compose widget upon me. I can no longer use my own editor to
smoothly and easily edit message, and Google forces the top post.)

On Tue, Apr 2, 2013 at 2:13 PM, Jen Rasmussen j...@cetaceasound.com wrote:
 Can someone recommend a best practice for blocking spam on web forms (aside
 from captcha) ?



 I've been for the most part utilizing a honeypot method and then
 individually blocking IPs and am looking for a more efficient method that
 won't require daily maintenance.



 I've come across this module: http://spam-ip.com/phpnuke-spam-module.php



 Has anyone used this method or have any other better suggestions?



 Thanks in advance!



 Jen Rasmussen

 Web Development Manager | Cetacea Sound Corp.

 763-225-8465 | www.cetaceasound.com


 P Before printing this message, make sure that it's necessary. The
 environment is in your hands




-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] PHP-FPM with Apache 2.4, forward all request for all virtual host

2013-04-03 Thread tamouse mailing lists
Sorry, in all of that, I don't see what the question is?

On Wed, Apr 3, 2013 at 3:27 PM, Jose Nobile jose.nob...@gmail.com wrote:
 Hi,

 In Apache 2.2 http://httpd.apache.org/docs/2.2/ forward all request that
 point to phisical .php file to PHP-FPM http://php-fpm.org/ is as follow:

 LoadModule fastcgi_module http://www.fastcgi.com/ modules/mod_fastcgi.so

 FastCGIExternalServer /usr/sbin/php-fpm -socket
 /usr/local/php/lib/php.sock -idle-timeout 900AddHandler php-fastcgi
 .phpAction php-fastcgi /usr/sbin/php-fpm.fcgiScriptAlias
 /usr/sbin/php-fpm.fcgi /usr/sbin/php-fpm

  But in Apache 2.4 http://httpd.apache.org/docs/2.4/ is different, I'm
 following the tutorial in Apache Wiki
 http://wiki.apache.org/httpd/PHP-FPM but
 I don't understand as enable PHP for all virtual host, not each one.

 I search in PHP documentation, there is not mention about install on Apache
 2.4:

- Install PHP on Apache 2.x on Unix
 systemshttp://www.php.net/manual/en/install.unix.apache2.php
- PHP-FPM Install http://www.php.net/manual/en/install.fpm.install.php
- PHP-FPM Documentation http://php-fpm.org/wiki/Documentation

 This question was initially posted on stackoverflow:

 http://stackoverflow.com/questions/15773901/php-fpm-with-apache-2-4-forward-all-request-for-all-virtual-host

 Thank you for your help.

 Saludos,
 José Nobile

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



RE: [PHP] PHP-FPM with Apache 2.4, forward all request for all virtual host

2013-04-03 Thread Jose Antonio Nobile Rendon
How to forward all request to files .php of any virtual host to
PHP-FPM in Apache 2.4? Not each one.

Saludos,
Jose Nobile
-Mensaje original-
De: tamouse mailing lists
Enviado:  03/04/2013, 6:35  PM
Para: Jose Nobile
Cc: php-general@lists.php.net
Asunto: Re: [PHP] PHP-FPM with Apache 2.4, forward all request for all
virtual host


Sorry, in all of that, I don't see what the question is?

On Wed, Apr 3, 2013 at 3:27 PM, Jose Nobile jose.nob...@gmail.com wrote:
 Hi,

 In Apache 2.2 http://httpd.apache.org/docs/2.2/ forward all request that
 point to phisical .php file to PHP-FPM http://php-fpm.org/ is as follow:

 LoadModule fastcgi_module http://www.fastcgi.com/ modules/mod_fastcgi.so

 FastCGIExternalServer /usr/sbin/php-fpm -socket
 /usr/local/php/lib/php.sock -idle-timeout 900AddHandler php-fastcgi
 .phpAction php-fastcgi /usr/sbin/php-fpm.fcgiScriptAlias
 /usr/sbin/php-fpm.fcgi /usr/sbin/php-fpm

  But in Apache 2.4 http://httpd.apache.org/docs/2.4/ is different, I'm
 following the tutorial in Apache Wiki
 http://wiki.apache.org/httpd/PHP-FPM but
 I don't understand as enable PHP for all virtual host, not each one.

 I search in PHP documentation, there is not mention about install on Apache
 2.4:

- Install PHP on Apache 2.x on Unix
 systemshttp://www.php.net/manual/en/install.unix.apache2.php
- PHP-FPM Install http://www.php.net/manual/en/install.fpm.install.php
- PHP-FPM Documentation http://php-fpm.org/wiki/Documentation

 This question was initially posted on stackoverflow:

 http://stackoverflow.com/questions/15773901/php-fpm-with-apache-2-4-forward-all-request-for-all-virtual-host

 Thank you for your help.

 Saludos,
 José Nobile

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] webform spam prevention

2013-04-03 Thread jomali
On Wed, Apr 3, 2013 at 7:33 PM, tamouse mailing lists 
tamouse.li...@gmail.com wrote:

 These folks might have direction for you: http://textcaptcha.com/really

 (And my apologies for top posting. It seems Google has forced their
 new mail compose widget upon me. I can no longer use my own editor to
 smoothly and easily edit message, and Google forces the top post.)


Actually, it doesn't, as I show below.


 On Tue, Apr 2, 2013 at 2:13 PM, Jen Rasmussen j...@cetaceasound.com
 wrote:
  Can someone recommend a best practice for blocking spam on web forms
 (aside
  from captcha) ?
 
 
 
  I've been for the most part utilizing a honeypot method and then
  individually blocking IPs and am looking for a more efficient method that
  won't require daily maintenance.
 
 
 
  I've come across this module: http://spam-ip.com/phpnuke-spam-module.php
 
 
 
  Has anyone used this method or have any other better suggestions?
 
 
 
  Thanks in advance!
 
 
 
  Jen Rasmussen
 
  Web Development Manager | Cetacea Sound Corp.
 
  763-225-8465 | www.cetaceasound.com
 
 
  P Before printing this message, make sure that it's necessary. The
  environment is in your hands
 
 
 

 --
 PHP General Mailing List (http://www.php.net/)
 To unsubscribe, visit: http://www.php.net/unsub.php



Actually, it doesn't. All you have to do is scroll to the bottom and add
your material.


Re: [PHP] webform spam prevention

2013-04-03 Thread tamouse mailing lists
I'd love to learn how to do that WITHOUT A MOUSE

On Wed, Apr 3, 2013 at 8:10 PM, jomali jomali3...@gmail.com wrote:
 On Wed, Apr 3, 2013 at 7:33 PM, tamouse mailing lists
 tamouse.li...@gmail.com wrote:

 These folks might have direction for you: http://textcaptcha.com/really

 (And my apologies for top posting. It seems Google has forced their
 new mail compose widget upon me. I can no longer use my own editor to
 smoothly and easily edit message, and Google forces the top post.)


 Actually, it doesn't, as I show below.


 On Tue, Apr 2, 2013 at 2:13 PM, Jen Rasmussen j...@cetaceasound.com
 wrote:
  Can someone recommend a best practice for blocking spam on web forms
  (aside
  from captcha) ?
 
 
 
  I've been for the most part utilizing a honeypot method and then
  individually blocking IPs and am looking for a more efficient method
  that
  won't require daily maintenance.
 
 
 
  I've come across this module: http://spam-ip.com/phpnuke-spam-module.php
 
 
 
  Has anyone used this method or have any other better suggestions?
 
 
 
  Thanks in advance!
 
 
 
  Jen Rasmussen
 
  Web Development Manager | Cetacea Sound Corp.
 
  763-225-8465 | www.cetaceasound.com
 
 
  P Before printing this message, make sure that it's necessary. The
  environment is in your hands
 
 
 

 --
 PHP General Mailing List (http://www.php.net/)
 To unsubscribe, visit: http://www.php.net/unsub.php



 Actually, it doesn't. All you have to do is scroll to the bottom and add
 your material.

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php