[EMAIL PROTECTED] Possible? Marking balancer members as ERROR if ProxyTimeout exceeded

2008-07-02 Thread Daniel Ruggeri
Hello; I am an administrator for several websites. We are using Apache HTTP v2.2.9 as a front end to communicate with WebSphere 6.0 JVM's on the back end. This is all, typically, on Solaris 9. To meet some of the high availability requirements of our applications, we've been using the WebSphere

[users@httpd] Any suggestions for a presentation at ApacheConNA2012?

2012-03-02 Thread Daniel Ruggeri
ll about a community-driven approach I want to see if my fellow developers and users had a suggestion for another presentation (or maybe a rewnewal of the cookbook). Any ideas out there? -- Daniel Ruggeri - The official User-To-U

Re: [users@httpd] https port and virtualhost

2012-03-05 Thread Daniel Ruggeri
e you have in the :80 vhost. Add this to the SSL vhost, or move it to the server level (outside of any vhosts): AllowOverride All Order deny,allow Deny from all Allow from 127.0.0.1 -- Daniel Ruggeri

Re: [users@httpd] Load Balancing for REST service

2012-03-07 Thread Daniel Ruggeri
R_ROUTE_CHANGED ProxyPass /daniel/ balancer://DanielCluster/daniel/ For reference (and other proxy examples), I pulled this straight from a presentation I gave at ACNA2010 here: http://people.apache.org/~druggeri/notes/ApacheConNA%202010%20Presentation.odp http://people.apache.org

Re: [users@httpd] Load Balancing for REST service

2012-03-08 Thread Daniel Ruggeri
My mistake. Simple permissions issue - should be fine now. -- Daniel Ruggeri - To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org For additional commands, e-mail: users-h...@httpd.apache.org

Re: [users@httpd] change header fields in reverse proxy mode

2012-03-11 Thread Daniel Ruggeri
xy uses (like X-ForwardedFor) that you can not change. -- Daniel Ruggeri

Re: [users@httpd] "no space left on device couldn't create the XXX mutex"

2012-03-11 Thread Daniel Ruggeri
nly* happen if a process obtains a lock but crashes before it can be released. Otherwise, a well-behaved httpd server will not have this issue - it is quite good at cleaning up after itself. -- Daniel Ruggeri - To unsubscribe, e-

Re: [users@httpd] Urgent !!! - Rewrite issue

2012-03-17 Thread Daniel Ruggeri
ine On RewriteCond %{SERVER_PORT} !^443$ RewriteRule ^/(.*)$ https:///$1 [L,R] You can also try enabling the rewrite log for more details. -- Daniel Ruggeri - To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org For additional commands, e-mail: users-h...@httpd.apache.org

Re: [users@httpd] Why is apache running after doing apachectl -k stop

2012-03-22 Thread Daniel Ruggeri
arly useful when scripting startup/shutdowns. -- Daniel Ruggeri - To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org For additional commands, e-mail: users-h...@httpd.apache.org

Re: [users@httpd] RE: Suspicious URL:Re: [users@httpd] Problems in setting up a "HTTPS" based WebDAV server

2012-03-24 Thread Daniel Ruggeri
sr -key ssl.key -new (This generates ssl.csr which you can safely email to be signed) -- Daniel Ruggeri - To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org For additional commands, e-mail: users-h...@httpd.apache.org

Re: [users@httpd] RE: Suspicious URL:Re: [users@httpd] Problems in setting up a "HTTPS" based WebDAV server

2012-03-25 Thread Daniel Ruggeri
will be the ssl.crt file. You should also get a chain file back as well. This becomes the value of SSLCertificateChainFile and is used for clients to tie your server's identity to a trusted authority. -- Daniel Ruggeri ---

Re: [users@httpd] Re-negotiation handshake failed: Not accepted by client!?

2012-04-04 Thread Daniel Ruggeri
is no such thing as HTTP 443 error code. Perhaps I read your email wrong, but httpd should never return that status code. -- Daniel Ruggeri - To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org For additional comma

Re: [users@httpd] Re-negotiation handshake failed: Not accepted by client!?

2012-04-05 Thread Daniel Ruggeri
le directive)? I personally have never used OptRenegotiate, but the description of the option seems to be related to the problem you are seeing. If this portion fails, I would expect the 403 that the client is getting in response.

Re: [users@httpd] How to set up 2 or more machines running HTTPD instances to serve a same request ( in a load balanced fashion).

2012-04-06 Thread Daniel Ruggeri
nything operating on layer 4 or up would do. In this sort of configuration you will bind httpd to a distinct IP address bound to each machine in the load balanced pair and let the upstream service manage the traffic. Capacity in this configuration at the web layer scales linearly with each httpd server. Beware, this option can be expensive. -- Daniel Ruggeri

Re: [users@httpd] How to set up 2 or more machines running HTTPD instances to serve a same request ( in a load balanced fashion).

2012-04-06 Thread Daniel Ruggeri
have to happen inside the Tomcat cluster. There's lots of documentation on how to set up clustering in Tomcat. Session persistence/stickiness would happen at the F5 load balancer. -- Daniel Ruggeri - To unsubscribe, e-m

Re: [users@httpd] Content Type Apache 1.3.27

2012-04-27 Thread Daniel Ruggeri
lem, you may need to check the data coming back with some sort of request capturing (Firebug, Fiddler, etc) or a network trace. -- Daniel Ruggeri

Re: [users@httpd] simple easy way to turn to maintenance mode

2012-05-31 Thread Daniel Ruggeri
e and restart without the define to disable maintenance mode. -- Daniel Ruggeri - To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org For additional commands, e-mail: users-h...@httpd.apache.org

Re: [users@httpd] Balancer logic on a per-context basis

2012-05-31 Thread Daniel Ruggeri
ll down by that time, at least one user will be impacted before httpd takes it out of service again. See the params for ProxyPass at http://httpd.apache.org/docs/2.2/mod/mod_proxy.html#proxypass -- Daniel Ruggeri - To unsubscribe,

Re: [users@httpd] Balancer logic on a per-context basis

2012-05-31 Thread Daniel Ruggeri
rotocol specific logic. Please do report back if you come across any complications. -- Daniel Ruggeri - To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org For additional commands, e-mail: users-h...@httpd.apache.org

Re: [users@httpd] simple easy way to turn to maintenance mode

2012-06-02 Thread Daniel Ruggeri
can control this with a condition (like looking for a specific cookie, header or source IP address). In the example below, you would use a cookie to gain access: RewriteCond !%{HTTP_COOKIE} LetMeIn RewriteRule .* /path/to/maintenance.html [L] #Existing directives -

Re: [users@httpd] Response code 408

2012-06-04 Thread Daniel Ruggeri
ed to tweak the values to accommodate those users. -- Daniel Ruggeri

Re: [users@httpd] MOD_STATUS

2012-06-07 Thread Daniel Ruggeri
y be speaking out of school here, but I believe that means you have too few workers. Do you have access to your httpd.conf? The code for mod status simply iterates through the server_limit x thread_limit and prints a character for each. -- Daniel Ruggeri

Re: [users@httpd] Problem matching with ProxyPassMatch

2012-06-08 Thread Daniel Ruggeri
ct/detail$ RewriteCond %{QUERY_STRING} ^(bsins=20.*) RewriteRule .* balancer://product-gift/%1 Note the %1 back reference instead of $1 - %X is for cond matches, $X is for rule matches. -- Daniel Ruggeri - To unsubscribe,

Re: [users@httpd] Problem matching with ProxyPassMatch

2012-06-08 Thread Daniel Ruggeri
On 6/8/2012 5:35 PM, Daniel Ruggeri wrote: > You can use mod_rewrite to take action based on URI and query string as > well as proxy. This should work for you: Sorry! Correction! RewriteEngine On RewriteCond %{REQUEST_URI} ^/product/detail$ RewriteCond %{QUERY_STRING} ^(bsins=20.*) Rewri

Re: [users@httpd] ProxyPass question

2012-06-13 Thread Daniel Ruggeri
there a way to force authentication to access the proxied resource? You can accomplish this with a block instead of a block. That may be the only change needed, depending on the rest of your configuration. -- Daniel Ruggeri - To unsub

Re: [users@httpd] Help regarding mod_proxy_balancer, failover and failonstatus

2012-06-18 Thread Daniel Ruggeri
re no provisions available to retry a request to another backend server once it has been sent to a balancer member. I would like to fix this some day but I am just not aware of a place that this can be done currently as the balancer willy only attempt another backend on connection failure only. -- Daniel Ruggeri

Re: [users@httpd] Setting Headers on a Redirect Scenario

2012-06-23 Thread Daniel Ruggeri
However, this will turn foo.com into a proxy to bar.com which brings its own challenges. If you go this route you will want to tighten up the RewriteRule pattern a bit more as well as change the FileMatch to LocationMatch. -- Daniel Ruggeri

Re: [users@httpd] Apache modifies URL when offloading SSL

2012-06-29 Thread Daniel Ruggeri
what httpd is reading and writing. -- Daniel Ruggeri - To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org For additional commands, e-mail: users-h...@httpd.apache.org

Re: [users@httpd] Apache modifies URL when offloading SSL

2012-07-01 Thread Daniel Ruggeri
m but could create new ones or find another stumbling block one step further into the process... and the next thing you know you may have a mess of complicated config settings you don't want to touch in the future for fear of breaking something. -- Daniel Ruggeri ---

Re: [users@httpd] Restricting an Apache Module (Handler) to a Virtual Host

2012-07-07 Thread Daniel Ruggeri
k asking this question on the modules-dev mailing list: http://httpd.apache.org/lists.html#modules-dev -- Daniel Ruggeri - To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org For additional commands, e-mail: users-h...@httpd.apache.org

Re: [users@httpd] Rewrite Rule Help (again)

2012-07-09 Thread Daniel Ruggeri
e dark without more information. -- Daniel Ruggeri

Re: [users@httpd] Rewrite Rule Help (again)

2012-07-10 Thread Daniel Ruggeri
ewriteEngine On RewriteCond %{HTTP_HOST} !^update.domain.com$ [NC] RewriteRule ^/(.*)$ http://private.ip.address/$1 [P,L] -- Daniel Ruggeri - To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org For additional commands,

Re: [users@httpd] SSL Cllient Certificate Requirements Question

2012-07-19 Thread Daniel Ruggeri
g to sort it all > out.) > > Thanks. Since your servers are signed by a known CA, the browsers will only need to have a private key/certificate imported to function. In your httpd vhost, you will place your self-signed CA certificate (the one that signs the clie

Re: [users@httpd] Apache + 2 tomcat appserver failover configuration

2012-09-01 Thread Daniel Ruggeri
cer-manager Order deny,allow Deny from all Allow from 192.168 -- Daniel Ruggeri

Re: [users@httpd] Customized Stickiness

2012-09-12 Thread Daniel Ruggeri
fter the "." in the cookie value) and match it to the BalancerMember being used. -- Daniel Ruggeri - To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org For additional commands, e-mail: users-h...@httpd.apache.org

Re: [users@httpd] mod_proxy_balancer, balancer_manager questions

2012-09-13 Thread Daniel Ruggeri
some containers return a 503 when the app is not yet initialized but the container is up. Granted, you will still have one failed connection per every X retry seconds, but in high-volume sites a few failures is much more appetizing than h

Re: [users@httpd] How to proxy based on user agent?

2012-10-05 Thread Daniel Ruggeri
wsermatch directives are not required - you could use additional conditions like... RewriteCond %{HTTP_USER_AGENT} .*iPad.* [NC,OR] RewriteCond %{HTTP_USER_AGENT} .*iPhone.* [NC,OR] RewriteCond %{HTTP_USER_AGENT} .*Android.* [NC] -- Daniel Ruggeri

Re: [users@httpd] ProxyPassReverse

2012-10-20 Thread Daniel Ruggeri
Found Location: http://frontend.com/context/ It will replace all occurrences of the second argument with a self-constructed URL of the server. The first argument is used to translate the path if needed. -- Daniel Ruggeri --

Re: [users@httpd] Strange with AllowOverrideList Directive

2016-03-30 Thread Daniel Ruggeri
easy workaround to the problem. There's still a very slight efficiency that can be gained by fixing the bug in that the directories aren't checked for the presence of the files, though, so I'd still want to tackle it from that angle. -- Daniel Ruggeri

Re: [users@httpd] Strange with AllowOverrideList Directive

2016-03-30 Thread Daniel Ruggeri
I'm assuming that compiler optimizations would make both patches "six to one, half dozen to the other" as far as code path followed during the request cycle... but I agree. Fixed in trunk in r1737114 and proposed for backport in 2.4 in STATUS. -- Daniel Ruggeri On 3/30/201

Re: [users@httpd] Segmentation Fault with SSLProxyMachineCertificateFile

2013-03-15 Thread Daniel Ruggeri
e key. Currently there is no support for a passphrases in client certs and will, unfortunately, cause a segfault without any other useful errors. -- Daniel Ruggeri - To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org For additional commands, e-mail: users-h...@httpd.apache.org

Re: [users@httpd] Struggling with Reverse Proxy Configuration for Server with multiple subdomains

2013-03-15 Thread Daniel Ruggeri
ill show the request as sent to the backend (but produces tons of logs). Feel free to review/steal examples from this presentation as we get closer to the balancer config: http://people.apache.org/~druggeri/notes/ApacheConNA%202010%20Presentation.odp -- Daniel Ruggeri --

Re: [users@httpd] Source IP on Reverse Proxy

2013-03-15 Thread Daniel Ruggeri
xperiences, though, outbound calls originate from the physical (primary interface) address of the RP host - are you seeing that reverse proxied requests are originating from the VIP of the vhost? -- Daniel Ruggeri

Re: [users@httpd] Strange log in ssl server?

2013-03-15 Thread Daniel Ruggeri
icate, you can use these directives: SSLVerifyClient require SSLCACertificateFile /path/to/your/CA/cert.pem The word of caution here is that all users will have to present a client certificate - which would mean they have to have them available to their browsers or they will never be able to

Re: [users@httpd] Struggling with Reverse Proxy Configuration for Server with multiple subdomains

2013-03-15 Thread Daniel Ruggeri
ou can do almost anything you'd like as it crosses the proxy. There are a few examples in that presentation of some of the scenarios and use cases that might be interesting. Deflate would be a good start - it's always nice to save bandwidth. -- Daniel Ruggeri - To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org For additional commands, e-mail: users-h...@httpd.apache.org

Re: [users@httpd] Hung balancer members on HTTPd

2013-04-07 Thread Daniel Ruggeri
y disabled. David; Nothing available today, but I actually started work on adding this functionality but got distracted - it's a very simple patch. I will try to get something into trunk within the next week and will plan to backport to 2.2. -- Daniel Ruggeri

Re: [users@httpd] Currently facing some reverse proxy issues

2013-04-11 Thread Daniel Ruggeri
s a redirect. From there, just adjust the ProxyPassReverse line to match what is coming back in Location. -- Daniel Ruggeri - To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org For additional commands, e-mail: users-h...@httpd.apache.org

Re: [users@httpd] Need Help Urgently: Printing access details in Apache Access logs

2013-04-11 Thread Daniel Ruggeri
K" and log that (mod_log_config using %{headername}o). Then anything without that header could be treated as an error. Otherwise, I am unaware of a way to interrogate the response object for content and log differently. -- Daniel Ruggeri On 4/11/2013 1:42 AM, santosh kumar wrote: > Hi > > I am

Re: [users@httpd] Need Help Urgently: Printing access details in Apache Access logs

2013-04-11 Thread Daniel Ruggeri
e header indicating "OK" and log that (mod_log_config using %{headername}o). Then anything without that header could be treated as an error. Otherwise, I am unaware of a way to interrogate the response object for content and log differently. -- Daniel Ruggeri

Re: [users@httpd] Rewrite Rule Rewriting root site

2013-04-15 Thread Daniel Ruggeri
he RedirectMatch that you posted. -- Daniel Ruggeri - To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org For additional commands, e-mail: users-h...@httpd.apache.org

Re: [users@httpd] worker.c config in prefork.c module

2013-04-16 Thread Daniel Ruggeri
ll of those configuration directives will note be applied. -- Daniel Ruggeri - To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org For additional commands, e-mail: users-h...@httpd.apache.org

Re: [users@httpd] reverse_proxy related: howto rewrite code passing through

2013-05-08 Thread Daniel Ruggeri
gt; To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org > For additional commands, e-mail: users-h...@httpd.apache.org > mod_susbstitute used on the frontend apache server would be a potential option here. Have you tried that? -- Daniel Ruggeri --

Re: [users@httpd] Help needed

2013-05-10 Thread Daniel Ruggeri
an SSL backend? https://issues.apache.org/bugzilla/show_bug.cgi?id=53870 I've been bitten by this also. Update to openssl fixes this issue. -- Daniel Ruggeri - To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org For additional commands, e-mail: users-h...@httpd.apache.org

Re: [users@httpd] Using Apache 2.0 with mod_ssl and custom engine on openssl

2013-06-11 Thread Daniel Ruggeri
s compile flag was dropped in 2.2 which made SSLCryptoDevice part of a 'normal' build. -- Daniel Ruggeri - To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org For additional commands, e-mail: users-h...@httpd.apache.org

Re: [users@httpd] Using Apache 2.0 with mod_ssl and custom engine on openssl

2013-06-12 Thread Daniel Ruggeri
Erman; You are correct - there are no ways to pass arguments via the configuration file. You could use environment entries to avoid hard coding things in your engine, though. -- Daniel Ruggeri On 6/11/2013 12:01 PM, coolcuzu wrote: > Thank you Daniel for your help. > > I believe a

Re: [users@httpd] Proxy Balancing Not working as Expected

2013-06-24 Thread Daniel Ruggeri
ttp://192.168.8.77/APPX > > c)Stick Session is not maintained [ have checked the application after > logging You can enable debug log level - the balancer will log whether it can detect the sticky session cookie. > HTTP Status 404

Re: [users@httpd] Proxy Balancing Not working as Expected

2013-06-24 Thread Daniel Ruggeri
he user will receive an error (BAD GATEWAY) because nofailover is set. This parameter ensures that if a failure occurs on the sticky node, the user stays put. -- Daniel Ruggeri - To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org For additional commands, e-mail: users-h...@httpd.apache.org

[users@httpd] Let's build and awesome tutorial

2014-03-04 Thread Daniel Ruggeri
those already enrolled in the tutorial. Thanks - see you in Denver! Links [1] http://apacheconnorthamerica2014.sched.org/event/b31cfdb9ac0db0cb954a0645a5e3981d?iframe=no&w=100&sidebar=yes&bg=no#.UxYgp4X1NuM -- Daniel Ruggeri -

Re: [users@httpd] Let's build and awesome tutorial

2014-03-04 Thread Daniel Ruggeri
Hi, John; Good question, if there is sufficient interest in doing this, I can reach out to my contacts with the conference planners and see what can be done. I suspect that the schedule is already set, but it wouldn't hurt to ask. -- Daniel Ruggeri On 3/4/2014 1:06 PM, Rose, John B

Re: [users@httpd] Let's build and awesome tutorial

2014-03-04 Thread Daniel Ruggeri
Absolutely - whatever works best for those attending. Of course, for those who haven't attended BarCamp, that would also be a great way to spend Thursday! -- Daniel Ruggeri On 3/4/2014 3:50 PM, Rich Bowen wrote: > > On 03/04/2014 02:06 PM, Rose, John B wrote: >> Any chanc

Re: [users@httpd] Let's build and awesome tutorial

2014-03-11 Thread Daniel Ruggeri
On 3/4/2014 1:06 PM, Rose, John B wrote: > Any chance of moving it to Thursday? Hi, John; I was poking through the schedule today and see that the session has, indeed, been moved to Thursday at 09:00. -- Daniel Rugg

Re: [users@httpd] Apache as reverse proxy for internal IIS web server

2014-03-15 Thread Daniel Ruggeri
everse proxy. Tip: Configuration of SSL between httpd and IIS is optional but may be a good idea if IIS ever generates a full link or redirect. When httpd generates such things, it uses the protocol that it answered (so if you speak cleartext to apache, the Location header will have http://). My guess is that IIS would behave similarly. -- Daniel Ruggeri

Re: [users@httpd] Apache as Load Balancer question

2014-09-01 Thread Daniel Ruggeri
Hi; You will also need to bump your version to 2.2.25 as failontimeout was not backported until then. -- Daniel Ruggeri On 8/28/2014 8:01 AM, Daniel wrote: > Try with failontimeout option set to on, by default it is "Off" > > > 2014-08-28 2:07 GMT+02:00 Israel

Re: [users@httpd] Load balancing with load detection on backend servers ?

2014-11-20 Thread Daniel Ruggeri
trivial to do with a Servlet filter in a J2EE app, but I am not sure about other implementations (my own ignorance rather than it being technically impossible). -- Daniel Ruggeri Original Message From: Jim Jagielski Sent: November 20, 2014 7:36:11 AM CST To: users