[users@httpd] rewrite condition problem

2011-05-10 Thread Stefan Moravcik
Hello list, I want to do a rewrite rule for all URLs to get rewritten to example.com This works and can be done with very simple rule: RewriteCond %{HTTP_HOST} !^www\.example\.com$ RewriteRule ^/(.*) http://www.example.com/$1 [R=301,L] The problem is, when i want to exclude a URI. So

[users@httpd] 301 not being cached

2011-05-10 Thread Damon Green
Hi Folks, I have an issue with mod_cache, it refuses to cache redirects (301) and insists on cacheing 404 error responses, so really two issues. I'm using Apache 2.2.17 and the mod_cache/mod_disk_cache from Apache 2.3 which serves stale content from its disk cache when the Tomcat is unavailable.

[users@httpd] Larry W Burton is out of the office.

2011-05-10 Thread Larry W Burton
I will be out of the office starting Tue 05/10/2011 and will not return until Fri 08/12/2011. I will respond to your message when I return. NOTICE: This e-mail correspondence is subject to Public Records Law and may be disclosed to third parties.

Re: [users@httpd] rewrite condition problem

2011-05-10 Thread Stefan Moravcik
Great, thank you very much, it helped. I forgot about drupal's nice URLs rewrite rules in .htaccess. Drupal has been rewriting ^/free_trial$ to ^/index.php?q=free_trial so the final working solution is RewriteCond %{HTTP_HOST} !^www\.example\.com$ RewriteCond %{REQUEST_URI}

Re: [users@httpd] Larry W Burton is out of the office.

2011-05-10 Thread Carmel
On Tue, 10 May 2011 09:02:02 -0400 Larry W Burton lwbur...@ncat.edu articulated: I will be out of the office starting Tue 05/10/2011 and will not return until Fri 08/12/2011. I will respond to your message when I return. SPRING: Birds chirping, flowers blooming and incorrectly configured

Re: [users@httpd] Incomplete file downloads if Apache HTTPD is killed

2011-05-10 Thread Matus UHLAR - fantomas
So that was bad way to simulate apachectl stop just because of the above. I think with 2.2 it even is not true, because apache2 has own way to configure shutdown timeouts, the GracefulShutdownTimeout directive. On 09.05.11 16:26, Bostjan Skufca wrote: Yes, timeout is configurable, but that

Re: [users@httpd] Re: What are accept.lock files?

2011-05-10 Thread Jeroen Geilman
On 05/10/2011 07:10 PM, Steven Ross wrote: Trying one more time. Does anyone know? On May 7, 2011, at 14:16 , Steven Ross wrote: I'm running the pre-installed Apache 2 on my Mac OS X 10.5.8 machine. The log directory (where it writes error and access logs) is at: /private/var/log/apache2/

Re: [users@httpd] Re: What are accept.lock files?

2011-05-10 Thread Steven Ross
On May 10, 2011, at 10:37 , Jeroen Geilman wrote: On May 7, 2011, at 14:16 , Steven Ross wrote: I'm running the pre-installed Apache 2 on my Mac OS X 10.5.8 machine. The log directory (where it writes error and access logs) is at: /private/var/log/apache2/ The directory is filled with

Re: [users@httpd] Re: What are accept.lock files?

2011-05-10 Thread Steven Ross
On May 10, 2011, at 10:54 , Bennett, Tony wrote: Simplistically, they are files used by Apache to control exclusive access to some resources. Don't delete them. OK, thanks. Even if they are 5 years old and there are many newer ones? They are size 0, but still, I find it weird they would

[users@httpd] mix pre-compressed and mod_deflate

2011-05-10 Thread Adam Schrotenboer
I have a reasonably working mod_rewrite solution for serving pre-compressed files. But if I enable mod_deflate, it seems to override my mod_rewrite method. Basic problem is this: serving jquery.js with mod_deflate takes 1sec to load, serving it pre-compressed (and mod_deflate disabled) takes

[users@httpd] flush(STDOUT) + mod_deflate - was: mix pre-compressed and mod_deflate

2011-05-10 Thread Adam Schrotenboer
On 05/10/2011 11:14 AM, Adam Schrotenboer wrote: I have a reasonably working mod_rewrite solution for serving pre-compressed files. But if I enable mod_deflate, it seems to override my mod_rewrite method. Basic problem is this: serving jquery.js with mod_deflate takes 1sec to load, serving

Re: [users@httpd] flush(STDOUT) + mod_deflate - was: mix pre-compressed and mod_deflate

2011-05-10 Thread Adam Schrotenboer
On 05/10/2011 02:46 PM, Macks, Aaron wrote: Can you have the .js get called from a different VHOST (probably will need a FQ url) and configure the static vhost and the cgi vhost each tuned to the specific purpose An interesting idea, but that seems that it would require 2 VMs (I tried