View Full Version : Ssi?
Commie
02-19-2004, 11:44 AM
I want to replace the JavaScript currently used as navigator on my page (profile) with a SSI script(are not they called scripts?).
I've tried, and the result was:This! (http://home.no.net/mkrwii/side2.shtml)
azlatin2000
02-19-2004, 11:57 AM
SSI Stands for Server Side Includes. I can't help you because i can't speak german and it redirects me to a german 404 error page and becuase i don't know the code you are using. Try checking the paths and make sure there is no space between the - and the # in the ssi. What do you want, do you want to replace a Javascript navigation system with ssi or a profile?
What does "Siden finnes ikke" mean?
Commie
02-19-2004, 12:00 PM
It is Norwegian, and means "The page does not exist"
http://home.no.net/mkrwii/
That menu is what I want to change. There was an error in the URL in my first post, i've corrected it now, so it should work.
azlatin2000
02-19-2004, 12:04 PM
First make a page with the menu in it. Name it Menu.html
Then put this code in any page you want the menu to apear:
<!--#include virtual="Menu.html"-->
Make sure you save the page as .shtml and make sure your host supports SSI
Commie
02-19-2004, 12:52 PM
Works perfectly on the test pages I made.
Thanks a whole lot!
azlatin2000
02-19-2004, 01:12 PM
You are welcome. :)
Commie
02-20-2004, 12:07 PM
Two other things regarding SSI;
1. Should I have <html>,<head> and<body>-tags in the HTML-files that I am "redirecting" to?
2. Why can't I use files stored in another folder ex:
<!--# include file="commie/communists.html"--> ?
azlatin2000
02-20-2004, 12:24 PM
for the file that is including the value to validate you shouldn't.
#2
<!--#include virtual="commie/fascistbush.html"-->
try that it might work, idon't use ssi i use php cause its easier and more powerful
vBulletin® v3.7.2, Copyright ©2000-2009, Jelsoft Enterprises Ltd.