Re: [us...@httpd] Spiraling Apache Server, Multiple /tmp in lsof

2009-07-16 Thread Matt Juszczak
Hi all, Just wanted to ping one more time to see if anyone had any ideas, especially related to all the /tmp entries in lsof for each apache thread which I haven't seen before. On Tue, 14 Jul 2009, Matt Juszczak wrote: Hi all, Working on debugging an apache server that continually keeps CP

[us...@httpd] How to get the module to work with the rewrite condition?

2009-07-16 Thread Chintan Kachhi
I am trying to redirect to my custom error page when a particular url is hit... I am trying to follow as per this link: http://fixunix.com/websphere/373084-use-custom-404-page-when-running-but-application-isstopped.html where one of the relevant responses for me is what Eric had posted: I don'

[us...@httpd] Securing forward proxy for CONNECT

2009-07-16 Thread Foster, Stephen (ASPIRE)
Hi there, I am using apache to proxy https requests to a remote server using the AllowCONNECT method and am using ProxyRemote to send everything. What I really need to do is limit what the proxy will send but everything I try is not giving me what I want. Client issues the request for https

Re: [us...@httpd] mod_rewrite question

2009-07-16 Thread Eric Covener
On Thu, Jul 16, 2009 at 12:57 PM, Jonathan Zuckerman wrote: > Eric, I've wondered about the L flag in htaccess and often considered > it a bug that it does not work as it does outside of htaccess, I've > searched the documentation but this is sort of an esoteric thing to > think up a keyword for s

Re: [us...@httpd] mod_rewrite question

2009-07-16 Thread Jonathan Zuckerman
On Thu, Jul 16, 2009 at 8:42 AM, Eric Covener wrote: > On Thu, Jul 16, 2009 at 11:37 AM, howard chen wrote: >> A simple rewrite rule: >> >> >> RewriteRule ^/(.*)  /index.php?q=test1  [QSA] >> RewriteRule ^/test2  /index.php?q=test2  [QSA,L] >> >> >> The above rules rewrite everything to "q=test1",

Re: [us...@httpd] mod_rewrite question

2009-07-16 Thread Eric Covener
On Thu, Jul 16, 2009 at 11:37 AM, howard chen wrote: > A simple rewrite rule: > > > RewriteRule ^/(.*)  /index.php?q=test1  [QSA] > RewriteRule ^/test2  /index.php?q=test2  [QSA,L] > > > The above rules rewrite everything to "q=test1", even I enter the URL > = http://www.example.com/test2 > > How t

[us...@httpd] mod_rewrite question

2009-07-16 Thread howard chen
A simple rewrite rule: RewriteRule ^/(.*) /index.php?q=test1 [QSA] RewriteRule ^/test2 /index.php?q=test2 [QSA,L] The above rules rewrite everything to "q=test1", even I enter the URL = http://www.example.com/test2 How to do the following... => Rewrite all url, except /test2, with the que

Re: [us...@httpd] SSL cert for alias too

2009-07-16 Thread Jonas Eckerman
SSL cert for each, as SSL wildcard doesn't work in this case. Use one cert issued for both hosts. /jonas - The official User-To-User support forum of the Apache HTTP Server Project. See http://httpd.apache.org/userslist.html>

Re: [us...@httpd] log rotation

2009-07-16 Thread Tom Evans
On Thu, 2009-07-16 at 09:37 +, Melanie Pfefer wrote: > hi folks, > > could you please advise on what solutions (preferably without using > third-party tool) you use to rotate apache logs? > > I see rotatelogs under bin/ Could you please advise on its usage? > > Is there a config option in h

[us...@httpd] log rotation

2009-07-16 Thread Melanie Pfefer
hi folks, could you please advise on what solutions (preferably without using third-party tool) you use to rotate apache logs? I see rotatelogs under bin/ Could you please advise on its usage? Is there a config option in httpd.conf we can benefit from to rotate logs? thanks -

[us...@httpd] DoS attack rejection message

2009-07-16 Thread CABANES MASIA DAVID
Hello, When DoS prevention is configured in the Apache with PMP module or mod_evasive module, do anyone know the behavior of Apache in terms of rejecting the requests? Is with any http error message? It has to be configured anyhow? David Cabanes Masiá Alcatel-Lucent Technical Project Manager Qu

[us...@httpd] ProxyErrorOverride not working with mod_proxy_ajp

2009-07-16 Thread Sven Schliesing
Hi, I ran into a problem that my configured "ErrorDocument" for the code 404 is ignored when using mod_proxy_ajp. Adding the directive "ProxyErrorOverride On" has no effect. (like already described here [1]) Part of my config: -- Listen localhost:80 ServerName lo

[us...@httpd] why apache gives http 404?

2009-07-16 Thread Nedim Ozan Tekin
Hi friends, İ am using Proxy balancer in order to apache balances the load among two portal servers(jboss) But in access_log i see below erros: 10.10.0.74 - - [16/Jul/2009:11:07:34 +0300] "GET /portal-core/themes/renewal/por tal_style.css HTTP/1.1" 404 241 10.10.0.74 - - [16/Jul/2009:11:07:3