RE: [users@httpd] apache caching 400 http status?

2014-02-13 Thread Anthony J. Biacco
tus); } } From: Mike Rumph [mailto:mike.ru...@oracle.com] Sent: Wednesday, February 12, 2014 4:54 PM To: users@httpd.apache.org Subject: Re: [users@httpd] apache caching 400 http status? Hello Anthony, The discussion on the caching of 503 errors in bug 55669 may apply to this email

[users@httpd] apache caching 400 http status?

2014-02-12 Thread Anthony J. Biacco
I'm running compiled apache 2.2.24 on centos 6.4 I have a URL which gets proxied to tomcat with mod_proxy_ajp. The URL in a test scenario is producing a 400 status and content using tomcat custom error pages. Said URL space is cached in apache with mod_disk_cache. Apache is caching said content an

RE: [users@httpd] apache 408 status code in 2.2.18 later

2014-01-23 Thread Anthony J. Biacco
The cause of these tends to be related to browsers that do predictive web requests to the server. The 408 happens after the unused connections time-out. The issue is also tied to RHEL 6.x and CentOS 6.x systems after a certain kernel version, I can’t remember which one off the top of my head. I h

RE: [users@httpd] Apache for Windows - forward logs to syslog server

2013-10-19 Thread Anthony J. Biacco
You can run Snare Epilog for Windows as a daemon to read your local apache log files and forward them on to a syslog server http://www.intersectalliance.com/projects/EpilogWindows/index.html You should also be able to use a Windows port of the logger utility and pipe your apache logs directly t

RE: [users@httpd] Apache on CentOS 6 -- lots of reading requests

2013-10-10 Thread Anthony J. Biacco
I'd like to resurrect the below thread as I'm seeing this on my new CentOS 6.4 (kernel 2.6.32-358.18.1.el6.x86_64)/Apache 2.2.24 (compiled) servers. Never had the problem on my CentOS 5 ones. I can't lower my timeout in apache, as I have dynamic backend content needing a 120+s timeout. Haven't fo

RE: [users@httpd] Redirect subdirectory to another virtualhost on Apache??

2012-10-31 Thread Anthony J. Biacco
Does app_test = galaxy_qa in this example?? If it does, the error doesn’t make much sense in your problem as a Redirect only requires the mod_alias module to be enabled. But if galaxy_qa != app_test then you got a problem somewhere else where you’re trying to do a ProxyPass/ProxyPassReverse for

RE: [users@httpd] mod_jk type log for mod_proxy_balancer?

2011-04-15 Thread Anthony J. Biacco
at CustomLog logs/proxy-tomcat.log combined-tomcat env=BALANCER_WORKER_ROUTE Tailor it to your needs. -Tony --- Manager, IT Operations Format Dynamics, Inc. P: 303-228-7327 F: 303-228-7305 abia...@formatdynamics.com http://www.formatdynamics.com > -Original Message-

[users@httpd] mod_jk type log for mod_proxy_balancer?

2011-04-14 Thread Anthony J. Biacco
I'm testing out mod_proxy_ajp/balancer as a possible replacement for my mod_jk infrastructure. Apache 2.2.17 on CentOS. So far the only major hurdle I have is to create a separate mod_jk type log of requests that are being proxied. Has anyone done this? I thought maybe I can do this with the export

RE: [us...@httpd] Are apache caching modules redudant of memcached?

2009-05-26 Thread Anthony J. Biacco
ntered any problems so far. I'm also wondering how many of the authorization modules are necessary -- considering I have Django doing a lot of that through the DB. But that might be another thread ... =) Ben. On Fri, May 22, 2009 at 1:32 PM, Anthony J. Biacco wrote: You

RE: [us...@httpd] Are apache caching modules redudant of memcached?

2009-05-22 Thread Anthony J. Biacco
You can comment them out -Tony --- Manager, IT Operations Format Dynamics, Inc. 303-573-1800x27 abia...@formatdynamics.com http://www.formatdynamics.com > -Original Message- > From: palewire [mailto:ben.we...@gmail.com] > Sent: Friday, May 22, 2009 12:52 PM > To:

RE: [us...@httpd] logging URLs

2009-05-22 Thread Anthony J. Biacco
You mean beyond RewriteLog? -Tony --- Manager, IT Operations Format Dynamics, Inc. 303-573-1800x27 abia...@formatdynamics.com http://www.formatdynamics.com > -Original Message- > From: Melanie Pfefer [mailto:melanie_pfe...@yahoo.co.uk] > Sent: Friday, May 22, 2009

[us...@httpd] RE: caching with compression

2009-05-19 Thread Anthony J. Biacco
73-1800x27 abia...@formatdynamics.com http://www.formatdynamics.com > -Original Message----- > From: Anthony J. Biacco > Sent: Tuesday, May 19, 2009 11:39 AM > To: 'users@httpd.apache.org' > Subject: caching with compression > > Hi, > > I'm using 2.2.11 on rhel 5. I&#x

[us...@httpd] caching with compression

2009-05-19 Thread Anthony J. Biacco
Hi, I'm using 2.2.11 on rhel 5. I'm doing apache disk caching of a couple of my tomcat apps, and apache memory caching for my static web files. I now have started doing compression of said files and webapps (which all fall under a javascript content type). Problem is, apache is now creating a .var

RE: [us...@httpd] mod_rewrite + mod_cache

2009-05-01 Thread Anthony J. Biacco
According to the below config you gave, you're not caching anything. You don't have CacheEnable turned on for any paths. But for 'all site on one script', I'm not sure if what you want is possible. If depends on the format of the full url for each page on the site, which you haven't given any examp

RE: [us...@httpd] Unable to configure Apache to use as personal web server

2009-04-29 Thread Anthony J. Biacco
Are you sure you reloaded the apache configuration and/or cleared your browser cache? -Tony --- Manager, IT Operations Format Dynamics, Inc. 303-573-1800x27 abia...@formatdynamics.com http://www.formatdynamics.com

RE: [us...@httpd] need help on "Program terminated with signal 11, Segmentation fault"

2009-03-27 Thread Anthony J. Biacco
Is your test server the same architecture with same library versions and os version as the production servers? Have you tried putting a simulated load on the test server to see if it falls over under the same load as the production box has? Have you used strace on any of the production apache p

[us...@httpd] performance scalability - good read

2009-03-20 Thread Anthony J. Biacco
If anybody wants a good read on web server scalability across multiple processor cores, just found at random: http://www.cse.wustl.edu/ANCS/2007/papers/p57.pdf on a similar topic, I've been looking at kernel settings lately, maxconn, backlog, rmem, etc.. and wondered if anybody had some good refer

RE: [us...@httpd] Reducing js file sizes...

2009-03-19 Thread Anthony J. Biacco
Ditto on the module, but check out ShrinkSafe based on rhino (http://shrinksafe.dojotoolkit.org). It's a java jar. -Tony --- Manager, IT Operations Format Dynamics, Inc. 303-573-1800x27 abia...@formatdynamics.com http://www.formatdynamics.com -Original Message- Fr

RE: [us...@httpd] RewriteRule problem

2009-03-18 Thread Anthony J. Biacco
abc isn't part of your query Make it: RewriteCond %{QUERY_STRING} ^id=(.*) [NC] RewriteRule ^/abc$ /efg/%1 [L] -Tony --- Manager, IT Operations Format Dynamics, Inc. 303-573-1800x27 abia...@formatdynamics.com http://www.formatdynamics.com -Original Message- Fr

RE: [us...@httpd] RewriteRule problem

2009-03-18 Thread Anthony J. Biacco
Rewriterule doesn't process query strings. He needs a "RewriteCond %{QUERY_STRING}"-type directive. -Tony --- Manager, IT Operations Format Dynamics, Inc. 303-573-1800x27 abia...@formatdynamics.com http://www.formatdynamics.com -Original Message- From: André Warn

[us...@httpd] rewrite before caching?

2009-03-18 Thread Anthony J. Biacco
I have a uri with cachebusting in it that looks like this: /path?killCache=x¶meter1=y%parameter2=z where x is a unix timestamp used to make sure the url isn't cached by the browser. Now though I want to use apache disk caching on this url. Obviously with the killCache parameters always changing th

RE: [us...@httpd] Apache Tunning

2009-03-16 Thread Anthony J. Biacco
i'm using moodle with some images werving with eaccelerator running with php and i you want i can send a conf file about mysql, php and apache if you would like to. On Fri, Mar 13, 2009 at 2:45 PM, Anthony J. Biacco wrote: 1. I have to rail totally against this. The more you lower Max

RE: [us...@httpd] Apache Tunning

2009-03-13 Thread Anthony J. Biacco
1. I have to rail totally against this. The more you lower MaxRequestsPerChild, the more often apache is killing and recreating a child process. At numbers as low as 2000 or lower, you're starting to defeat the whole purpose of using the worker mpm. >=50% of apache's time is going to be spent mana

RE: [us...@httpd] Build issue

2009-03-13 Thread Anthony J. Biacco
Try putting the openssl bin directory in your PATH and the openssl lib directory in your LD_LIBRARY_PATH -Tony --- Manager, IT Operations Format Dynamics, Inc. 303-573-1800x27 abia...@formatdynamics.com http://www.formatdynamics

RE: [us...@httpd] mod_disk_cache and ext3-limits

2009-03-12 Thread Anthony J. Biacco
.@deam.org] Sent: Thursday, March 12, 2009 9:57 AM To: users@httpd.apache.org Subject: Re: [us...@httpd] mod_disk_cache and ext3-limits Hi Tony, On 12.03.2009, at 15:51, Anthony J. Biacco wrote: > I tried mod_memcached_cache and wasn't thrilled with performance at > all. I don

RE: [us...@httpd] mod_disk_cache and ext3-limits

2009-03-12 Thread Anthony J. Biacco
e----- From: Anthony J. Biacco [mailto:abia...@formatdynamics.com] Sent: Thursday, March 12, 2009 8:52 AM To: users@httpd.apache.org Subject: RE: [us...@httpd] mod_disk_cache and ext3-limits I tried mod_memcached_cache and wasn't thrilled with performance at all. I don't have the numbe

RE: [us...@httpd] mod_disk_cache and ext3-limits

2009-03-12 Thread Anthony J. Biacco
I tried mod_memcached_cache and wasn't thrilled with performance at all. I don't have the numbers right in front of me but at high requests and concurrency it fell apart under my load testing. -Tony Sent from my Windows Mobile® phone. -Original Message- From: Brantl M. Klaus Sent: Thu

RE: [us...@httpd] Ask apache to stop listening on only one socket?

2009-03-09 Thread Anthony J. Biacco
Can't you just install an iptables rule to block connections to 8080? And then remove it when you're done. (assuming you're running unix) Block: iptables -A INPUT -p tcp -s 0/0 --dport 8080 -j DROP Pass: iptables -D INPUT -p tcp -s 0/0 --dport 8080 -j DROP -Tony --- Manag

RE: [us...@httpd] Ask apache to stop listening on only one socket?

2009-03-09 Thread Anthony J. Biacco
Only if you when into the config after apache's start, commented out the 8080 Listen line, and reloaded apache. Then to get it listening on 8080 again, you'd have to do the same, just uncommenting the Listen line -Tony --- Manager, IT Operations Format Dynamics, Inc. 303-

RE: [us...@httpd] rewrite based on POST data?

2009-03-06 Thread Anthony J. Biacco
Gingras [mailto:francois.ging...@gmail.com] Sent: Friday, March 06, 2009 10:07 AM To: users@httpd.apache.org Subject: Re: [us...@httpd] rewrite based on POST data? Anthony J. Biacco wrote: > Anybody know if there's a way for apache's rewrite to check POST data? > I need to rewrite

[us...@httpd] rewrite based on POST data?

2009-03-06 Thread Anthony J. Biacco
Anybody know if there's a way for apache's rewrite to check POST data? I need to rewrite a url based on a param=value in the POST. Thanx, -Tony --- Manager, IT Operations Format Dynamics, Inc. 303-573-1800x27 abia...@formatdynamics.com http://www.formatdynamics.com

RE: [us...@httpd] Apache port help

2009-03-05 Thread Anthony J. Biacco
I still think running each web server on a separate internal IP so you can run both on port 80 would be better than having IIS redirect the intranet request to apache. I just think he'd be adding a point of failure where one isn't needed. If IIS goes down for whatever reason, then you lose your

RE: [us...@httpd] Apache port help

2009-03-05 Thread Anthony J. Biacco
ginal Message- From: Anthony J. Biacco [mailto:abia...@formatdynamics.com] Sent: Thursday, March 05, 2009 12:08 PM To: users@httpd.apache.org Subject: RE: [us...@httpd] Apache port help Since your port 80 server is IIS that's what you'll have to do the redirection from. This becomes a ques

RE: [us...@httpd] Apache port help

2009-03-05 Thread Anthony J. Biacco
To: users@httpd.apache.org Subject: RE: [us...@httpd] Apache port help The url running on port 80 is http://chdb Tim Ford -Original Message----- From: Anthony J. Biacco [mailto:abia...@formatdynamics.com] Sent: Thursday, March 05, 2009 2:01 PM To: users@httpd.apache.org Subject: RE: [us...@htt

RE: [us...@httpd] Apache port help

2009-03-05 Thread Anthony J. Biacco
There is no way for http://intranet to go directly to the web server on port 8080. You'd have to configure something on the web server on port 80 to forward to 8080 IN the port 80 web server, you could do a: RedirectPermanent / http://intranet:8080 But then that kind of defeats the purpose of your

RE: [us...@httpd] Apache port help

2009-03-05 Thread Anthony J. Biacco
Stupid question..why not just run it on port 80? -Tony --- Manager, IT Operations Format Dynamics, Inc. 303-573-1800x27 abia...@formatdynamics.com http://www.formatdynamics.com -Original Message- From: Tim Ford [mailto:tf...@phmc.org] Sent: Thursday, March 05, 20

RE: [us...@httpd] mod_cache and se

2009-03-03 Thread Anthony J. Biacco
content. I only want that behaviour in mod_cache in my reverse proxy and not in the other downstream proxies. Thanks, Nuno Fernandes On Monday 02 March 2009 17:31:56 Anthony J. Biacco wrote: > An environmental variable of no-cache won't do anything, it doesn't > modify the response h

RE: [us...@httpd] mod_cache and se

2009-03-02 Thread Anthony J. Biacco
An environmental variable of no-cache won't do anything, it doesn't modify the response headers at all for you. But you can try this.. SetEnvIf Request_URI "\.aspx$" DO_nocache Header set Cache-Control no-cache env=DO_nocache Header unset Expires env=DO_nocache -Tony --- M

RE: [us...@httpd] Can you go outside the .htaccess directory with Rewrite Rule?

2009-02-27 Thread Anthony J. Biacco
I think you can if you used a ScriptAlias or something similar in your conf to map /cgi-bin to a directory of your choosing. -Tony --- Manager, IT Operations Format Dynamics, Inc. 303-573-1800x27 abia...@formatdynamics.com http://www.formatdynamics.com -Original Messa

RE: [us...@httpd] Alias/authentication precedence

2009-02-27 Thread Anthony J. Biacco
I'm no expert, but I think.. 1. No 2. No 3. NA 4. What you're missing is that the url path in ScriptAlias matches from the start of the uri..it's not a substring match. For the authentication, I would THINK that the Location authentication would take effect, yes. For the script alias thing, you

RE: [us...@httpd] Sorry for a stupid question

2009-02-26 Thread Anthony J. Biacco
No, REQUEST_URI represents the path of the request after the http hostname. You want {HTTP_HOST} and it formatted like this: RewriteCond %{HTTP_HOST} ^(mvideo|wap|mobile)\.mysite\.com$ [NC] RewriteRule (.*) http://m.mysite.com/$1 [R=301,L] -Tony --- Manager, IT Operations

RE: [us...@httpd] Range-Request

2009-02-26 Thread Anthony J. Biacco
"Header unset Accept-Ranges" to not send it or "Header set Accept-Ranges: none" to specifically set it to none Fyi, mod_headers module must be loaded. -Tony --- Manager, IT Operations Format Dynamics, Inc. 303-573-1800x27 abia...@formatdynamics.com http://www

RE: [us...@httpd] ajp mod_jk problem

2009-02-26 Thread Anthony J. Biacco
1. Don't use a hostname in your workers file, use an ip 2. Check your mod_jk.log to see if mod_jk is sending the requests to tomcat. 3. Check if you're using a VirtualHost in apache. A VirtualHost will NOT inherit the JkMount directives you've listed. They have to be inside th

RE: [us...@httpd] How To Configure.htpasswd For Web Authentication

2009-02-23 Thread Anthony J. Biacco
First you'll have to do one of the following. 1. Change the documentroot so your apache site can see the 'int' directory. Your current documentroot is too specify as is to encompass both. or 2. Create a new virtualhost with a documentroot of /var/www/html/int/. If your original vhost is ext.domai

RE: [us...@httpd] PHP4/PHP5 both as Apache 2 Modules RHEL 5

2009-02-20 Thread Anthony J. Biacco
Try running the php4 version as a fastcgi with the mod_fastcgi module, that's what we do. Configure php4 with -enable-fastcgi and --enable-force-cgi-redirect -Tony --- Manager, IT Operations Format Dynamics, Inc. 303-573-1800x27 abia...@formatdynamics.com http://www.format

[us...@httpd] RE: mem_cache and disk_cache acting differently when determine when to cache content?

2009-02-20 Thread Anthony J. Biacco
tions Format Dynamics, Inc. 303-573-1800x27 abia...@formatdynamics.com http://www.formatdynamics.com -Original Message- From: Anthony J. Biacco Sent: Friday, February 20, 2009 4:05 PM To: 'users@httpd.apache.org' Cc: 'modules-...@httpd.apache.org' Subject: mem_cache and disk

[us...@httpd] mem_cache and disk_cache acting differently when determine when to cache content?

2009-02-20 Thread Anthony J. Biacco
Hi, I'm serving out dynamic content from apache 2.2.11 that has a query string on it. The output is different if the query string is different, so I'm not ignoring the query string. My problem is that when I use the mem_cache module for this and look at the debug log, the effects seem different th

RE: [us...@httpd] Authentication/Authorization using HTTP Server

2009-02-18 Thread Anthony J. Biacco
That pages works for me, but if you're using php, just recompile php with oracle library support (assuming you've installed the libraries from oracle's website) and you can access the db from your scripts. -Tony Sent from my Windows Mobile® phone. -Original Message- From: Vasanth Kuma

RE: [us...@httpd] [client 127.0.0.1] client denied byserverconfiguration: /srv/www/htdocs/

2009-02-18 Thread Anthony J. Biacco
ge- From: James Pifer [mailto:j...@obrien-pifer.com] Sent: Wednesday, February 18, 2009 2:55 PM To: users@httpd.apache.org Subject: RE: [us...@httpd] [client 127.0.0.1] client denied byserverconfiguration: /srv/www/htdocs/ On Wed, 2009-02-18 at 14:49 -0700, Anthony J. Biacco wrote: > Hmm..do yo

RE: [us...@httpd] [client 127.0.0.1] client denied by serverconfiguration: /srv/www/htdocs/

2009-02-18 Thread Anthony J. Biacco
Hmm..do you have a block that's maybe denying it, or lack of one? Do you have a http(s) load balancer on the same machine that's probing apache for availability? That at least would explain the access log entries you quoted. -Tony --- Manager, IT Operations Format Dynamic

RE: [us...@httpd] [client 127.0.0.1] client denied by server configuration:/srv/www/htdocs/

2009-02-18 Thread Anthony J. Biacco
A Deny restriction block in Apache? An .htaccess file put in htdocs that has a Deny client restriction? -Tony --- Manager, IT Operations Format Dynamics, Inc. 303-573-1800x27 abia...@formatdynamics.com http://www.formatdynamics.com -Original Message- From: James P

[us...@httpd] mod_cache parameters conditional?

2009-02-16 Thread Anthony J. Biacco
Anybody know a way to make the CacheIgnoreQueryString parameter conditional? For 1 URL I have the query string changes the output, for the other, it does not, so I'd like to turn CacheIgnoreQueryString on for that URL so I only have 1 cached version instead of 1 for every string. Can I use a rewri

RE: [us...@httpd] Redirecting https connection

2009-02-11 Thread Anthony J. Biacco
1. Are xyz.com and www.xyz.com under the same virtual host? Do they resolve to the same IP address? 2. Are you sure you have the wildcard ssl cert configured in apache and reloaded the config? Look at the cert in your browser when you go to www.xyz.com. The CN value in the cert should

RE: [us...@httpd] user certificates with apache

2009-02-11 Thread Anthony J. Biacco
I would also say post the verbatim config. The way it looks currently is that you have the sslverifyclient and sslrequire in the whole site/vhost config, when you probably should put it in a directive. -Tony --- Manager, IT Operations Format Dynamics, Inc. 303-573-1800x27

RE: [us...@httpd] Redirection from http to https and sslrequiressl in .htaccess

2009-02-11 Thread Anthony J. Biacco
You don't need the sslrequiressl in .htaccess anymore if in the http vhost you're redirecting it to the https one all the time with a redirect or whatever. It should never end up in the dir with http. -Tony --- Manager, IT Operations Format Dynamics, Inc. 303-573-1800x27 ab

RE: [us...@httpd] Threaded MPM + mod_php/mod_python/mod_perl/mod_ruby.. thread safe?

2009-02-11 Thread Anthony J. Biacco
It can pretty much be said about anything that uses libraries that are not thread-safe, yes. While things like mod_perl are thread safe with ithreads as far as apache is concerned, mod_perl won't guarantee the thread-safeness of talking to the libraries, nor will any other mod_* probably that uses

RE: [us...@httpd] Re: optimizing apache web server

2009-02-10 Thread Anthony J. Biacco
Did you compile apache from source or use a binary package? List any 3rd party modules you're using, if any. Does typo use php? I forget. Run an strace on the apache process consuming the CPU and see what it's doing at the time of trouble. Run lsof on the process to see if any unusual files or exo

RE: [us...@httpd] cache POST requests

2009-02-10 Thread Anthony J. Biacco
://www.formatdynamics.com -Original Message- From: André Warnier [mailto:a...@ice-sa.com] Sent: Tuesday, February 10, 2009 2:44 PM To: users@httpd.apache.org Subject: Re: [us...@httpd] cache POST requests Anthony J. Biacco wrote: > I did in fact read the rfc before I posted, but it seems to me that o

RE: [us...@httpd] cache POST requests

2009-02-10 Thread Anthony J. Biacco
3-573-1800x27 abia...@formatdynamics.com http://www.formatdynamics.com -Original Message- From: André Warnier [mailto:a...@ice-sa.com] Sent: Tuesday, February 10, 2009 12:39 PM To: users@httpd.apache.org Subject: Re: [us...@httpd] cache POST requests Anthony J. Biacco wrote: > Hello, >

[us...@httpd] cache POST requests

2009-02-10 Thread Anthony J. Biacco
Hello, I'm using apache 2.2.11 on centos 5/x86_64 I'm testing out caching data for GET requests using mod_disk_cache, which I have working. I'd also like to cache data for the same requests via the POST method, but this doesn't seem to work. Is this supported? If so, is there any config changes re

RE: [EMAIL PROTECTED] mod_rewrite bug/by design with mod_mem_cache cached files?

2008-09-05 Thread Anthony J. Biacco
@httpd.apache.org Subject: Re: [EMAIL PROTECTED] mod_rewrite bug/by design with mod_mem_cache cached files? On Fri, Sep 5, 2008 at 1:20 PM, Anthony J. Biacco <[EMAIL PROTECTED]> wrote: > Hi, > > I'm using apache 2.2.9 with mod_mem_cache to cache some javascript > files, which is wor

[EMAIL PROTECTED] mod_rewrite bug/by design with mod_mem_cache cached files?

2008-09-05 Thread Anthony J. Biacco
Hi, I'm using apache 2.2.9 with mod_mem_cache to cache some javascript files, which is working fine. Today, I added a rewrite rule to forbid access (403) to everything in a virtualhost based on the Opera browser, which obviously included the javascript files. Problem is, the cached files in memo