[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: [Debian]:SSI mit Apache



Hallo David,

> [...]
> Wenn ich dann dem Link auf die index.shtml folge, zeigen mir die Browser den
> Quelltext der HTML Datei an. Wenn ich die index.shtml zu index.html mache,
> wird nur der Inhalt der HTML Datei angezeigt, aber nicht die Ausgabe meines
> Perl-Programms.

Wirf doch mal einen Blick in Deine srm.conf.

In meiner srm.conf steht z.B.:

---schnipp---
# If you want to use server side includes, or CGI outside
# ScriptAliased directories, uncomment the following lines.

# AddType allows you to tweak mime.types without actually editing it, or
to
# make certain files to be certain types.
# Format: AddType type/subtype ext1

# For example, the PHP3 module (a separate Debian package)
# will typically use:
AddType application/x-httpd-php .php
AddType application/x-httpd-php .php3
AddType application/x-httpd-php .phtml
AddType application/x-httpd-php-source .phps

AddType application/x-httpd-perl .pl

[....]

# To use server-parsed HTML files
#AddType text/html .shtml
#AddHandler server-parsed .shtml
---schnapp---

HTH

Gruss,
Martin
------------------------------------------------
Um sich aus der Liste auszutragen schicken Sie
bitte eine E-Mail an majordomo@jfl.de die im Body
"unsubscribe debian-user-de <deine emailadresse>"
enthaelt.
Bei Problemen bitte eine Mail an: Jan.Otto@jfl.de
------------------------------------------------
Anzahl der eingetragenen Mitglieder:     728


Reply to: