[users@httpd] rewrite test through alias

2014-01-04 Thread uxio faria
hello, i need to test existence of files through alias but RewriteCond -f -F or -U doesn't work. Alias /test /tmp/test RewriteCond %{RESQUEST_URI} -F RewriteRule .* /tmp/test.html this example does not work for /test/* uri someone can help me? -uxio-

Re: [users@httpd] headers precedence 1.3 vs 2.2

2011-01-19 Thread Uxio Faria
rote: > >> On 18 Jan 2011, at 02:24, Uxio Faria wrote: >> >>> Ok, everything is fine with this. But with apache 2.2 i can't do >> that, headers setted with Header directive >>> in apache conf, can't be overwrited by php. >> >> Is it

Re: [users@httpd] headers precedence 1.3 vs 2.2

2011-01-18 Thread Uxio Faria
El 18/01/11 14:57, Igor Galić escribió: > > - "Nick Kew" wrote: > >> On 18 Jan 2011, at 02:24, Uxio Faria wrote: >> >>> Ok, everything is fine with this. But with apache 2.2 i can't do >> that, headers setted with Header directive

[users@httpd] headers precedence 1.3 vs 2.2

2011-01-17 Thread Uxio Faria
I have a problem. I have a large set of servers with apache 1.3 and php. I set the cache-control header by default on some directories with this form: Header Set Cache-Control "max-age=200" All the files below this directory sets the d