Re: [EMAIL PROTECTED] Rewriting URLs to remove .html extension

2008-10-15 Thread Nick Kew
On 15 Oct 2008, at 17:29, François Beausoleil wrote: Hi all! I moved my blog from a CMS to plain files. My old links are of the form: http://blog.teksol.info/tags/unit-testing All files are now stored with a .html extension, such that %{DOCUMENT_ROOT}/tags/unit-testing.html is an exist

Re: [EMAIL PROTECTED] Rewriting URLs to remove .html extension

2008-10-15 Thread Brian Mearns
It looks like %{REQUEST_FILENAME} is the /full/ system path to the file, so I think the %{DOCUMENT_ROOT} is incorrect there. I'm not familiar with RewriteCond's, but personally I would try removing the DOCUMENT_ROOT from that condition. Good luck. -Brian On Wed, Oct 15, 2008 at 12:29 PM, François

[EMAIL PROTECTED] Rewriting URLs to remove .html extension

2008-10-15 Thread François Beausoleil
Hi all! I moved my blog from a CMS to plain files. My old links are of the form: http://blog.teksol.info/tags/unit-testing All files are now stored with a .html extension, such that %{DOCUMENT_ROOT}/tags/unit-testing.html is an existing file. I found a thread in 2004 which talked about t