Server-Side Includes

For requests for help from CG administrators, Wranglers, and experienced CG members. Please read the FAQ before posting. Also look at CG Wiki for tutorials and how-tos written by other CG webtoonists.
Post Reply
User avatar
Kousu
Newbie
Posts: 13
Joined: Thu Sep 18, 2003 3:08 pm
Location: North York, Ontario, Canada
Contact:

Server-Side Includes

Post by Kousu »

I want information on useing server side includes (SSI) on keenspace. I did a quick test, put <!--#echo var="DATE_LOCAL"--> just after the body tag on my index.html file, and my result was just getting that text as a comment. That is, it didn't parse the directive.

Does keenspace allow SSI at all? Would I need to make it index.shtml?

The reason I'm doing is that I am trying to get the server's time for use in a java script.

:/, I'm getting less determined to do it though... it seems that the format of the time returned by DATE_LOCAL is arbitrary and up to the server, so my script breaks on any server that doesn't have the same config as here, if here works at all.
Idiom Syndrome <- It's fun for the whole family, assuming your family is a bunch of raving hyenas who are bent on world domination and fine wine.

User avatar
YarpsDat
Cartoon Hero
Posts: 3637
Joined: Wed Oct 30, 2002 5:28 am
Location: nowhere

Post by YarpsDat »

AFAIK no SSI on Keenspace

It's possible you can have it enabled, but I wouldn't bet on it.
You are the Non. You must go now, and never return."

"1.Scan in high res 2.tweak with curves,levels or something to clean up the scan (or use channel mixer to remove blue pencil lines) 3.Add colour using a layer set to multiply. 4.Add wordbubbles and text as vector shapes. 5. Merge all layers. 6.resize to the web size. 7. Export/Save for Web" that's all I know about webcomicking.

User avatar
Kisai
Goddess of Light
Goddess of Light
Posts: 3276
Joined: Fri Jan 01, 1999 4:00 pm
Location: The Past, the Present, The future
Contact:

Post by Kisai »

SSI/Perl/PHP is enabled on a per-requirement basis...

As in if you have a domain name (requirement 1), and REALLY REALLY REALLY need it for something. PHP is only available to end-users on KeenPrime, as it's use on Keenspace is for administrative purposes. PHP is used on the forums, and soon help.keenspace.com

I'm against enabling perl/ssi/php at all for any site because people write really sloppy code that can hang apache.

User avatar
Kousu
Newbie
Posts: 13
Joined: Thu Sep 18, 2003 3:08 pm
Location: North York, Ontario, Canada
Contact:

Post by Kousu »

Okay, thanks for the info. I guess I'll just not do what I was planning then...
Idiom Syndrome <- It's fun for the whole family, assuming your family is a bunch of raving hyenas who are bent on world domination and fine wine.

User avatar
Kisai
Goddess of Light
Goddess of Light
Posts: 3276
Joined: Fri Jan 01, 1999 4:00 pm
Location: The Past, the Present, The future
Contact:

Post by Kisai »

Allow me to elaborate why...

If one person enables php/ssi/perl on their site, and crashes apache, then I have to disable it for everyone while I hunt down who crashed the server, makes for serious debugging headache for me, and downtime for keenspace readers it's usually 9 hours before anyone notifies me it's down. Or people message me when I'm away and I don't see it for 9 hours.

Post Reply