Re: [users@httpd] ProxyPassReverse Issue in Apache 2.2.3/CentOS, but works in Apache 2.2.14/Ubuntu [only directory redirect issue]

2012-02-13 Thread Hridayesh Gupta
It is not working only in Apache 2.2.4/CentOS. It is working in Apache 2.2.14/Ubuntu Just wanted to know if its bug or problem in my config. If its bug, how can I know. On Mon, Feb 13, 2012 at 9:46 PM, Hridayesh Gupta wrote: > Thanks for the reply. > > Actually my requirement is more complex and

Re: [users@httpd] vhosts conf file efficiency

2012-02-13 Thread Sean Conner
It was thus said that the Great Noel Butler once stated: > On Tue, 2012-02-14 at 12:21 +1000, Nick Edwards wrote: > > > On 2/12/12, Steve Swift wrote: > > > I don't think it would make a significant difference if you had a single > > > file with 2000 vhosts, or 2000 files with one vhost each. > >

Re: [users@httpd] vhosts conf file efficiency

2012-02-13 Thread Noel Butler
On Tue, 2012-02-14 at 12:21 +1000, Nick Edwards wrote: > On 2/12/12, Steve Swift wrote: > > I don't think it would make a significant difference if you had a single > > file with 2000 vhosts, or 2000 files with one vhost each. > > > > I think you're right, I added half a dozen test domains and c

Re: [users@httpd] vhosts conf file efficiency

2012-02-13 Thread Nick Edwards
On 2/13/12, Noel Butler wrote: > On Sun, 2012-02-12 at 13:14 +, Steve Swift wrote: > >> >> >> >> One caveat: Don't ever rely on a a wildcard INCLUDE for the order of >> your vhosts. This probably only matters for the first vhost, which is >> the default for any request which doesn't match any

Re: [users@httpd] vhosts conf file efficiency

2012-02-13 Thread Nick Edwards
On 2/12/12, Steve Swift wrote: > I don't think it would make a significant difference if you had a single > file with 2000 vhosts, or 2000 files with one vhost each. > I think you're right, I added half a dozen test domains and checked lsof, no apparent extra file handles. Just if I have to rebu

Re: [users@httpd] w00t and Dfind web scanner

2012-02-13 Thread Igor Cicimov
Check this link http://httpd.apache.org/docs/2.2/mod/mpm_common.html#acceptmutex and try to add AcceptMutex pthread to your config in case you run mpm_worker. 2012/2/14 Miguel González Castaños > > >> What OS, kernel, httpd version? >> If linux, /var/log/messages|kernel_log|**daemon_log ca

Re: [users@httpd] w00t and Dfind web scanner

2012-02-13 Thread Miguel González Castaños
What OS, kernel, httpd version? If linux, /var/log/messages|kernel_log|daemon_log can also often give some indication of problems. I have checked /var/log/messages (the other two don't exist) and I don't find anything. What can cause those SSL cache locks to bring the server down? Reg

Re: [users@httpd] How to find if Revision 1179239 patch is in place

2012-02-13 Thread Mark Montague
On February 13, 2012 17:28 , Murthy Ganti wrote: I am trying to find out if one of my Apache installation is vulnerable to CVS-2011-4317 or not. The description of this vulnerability says that this vulnerability exists in "2.2.x through 2.2.21, when the Revision 1179239 patch is in place". My

[users@httpd] How to find if Revision 1179239 patch is in place

2012-02-13 Thread Murthy Ganti
Hi, This is my first post so please don't flame me if I violated any norms. I am trying to find out if one of my Apache installation is vulnerable to CVS-2011-4317 or not. The description of this vulnerability says that this vulnerability exists in "2.2.x through 2.2.21, when the Revision 1179239

Re: [users@httpd] ProxyPassReverse Issue in Apache 2.2.3/CentOS, but works in Apache 2.2.14/Ubuntu [only directory redirect issue]

2012-02-13 Thread Hridayesh Gupta
Thanks for the reply. Actually my requirement is more complex and it needs dynamic proxying based on mapping from mysql db. Thats why I used RewriteRule and RewriteMap. One silly thing was not working so i tried this simple config to test the problem. Based on ProxyPassReverse rules I have specif

Re: [users@httpd] ProxyPassReverse Issue in Apache 2.2.3/CentOS, but works in Apache 2.2.14/Ubuntu [only directory redirect issue]

2012-02-13 Thread Tom Evans
On Mon, Feb 13, 2012 at 11:35 AM, Hridayesh Gupta wrote: > I have the following rule in conf file at server.com > > RewriteEngine On > RewriteRule /source(.*) http://example.com/target$1 [P] > ProxyRequests Off > ProxyPassReverse /source http://example.com/target > > http://example.com/target/a.ph

[users@httpd] ProxyPassReverse Issue in Apache 2.2.3/CentOS, but works in Apache 2.2.14/Ubuntu [only directory redirect issue]

2012-02-13 Thread Hridayesh Gupta
I have the following rule in conf file at server.com RewriteEngine On RewriteRule /source(.*) http://example.com/target$1 [P] ProxyRequests Off ProxyPassReverse /source http://example.com/target http://example.com/target/a.php redirects to http://example.com/target/b.php http://example.com/target

Re: [users@httpd] The use of Alias directive command

2012-02-13 Thread Sharl.Jimh.Tsin
在 2012-02-13一的 16:50 +0800,yanliang写道: > On 02/13/2012 04:42 PM, Sharl.Jimh.Tsin wrote: > > 在 2012-02-13一的 16:34 +0800,yanliang写道: > >> Thank for your reply,Tianyin. > >> > >> And there is no XMLRPC folder in the "/var/ww/html/python" path.So I > >> think it has some meaning. > >> > >> Thanks. > >>

Re: [users@httpd] The use of Alias directive command

2012-02-13 Thread yanliang
On 02/13/2012 04:42 PM, Sharl.Jimh.Tsin wrote: 在 2012-02-13一的 16:34 +0800,yanliang写道: Thank for your reply,Tianyin. And there is no XMLRPC folder in the "/var/ww/html/python" path.So I think it has some meaning. Thanks. Yan On 02/13/2012 04:25 PM, Tianyin Xu wrote: I think XMLRPC is nothing

Re: [users@httpd] The use of Alias directive command

2012-02-13 Thread Sharl.Jimh.Tsin
在 2012-02-13一的 16:34 +0800,yanliang写道: > Thank for your reply,Tianyin. > > And there is no XMLRPC folder in the "/var/ww/html/python" path.So I > think it has some meaning. > > Thanks. > > Yan > > On 02/13/2012 04:25 PM, Tianyin Xu wrote: > > I think XMLRPC is nothing special only a part of th

Re: [users@httpd] The use of Alias directive command

2012-02-13 Thread yanliang
Thank for your reply,Tianyin. And there is no XMLRPC folder in the "/var/ww/html/python" path.So I think it has some meaning. Thanks. Yan On 02/13/2012 04:25 PM, Tianyin Xu wrote: I think XMLRPC is nothing special only a part of the path. What the Alias directive do is map "/test" to "/va

Re: [users@httpd] The use of Alias directive command

2012-02-13 Thread yanliang
Thank for your reply,Tianyin. And there is no XMLRPC folder in the "/var/ww/html/python" path.So I think it has some meaning. Thanks. Yan On 02/13/2012 04:25 PM, Tianyin Xu wrote: I think XMLRPC is nothing special only a part of the path. What the Alias directive do is map "/test" to "/va

Re: [users@httpd] The use of Alias directive command

2012-02-13 Thread Tianyin Xu
I think XMLRPC is nothing special only a part of the path. What the Alias directive do is map "/test" to "/var/www/html/python/XMLRPC". For example, the request for http://yourserver/test/foo.gif would cause the server to return the file /var/www/html/python/XMLRPC/foo.gif -- Tianyin On Sun, Fe