PDA

View Full Version : On dumping Front Page stuff


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" --> ?

qwerty
30-04-2004, 19:55/07:55PM
...bump

Anybody? Don't all answer at once....

Steve Sardell
01-05-2004, 00:23/12:23AM
Hi Bob,

I wish I had the smarts to give you a coherent answer.

srikanthsh
01-05-2004, 03:20/03:20AM
In dreamweaver, you could use library items (you could find this with the name 'assets').

Suppose if you define your top navigation as an 'asset'and then if you update that asset, the modifications will be reflected in all the htm/html files.

qwerty
01-05-2004, 06:58/06:58AM
I'm not trying to use any of the shortcuts provided by development tools. I'm looking for a solution that just involves the server. I thought it was pretty common for people to use .htaccess to control SSI.

Blue
01-05-2004, 11:00/11:00AM
Here's a few pointers qwerty...

http://httpd.apache.org/docs/howto/ssi.html

http://httpd.apache.org/docs-2.0/howto/ssi.html

http://hoohoo.ncsa.uiuc.edu/docs/tutorials/includes.html

http://www.zytrax.com/tech/web/ssi.htm

I'll search up some more good stuff as time permits.

qwerty
01-05-2004, 11:07/11:07AM
I got some advice that seems to be working. I'm now in the process of going through all the pages, replacing the FP includes with the new ones. I think this might just work out :)