RE: [users@httpd] users@httpd.apache.org - mod_rewrite question

2013-05-18 Thread Don Edmondson
ginal Message- From: Eric Covener [mailto:cove...@gmail.com] Sent: 18 May 2013 13:20 To: users@httpd.apache.org; don.edmond...@kg-enterprises.com Subject: Re: [users@httpd] users@httpd.apache.org - mod_rewrite question On Sat, May 18, 2013 at 6:11 AM, Don Edmondson wrote: > Don't know

Re: [users@httpd] users@httpd.apache.org - mod_rewrite question

2013-05-18 Thread Eric Covener
On Sat, May 18, 2013 at 6:11 AM, Don Edmondson wrote: > Don't know if I reply to the group or just to you? > >> > RewriteCond $1.shtml -f >> This line doesnt make sense. What is $1 doing there what is it > referencing? >> >RewriteRule^(kgp[a-z0-9]*)\.html$ $1.shtml [PT] > > Sorry - not sure w

RE: [users@httpd] users@httpd.apache.org - mod_rewrite question

2013-05-18 Thread Don Edmondson
ans 'the file DOES NOT exist' and '-f' means 'the file DOES exist' - but the actual operation (as shown in the traces) is the opposite behaviour. Regards, Don From: Igor Cicimov [mailto:icici...@gmail.com] Sent: 18 May 2013 03:35 To: users Subject: Re: [users@httpd] users@

Re: [users@httpd] users@httpd.apache.org - mod_rewrite question

2013-05-17 Thread Igor Cicimov
On 18/05/2013 10:39 AM, "Don Edmondson" wrote: > > {hope I am doing this right!} > I rewrote many of my pages for SSI (to use 'standard' headers and footers) > but left the original .html files in situ. This was fine for a while - but I > find I am still getting a lot of hits on the .html files so