qwerty
30-04-2004, 13:21/01:21PM
I'm moving a site from IIS to Apache, and I want to use this as an opportunity to start doing things without any of the Front Page shortcuts -- includes, forms, file uploads, etc.
So I'm trying to figure out exactly what I need to do to get the new server to allow includes, and whether I'm better off using php includes or regular SSI.
The current pages are all .htm files (and they're all indexed, so I need them to remain as .htm), and the include files have been changed from .htm to .txt by removing everything except for what had been between <body> and </body>
So somebody give me some nice clear instructions if you can: what do I need to put in .htaccess to get the server to parse my .htm files as if they were .shtml, do I need httpd.conf, and if so, what goes in there, what do I have to do to use php includes on the .htm pages, and what's the proper code for a php equivalent of <!--#include virtual="/inc/nav.txt" --> ?
So I'm trying to figure out exactly what I need to do to get the new server to allow includes, and whether I'm better off using php includes or regular SSI.
The current pages are all .htm files (and they're all indexed, so I need them to remain as .htm), and the include files have been changed from .htm to .txt by removing everything except for what had been between <body> and </body>
So somebody give me some nice clear instructions if you can: what do I need to put in .htaccess to get the server to parse my .htm files as if they were .shtml, do I need httpd.conf, and if so, what goes in there, what do I have to do to use php includes on the .htm pages, and what's the proper code for a php equivalent of <!--#include virtual="/inc/nav.txt" --> ?