Preserved Topic: SSI Probs (Page 1 of 1) |
|
---|---|
Maniac (V) Mad Scientist From: :morF |
posted 06-09-2000 03:59
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 |
posted 06-09-2000 04:27
L? or u could be using a unix system... |
Paranoid (IV) Inmate From: 127.0.0.1 |
posted 06-09-2000 07:30
The page has a .shtml extension, right? |
Maniac (V) Mad Scientist From: Jacks raging bile duct.... |
posted 06-09-2000 15:54
Have you tried this? |
Maniac (V) Mad Scientist From: :morF |
posted 06-09-2000 16:10
1. It's windows 98 |
Maniac (V) Mad Scientist From: Rochester, New York, USA |
posted 06-09-2000 18:11
Ok, I ran into something that is a little strange. |
Paranoid (IV) Inmate From: 127.0.0.1 |
posted 06-09-2000 20:05
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 |
posted 06-09-2000 20:06
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 |
posted 06-09-2000 22:20
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 |
posted 06-10-2000 03:33
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 |
posted 06-10-2000 17:17
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 |
posted 06-11-2000 02:04 |
Maniac (V) Mad Scientist From: :morF |
posted 06-11-2000 13:51
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: |
posted 06-12-2000 23:41
|