Topic awaiting preservation: SSI Includes (Page 1 of 1) |
|
---|---|
Bipolar (III) Inmate From: Small Patch of Grass in CT |
posted 11-29-2001 10:10
Im just trying to figure out how to embed other HTML pages using SSI. I did it a while ago but forgot the declaration. |
Paranoid (IV) Inmate From: 127.0.0.1 |
posted 11-29-2001 15:13 |
Maniac (V) Mad Scientist From: 127 Halcyon Road, Marenia, Atlantis |
posted 11-29-2001 17:27
try here: |
Maniac (V) Mad Scientist From: Rochester, New York, USA |
posted 11-29-2001 18:51
I gave up on SSI and now do PHP for all the pages where I once did SSI, by doing this it makes it much easier to add functionality in the future, and it is much easier to implement in standard programming context, as opposed to the way that SSI is implemented, which tends to be a little less intuitive. |
Maniac (V) Mad Scientist From: Solitary confinement |
posted 12-02-2001 17:24
If you're interested, Mage's tutorials are here: http://www.gurusnetwork.com/tutorials/php/phptemplate/phptemplate.html |
Maniac (V) Mad Scientist with Finglongers From: Cell 53, East Wing |
posted 12-02-2001 18:01
Skatefx: If you have access to PHP then I'd go down that road. As well as the link to WarMage's tutorial see the manual: |
Bipolar (III) Inmate From: Small Patch of Grass in CT |
posted 12-02-2001 23:39
That would be correct. |
Maniac (V) Mad Scientist From: 127 Halcyon Road, Marenia, Atlantis |
posted 12-03-2001 10:04
uh-oh..... I have http://www.petskull.f2s.com/firedancer/index.shtml but try going to http://www.petskull.f2s.com/firedancer/ and see what happens..... |
Maniac (V) Mad Scientist with Finglongers From: Cell 53, East Wing |
posted 12-03-2001 14:23
PS: If f2s allow .htaccess files then you can swap things around so that it defaults to .shtml try: code: DirectoryIndex index.shtml index.php index.html
|
Maniac (V) Mad Scientist From: 127 Halcyon Road, Marenia, Atlantis |
posted 12-03-2001 22:13 |
Maniac (V) Mad Scientist with Finglongers From: Cell 53, East Wing |
posted 12-03-2001 22:17
PS: I'm pretty sure they should (I have met hosts that don't) so try it. |
Maniac (V) Mad Scientist From: 127 Halcyon Road, Marenia, Atlantis |
posted 12-03-2001 22:42 |
Maniac (V) Mad Scientist From: 100101010011 <-- right about here |
posted 12-03-2001 22:57
It's just in how the server is configured. You can set Apache to parse any extension you want for SSI but it adds to the page generation overhead. |
Paranoid (IV) Inmate From: 127.0.0.1 |
posted 12-03-2001 23:05 |
Paranoid (IV) Inmate From: us |
posted 12-03-2001 23:37 |
Maniac (V) Mad Scientist with Finglongers From: Cell 53, East Wing |
posted 12-03-2001 23:54
PS: You could configure your .htaccess file so you could have pages like: |
Maniac (V) Mad Scientist From: 127 Halcyon Road, Marenia, Atlantis |
posted 12-04-2001 15:22 |
Maniac (V) Mad Scientist From: Belgrade, Serbia |
posted 12-04-2001 18:09
Petskull, just read Apache's manual... There's no better tutorial than that! |