OK, I've moved a portion of my site from HTML to XHTML and PHP. I pretty much had previously used PHP as an advanced kind of SSI, so I originally had added
# AddType application/x-httpd-php .html
to my .htaccess file. Well, I figured to save some processing on DH's servers, I'd switch them to be .php files; I've also tried to re-structure my site a bit, but I don't want visitors to the old URLs to get 404 errors, so I thought I'd try a little mod_rewrite action...
Basically, I want to take any request for a file of /ged2html/*.html, and send them to /g2h/*.php (replacing '*' with the requested file). I thought that this might do the trick:
#RewriteRule ^/(ged2html)/(i[0-9][0-9][0-9][0-9]|surnames|persons).html$ /g2h/$2\.php [R=301]
but I just get a 404 error (and to qualify, the file names really would be one of surnames.html, persons.html, or ixxxx.html, where the x is a digit)...
Any ideas? Am I totally off-base here?