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

Re: [us...@httpd] multiple rewrite rules

2009-12-06 Thread Krist van Besien
On Mon, Dec 7, 2009 at 7:32 AM, Jeff Shearer wrote: > Thanks for your excellent explanation. > > I have used the book "The Definitive Guide to mod_rewrite" by Rich Bowen.  Do > you recommend a different reference? I don't know about this book. All I know about mod_rewrite I have from the officia

Re: [us...@httpd] multiple rewrite rules

2009-12-06 Thread Jeff Shearer
Thanks for your excellent explanation. I have used the book "The Definitive Guide to mod_rewrite" by Rich Bowen. Do you recommend a different reference? Jeff Shearer, CISA, CISSP, IAM, IEM -Original Message- From: "Krist van Besien" [krist.vanbes

Re: [us...@httpd] multiple rewrite rules

2009-12-06 Thread Krist van Besien
On Sun, Dec 6, 2009 at 9:08 PM, Jeff Shearer wrote: >  I have been trying without success to rewrite multiple css files with on > RewriteCond.  Here is my latest attempt to give y'all an idea of what I am > trying to do. I have the impression that you are unware how rewriteconds and rewriterule

[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] Re: .htaccess restricts write permission from webdav

2009-12-06 Thread J. Bakshi
LuKreme wrote: > On 3-Dec-2009, at 22:22, J. Bakshi wrote: > > >> Options +FollowSymLinks >> >> RewriteEngine On >> RewriteRule ^typo3$ - [L] >> RewriteRule ^typo3/.*$ - [L] >> >> RewriteCond %{REQUEST_FILENAME} !-f >> RewriteCond %{REQUEST_FILENAME} !-d >> RewriteCond %{REQUEST_FILENAME} !-l >>

Re: [us...@httpd] example configure line.. does it actually make sense?

2009-12-06 Thread Igor Cicimov
> > Ive seen other similar examples.. but i want to understand if this > actually makes sense. > Read this then http://httpd.apache.org/docs/2.2/programs/configure.html On Mon, Dec 7, 2009 at 11:17 AM, David Taveras wrote: > Hello, > > > I have this configure line: > CONFIGURE_ARGS+= >

Re: [us...@httpd] multiple rewrite rules

2009-12-06 Thread André Warnier
Jeff Shearer wrote: I have been trying without success to rewrite multiple css files with on RewriteCond. Here is my latest attempt to give y'all an idea of what I am trying to do. Please help. Thanks. RewriteEngine on RewriteLog /var/log/httpd-rewrite.log RewriteLogLevel 2 RewriteCo

[us...@httpd] example configure line.. does it actually make sense?

2009-12-06 Thread David Taveras
Hello, I have this configure line: CONFIGURE_ARGS+= --prefix=${HTTPD_DIR} \ --exec-prefix=${LOCALBASE} \ --sysconfdir=${CONFDIR} \ --with-apr=${LOCALBASE}/bin/apr-1-mt-config \

[us...@httpd] multiple rewrite rules

2009-12-06 Thread Jeff Shearer
I have been trying without success to rewrite multiple css files with on RewriteCond. Here is my latest attempt to give y'all an idea of what I am trying to do. Please help. Thanks. RewriteEngine on RewriteLog /var/log/httpd-rewrite.log RewriteLogLevel 2 RewriteCond %{HTTP_USER_AGENT

Re: [us...@httpd] Re: Building Apache 2.2 without IPv6

2009-12-06 Thread Peter Schober
* Zachary Uram [2009-12-06 14:13]: > What does APR stand for? http://apr.apache.org/ -peter - The official User-To-User support forum of the Apache HTTP Server Project. See http://httpd.apache.org/userslist.html> for more info.

Re: [us...@httpd] Re: Building Apache 2.2 without IPv6

2009-12-06 Thread Zachary Uram
On Sun, Dec 6, 2009 at 6:49 AM, Tom Evans wrote: > > I think everyone is being a bit harsh on this guy. All he wanted was > to disable IPv6, which is understandable. There have been OS > vulnerabilities that have been exposed in IPv4 only when IPv6 is > enabled (IIRC), so if the guy wants to run w

Re: [us...@httpd] Re: Building Apache 2.2 without IPv6

2009-12-06 Thread Tom Evans
On Fri, Dec 4, 2009 at 3:07 PM, LuKreme wrote: > On 4-Dec-2009, at 07:47, Jorge Medina wrote: >> What a nasty member of the user list! > > Nah, just a bad case of myopia. > > I think everyone is being a bit harsh on this guy. All he wanted was to disable IPv6, which is understandable. There have

RE: [us...@httpd] Re: href="frag.php&field=value" gets error 404.

2009-12-06 Thread Brian Hooper
Thank you for your help, ladies and gentlemen. I'd only been staring all day at that stupid mistake. Rgds, Brian Hooper From: krem...@kreme.com To: users@httpd.apache.org Date: Sat, 5 Dec 2009 17:20:47 -0700 Subject: [us...@httpd] Re: href="frag.php&field=value" gets error 404. On Dec 5, 2009