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

2011-01-19 Thread Uxio Faria
Ok, i modify the function 'apr_table_setn' of libapr to do that but i think this is not the best option. if someone discovers other form, i will apreciate it. thanks. El 18/01/11 14:57, Igor Galić escribió: - Nick Kew n...@webthing.com wrote: On 18

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

2011-01-18 Thread Igor Galić
- Nick Kew n...@webthing.com 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 in apache conf, can't be overwrited by php. Is it now returning two headers, one from

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 n...@webthing.com 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 in apache conf, can't be overwrited by php.

[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: Directory /xxx/yyy/ Header Set Cache-Control max-age=200 /Directory All the files

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

2011-01-17 Thread Igor Cicimov
Have you tried mod_expire? Sent from my phone On Jan 18, 2011 1:25 PM, Uxio Faria ufa...@prisacom.com wrote: 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: Directory

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

2011-01-17 Thread Nick Kew
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 now returning two headers, one from the config and the other from your PHP?