Thursday, July 29th 2010, 1:33pm UTC+2

You are not logged in.

  • Login
  • Register

Vmax

Intermediate

Posts: 172

Location: Heilbronn

1

Thursday, January 18th 2007, 4:02pm

Server Side Includes

Edit: Ähmm... hab ich was verbrochen oder weiß es keiner?


HI, ich möchte in Zukunft bei meinen "normalen" Html Seiten mit SSI arbeiten.
Hab mich schlau gemacht bei SelfHTML und da mal folgende Testseiten auf meinen Webserver hoch geschoben:

Testseite: test2.shtml

Source code

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>Dynamisches HTML mit Server Side Includes</title>
</head>
<body>
<h1>Dynamisches HTML mit Server Side Includes</h1>
<p>Diese Seite hat keine festgelegten Inhalte, sondern wird vom Server zusammengesetzt.<p>
<!--#if expr="$QUERY_STRING = /test/" -->
<!--#set var="param" value="Sie haben die Seite mit dem test-Parameter aufgerufen" -->
<!--#echo var="param" -->
<!--#else -->
<!--#include virtual="test.inc" -->
<!--#endif -->
</body>
</html>


Testseite: test.inc

Source code

1
2
3
4
5
6
<p>Auf einer Meierei,<br>
da lebte einst ein braves Huhn,<br>
das legte, wie die Hühner tun,<br>
an jedem Tag ein Ei.<br>
Und kakelte, mirakelte, spektakelte,<br>
als obs ein Wunder sei.</p>


funze net ?( ?( Steht aber auch nicht dabei, welche Vorraussetzungen auf dem Webserver gegeben sein müssen....

Kann mir da jemand weiterhelfen?
Greetings Vmax
____________________________________________________

Windows 95 was unable to detect your keyboard.
Press F1 to retry or F2 to abort!

This post has been edited 2 times, last edit by "Vmax" (Jan 19th 2007, 4:55pm)

  • Go to the top of the page

Vmax

Intermediate

Posts: 172

Location: Heilbronn

2

Saturday, January 20th 2007, 12:58pm

Sagt mal Leute.... weiß wircklich niemand was zu dem Thema???
Greetings Vmax
____________________________________________________

Windows 95 was unable to detect your keyboard.
Press F1 to retry or F2 to abort!
  • Go to the top of the page

3

Saturday, January 20th 2007, 2:52pm

Greetz Andi

Mod Dewey

CREAKTIF - Comes soon

Google ist dein Freund :D
  • Go to the top of the page

undefined

Super Moderator

Posts: 4,248

Location: Germany

4

Saturday, January 20th 2007, 4:19pm

@Vmax
Poste das nächste mal im richtigen Forum ich werde Antworten.
Ich sehe in die Anderen Bereich so gut wie nicht rein ;)
Das ein Perl Apache Problem
Und liegt wenn die Datei eine richtige Endung hat. Hundert pro an den Server Einstellungen. Siehe im net nach cgi sysinfo das hilft dir weiter.
Undefined Behavior (undefiniertes Verhalten) bedeutet meistens etwas ungültiges.
PHP Katepart - Speichenrechner - .htpasswd - RPM XDG Tool - Kcmnvview - QTidy
  • Go to the top of the page

Vmax

Intermediate

Posts: 172

Location: Heilbronn

5

Monday, January 22nd 2007, 1:10pm

Erst mal danke für die richtigen Antworten... werde es ausprobieren, wenn ich wieder dazu komme.

@ undefined
da ich ja nicht genau wußte, ob der Fehler im Script liegt oder serverseitig zu suchen ist, hab ich das eben unter html gepostet.... Ich gelobe Besserung... Mea culpa *PeitscheaufdenRückenhau... auau*

Das komische ist, daß es im CMS-webedition funktioniert ?(
Greetings Vmax
____________________________________________________

Windows 95 was unable to detect your keyboard.
Press F1 to retry or F2 to abort!

This post has been edited 1 times, last edit by "Vmax" (Jan 22nd 2007, 1:13pm)

  • Go to the top of the page