[users@httpd] Apache returns 200 to client in case of proxy timeout

2011-06-15 Thread Moshe Ben-Shoham
Hi, We're using Apache 2.2.15, with mod_proxy_http for proxying requests to backend processes. Here's the relevant configuration we use: ProxyMatch http://localhost:9001 ProxySet smax=5 max=20 ttl=120 keepalive=On /ProxyMatch Hence, the value of timeout is 300 seconds. When the

Re: [users@httpd] Apache returns 200 to client in case of proxy timeout

2011-06-15 Thread Jeroen Geilman
On 06/15/2011 08:52 AM, Moshe Ben-Shoham wrote: Hi, We're using Apache 2.2.15, with mod_proxy_http for proxying requests to backend processes. Here's the relevant configuration we use: ProxyMatch http://localhost:9001 That is not valid syntax for ProxyMatch, which requires a regular

[users@httpd] Command not found error on apache version 2.2.3 in CentOs

2011-06-15 Thread Daniel Requena
Hi, when I try to execute a php order using shell_exec or backtick operator, the command never returns anything. Also, appears a new line in error_log file each time php file is called from url, with the next information: sh: hostname: command not found. I've tried to put the complete path

Re: [users@httpd] Apache status reports twice the number of total workers

2011-06-15 Thread Bostjan Skufca
This is the extract from source file server/mpm/prefork/prefork.c: /* Limit on the total --- clients will be locked out if more servers than * this are needed. It is intended solely to keep the server from

Re: [users@httpd] Command not found error on apache version 2.2.3 in CentOs

2011-06-15 Thread Igor Galić
CentOS implies SELinux, that won't allow random execution. - Original Message - Hi, when I try to execute a php order using shell_exec or backtick operator, the command never returns anything. Also, appears a new line in error_log file each time php file is called from url, with the

Re: [users@httpd] Apache status reports twice the number of total workers

2011-06-15 Thread Patrick Proniewski
On 15 juin 2011, at 13:25, Bostjan Skufca wrote: This is the extract from source file server/mpm/prefork/prefork.c: ../.. #ifndef DEFAULT_SERVER_LIMIT #define DEFAULT_SERVER_LIMIT 256 #endif I would say ok, if all my servers would behave the same. But no. On two almost identical servers, I

[users@httpd] Authorization of Proxy

2011-06-15 Thread Petr Hracek
Dear users, I have a some problems with proxy authorization and I could not make an authorization of the proxy pages. Configuration in my VirtualHost section is: VirtualHost _default_:443 SSLEngine on SSLProxyEngine on ProxyRequests off RewriteEngine on RewriteCond %{REQUEST_METHOD} ^TRACE

[users@httpd] Re: Authorization of Proxy

2011-06-15 Thread Petr Hracek
Please ignore that mail I have pressed SEND without checking. 2011/6/15 Petr Hracek phrac...@gmail.com: Dear users, I have a some problems with proxy authorization and I could not make an authorization of the proxy pages. Configuration in my VirtualHost section is: VirtualHost

Re: [users@httpd] Apache status reports twice the number of total workers

2011-06-15 Thread Eric Covener
On Wed, Jun 15, 2011 at 8:57 AM, Patrick Proniewski patrick.proniew...@univ-lyon2.fr wrote: On 15 juin 2011, at 13:25, Bostjan Skufca wrote: This is the extract from source file server/mpm/prefork/prefork.c: ../.. #ifndef DEFAULT_SERVER_LIMIT #define DEFAULT_SERVER_LIMIT 256 #endif I

Re: [users@httpd] Apache status reports twice the number of total workers

2011-06-15 Thread Patrick Proniewski
On 15 juin 2011, at 15:18, Eric Covener wrote: On the first one (running only on port 80), the Scoreboard properly display 128 slots. Does this system use the ServerLimit directive? Oh. You got me. I've added this directive on the first server a while ago, and totally forgot about it.

[users@httpd] htaccess hell

2011-06-15 Thread Ian Zimmerman
I (or rather my distro) enabled userdir as follows: LoadModule userdir_module /usr/lib/apache2/modules/mod_userdir.so IfModule mod_userdir.c UserDir public_html UserDir disabled root Directory /home/*/public_html AllowOverride FileInfo AuthConfig Limit

Re: [users@httpd] htaccess hell

2011-06-15 Thread Jeroen Geilman
On 06/15/2011 08:56 PM, Ian Zimmerman wrote: I (or rather my distro) enabled userdir as follows: LoadModule userdir_module /usr/lib/apache2/modules/mod_userdir.so IfModule mod_userdir.c urgh UserDir public_html UserDir disabled root Directory /home/*/public_html

Re: [users@httpd] htaccess hell

2011-06-15 Thread Ian Zimmerman
On Wed, 15 Jun 2011 21:22:28 +0200 Jeroen Geilman jer...@adaptr.nl wrote: Ian UserDir public_html Ian UserDir disabled root Ian Ian Directory /home/*/public_html Ian AllowOverride FileInfo AuthConfig Limit Indexes Ian Options

Re: [users@httpd] PHP Not Working

2011-06-15 Thread Matus UHLAR - fantomas
On 10.06.11 00:03, Jeroen Geilman wrote: You need to tell apache what to do with .php files. This can be implemented - as documented - by adding FilesMatch \.php$ SetHandler application/x-httpd-php /FilesMatch in your Documentroot Directory block. Since when they recomment something

Re: [users@httpd] PHP Not Working

2011-06-15 Thread Jeroen Geilman
On 06/15/2011 10:13 PM, Matus UHLAR - fantomas wrote: On 10.06.11 00:03, Jeroen Geilman wrote: You need to tell apache what to do with .php files. This can be implemented - as documented - by adding FilesMatch \.php$ SetHandler application/x-httpd-php /FilesMatch in your Documentroot

Re: [users@httpd] PHP Not Working

2011-06-15 Thread Matus UHLAR - fantomas
On 10.06.11 00:03, Jeroen Geilman wrote: You need to tell apache what to do with .php files. This can be implemented - as documented - by adding FilesMatch \.php$ SetHandler application/x-httpd-php /FilesMatch in your Documentroot Directory block. On 06/15/2011 10:13 PM, Matus

Re: [users@httpd] PHP Not Working

2011-06-15 Thread Jeroen Geilman
On 06/15/2011 10:23 PM, Matus UHLAR - fantomas wrote: On 10.06.11 00:03, Jeroen Geilman wrote: You need to tell apache what to do with .php files. This can be implemented - as documented - by adding FilesMatch \.php$ SetHandler application/x-httpd-php /FilesMatch in your Documentroot

[users@httpd] Re: htaccess hell

2011-06-15 Thread Ian Zimmerman
On Wed, 15 Jun 2011 23:11:29 +0200 Stefan Fritsch s...@sfritsch.de wrote: Ian I know that the .htaccess file is getting read, because when I drop Ian garbage there I get a server error upon loading that page. So Ian somehow the AuthName directive in the .htaccess is getting ignored. Ian Why??

[users@httpd] PHP Parsing Problem

2011-06-15 Thread Xavier Lopez
Dear Users, I'm still not getting Apache to parse PHP. I've learned a lot though, here's what I know: In apache2.conf, there are these lines: Include /etc/apache2/mods-enabled/*.load Include /etc/apache2/mods-enabled/*.conf When I run ls /mods-enabled, I see php5.conf and php5.load, among