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

2009-12-07 Thread Francis GALIEGUE
On Mon, Dec 7, 2009 at 06:49, 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 for rest of my website. index.html is my default page but remember i cannot put

[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 LocationMatch ^/index.html Header set Cache-Control max-age=X /LocationMatch As people will be

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

2009-12-06 Thread Igor Cicimov
Can't you put Header set Cache-Control max-age=X statement inside Directory / 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

[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

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

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

2009-10-20 Thread Phillip Jones
I expect a RemoveHandler in a Location /static/ 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 Location / uses SetHandler mod_python, I first tried