![]() Preserved Topic: SSI Probs (Page 1 of 1) |
|
---|---|
Maniac (V) Mad Scientist From: :morF |
![]() Hey! Now I'm having a problem with SSI. Just the one tag is all I need, and that one bloody tag won't work. I need to use the include tag to include a pair of tables of mission statements and news updates into both my frames and non-frames pages, and so I want to use SSI to automatically update both of them by altering the source page. The tag I enetered was |
Maniac (V) Mad Scientist From: Rochester, New York, USA |
![]() L? or u could be using a unix system... |
Paranoid (IV) Inmate From: 127.0.0.1 |
![]() The page has a .shtml extension, right? |
Maniac (V) Mad Scientist From: Jacks raging bile duct.... |
![]() Have you tried this? |
Maniac (V) Mad Scientist From: :morF |
![]() 1. It's windows 98 |
Maniac (V) Mad Scientist From: Rochester, New York, USA |
![]() Ok, I ran into something that is a little strange. |
Paranoid (IV) Inmate From: 127.0.0.1 |
![]() The server could be set to parse all pages. This would slow down performance a little, but not much, and probably not noticeable on low and medium traffic sites. |
Paranoid (IV) Inmate From: 127.0.0.1 |
![]() Skaarjj, SSI might not be enabled on your server. Has SSI ever worked? If not, check with the administrator/provider and see if you can get it to work. |
Maniac (V) Lord Mad Scientist Sovereign of all the lands Ozone and just beyond that little green line over there... From: Stockholm, Sweden |
![]() Well, first off, you will need to have your SysAdmin activate SSI for you. They may not want to at first, it can be a potential abuse problem, and impact server speed on a busy server. Sometimes they can set the XbitHack option to true, this would let all HTML and SHTML documents be parsed, although they frequently have to be set to be executable (chmod a+x filename.html). If SSIs are not turned on, think about what that tag looks like, a commented out bit of code! If that's the case, you'll be able to view the tag in your 'view source'. So! Try this... |
Maniac (V) Mad Scientist From: :morF |
![]() Well...At the moment this is on my computer, being tested with my browsers, who both support SSI, so I don't have problems with it not being supported. |
Paranoid (IV) Inmate From: 127.0.0.1 |
![]() Well, if you're testing it on your local workstation, it's not going to work, since nothing is parsing the page and executing script. Your code is correct, assuming the included page is in the same directory as the one calling it. Until you get it onto a server that supports SSI, you won't be able to see it. |
Maniac (V) Lord Mad Scientist Sovereign of all the lands Ozone and just beyond that little green line over there... From: Stockholm, Sweden |
![]() |
Maniac (V) Mad Scientist From: :morF |
![]() Ok, I get the picture...DUH! Me fail Engliss? That's Umpossible! No it ain't. I'm still new to most of this HTML:, SSI, CSS, JavaScript (which I am now learning Slime!) and all this other stuff, so forgive me if I make mistakes on obvious little things like this. Does anyone know of a server where I could put this to try it out? |
Obsessive-Compulsive (I) Inmate From: |
![]()
|