Re: [us...@httpd] Location - Match

2009-12-07 Thread Francis GALIEGUE
On Mon, Dec 7, 2009 at 06:49, Rajwinder-office Singh wrote: > Here is one simple looking requirement : > > I want to put max-age header of value X on my home page and a value of Y for > rest of my website. > > index.html is my default page but remember i cannot put > > > Header set Cache-Control

Re: [us...@httpd] Location - Match

2009-12-06 Thread Igor Cicimov
Can't you put "Header set Cache-Control max-age=X" statement inside stanza? On Mon, Dec 7, 2009 at 4:49 PM, Rajwinder-office Singh < rajwinder.makkar.off...@gmail.com> wrote: > Here is one simple looking requirement : > > I want to put max-age header of value X on my home page and a value of Y

[us...@httpd] Location - Match

2009-12-06 Thread Rajwinder-office Singh
Here is one simple looking requirement : I want to put max-age header of value X on my home page and a value of Y for rest of my website. index.html is my default page but remember i cannot put Header set Cache-Control max-age=X As people will be hitting my website as : : http://www.abc.com a

Re: [us...@httpd] location match order

2009-10-20 Thread Phillip Jones
> I expect a RemoveHandler in a at the > bottom of your config might help, if I understand the question > aright. > many thanks Nick! I knew there had to be a way to get this done, I just didn't know what it was. Since my uses SetHandler mod_python, I first tried "RemoveHandler mod_python" but

Re: [us...@httpd] location match order

2009-10-20 Thread Nick Kew
Phillip Jones wrote: Hi, I asked about this awhile ago but did not receive a response. My end goal is to run trac (http://trac.edgewall.org/) at the server root, while still having other static content or web apps on subdirectories. http://www.example.com/ should display trac http://www.example

[us...@httpd] location match order

2009-10-20 Thread Phillip Jones
Hi, I asked about this awhile ago but did not receive a response. My end goal is to run trac (http://trac.edgewall.org/) at the server root, while still having other static content or web apps on subdirectories. http://www.example.com/ should display trac http://www.example.com/static should disp