I'm on a 1and1 shared server containing my other websites.
In the Root I have an HTAccess file Rewriting a photo viewing php file with an ID as a parameter.
RewriteRule ^([^/d]+)\.html?$ /photography/albums/viewphoto.php?id=$1 [QSA,NC,L]
All works for the rewrite of the URLs, but the html files located in the root have stopped including my PHP code functions and variables held in an .inc file.
Am I missing something in making the rewrite specific to a single file or is an option missing on the rewrite?