MartinP: SSI lauffähig machen

Hallo !

Kann mir bitte jemand weiter helfen.
Wo oder was muß man alles überprüfen, um zu wissen, ob der
Apache-Web-Server SSI fähig ist.

Ich habe natürlich schon geGoogle und auch schon versucht die
httpd.conf zu editieren, aber SSI es läuft immer noch nicht.

httpd.conf:
###########

  • DirectoryIndex index.html um -->index.shtml<-- erweitert

  • #AddType text/html .shtml <-- Kommentarz.(Rauter) auskommentiert

  • #AddOutputFilter INCLUDES .shtml <-- ""

Danach habe Apache restartet....
Hat sich aber nicht viel geändert :-(

Kann mir bitte jemand weiter helfen, Danke !

  1. Hallo MartinP.

    • #AddType text/html .shtml <-- Kommentarz.(Rauter) auskommentiert
    • #AddOutputFilter INCLUDES .shtml <-- ""

    Warum machst du das? Der Kommentar, der normalerweise über diesen Zeilen steht, sagt eigentlich alles, was zu tun ist:

      
    # To parse .shtml files for server-side includes (SSI):  
    # (You will also need to add "Includes" to the "Options" directive.)  
    #  
    AddType text/html .shtml  
    AddOutputFilter INCLUDES .shtml  
    
    

    Gruß, Ashura

    --
    Selfcode: sh:( fo:) ch:? rl:( br:^ n4:& ie:{ mo:) va:) de:> zu:) fl:( ss:| ls:[ js:|
    Try it: Become an Opera Lover in 30 days
    Meine Browser: Opera 8.0 | Firefox 1.0.3 | Lynx 2.8.3 | Netscape 4.7 | IE 6.0
    1. To parse .shtml files for server-side includes (SSI):

      (You will also need to add "Includes" to the "Options" directive.)

      AddType text/html .shtml
      AddOutputFilter INCLUDES .shtml

      
      >   
        
      Das Kommentar habe ich rausgenommen, wollte ich damit sagen !!!  
      SSI läuft trotzdem immer noch nicht.
      
      1. Hallo MartinP.

        Das Kommentar habe ich rausgenommen, wollte ich damit sagen !!!

        Gut, dann haben wir uns missverstanden.

        SSI läuft trotzdem immer noch nicht.

        Ist es machbar, dass du deine httpd.conf-Datei einmal online stellst, oder den Inhalt hier !ohne Kommentarzeilen! postest?

        Gruß, Ashura

        --
        Selfcode: sh:( fo:) ch:? rl:( br:^ n4:& ie:{ mo:) va:) de:> zu:) fl:( ss:| ls:[ js:|
        Try it: Become an Opera Lover in 30 days
        Meine Browser: Opera 8.0 | Firefox 1.0.3 | Lynx 2.8.3 | Netscape 4.7 | IE 6.0
        1. Ist es machbar, dass du deine httpd.conf-Datei einmal online stellst, oder den Inhalt hier !ohne Kommentarzeilen! postest?

          Auschnitt aus der httpd.conf Datei:
          #######################################################
          ...

          "C:/Programme/Apache Group/Apache2/cgi-bin" should be changed to whatever your ScriptAliased

          CGI directory exists, if you have that configured.

          <Directory "C:/Programme/Apache Group/Apache2/cgi-bin">
              AllowOverride None
              Options Includes ExecCGI
              Order allow,deny
              Allow from all
          </Directory>
          ...

          To parse .shtml files for server-side includes (SSI):

          (You will also need to add "Includes" to the "Options" directive.)

          AddType text/x-server-parsed-html .shtml
          AddOutputFilter INCLUDES .shtml
          ...

          #######################################################

          so sieht das aus. Was muß ich vielleicht noch editieren ???

          Gruß MartinP

          1. hi,

            Was muß ich vielleicht noch editieren ???

            ist mod_include denn auch vorhanden?

            das ist nämlich vorausetzung für den einsatz von SSI.

            näheres zur konfiguration von SSI übrigens hier: [link;http://httpd.apache.org/docs/howto/ssi.html.html]; vielleicht hilft's ja weiter.

            gruß,
            wahsaga

            --
            /voodoo.css:
            #GeorgeWBush { position:absolute; bottom:-6ft; }
            1. korrektur:

              näheres zur konfiguration von SSI übrigens hier: http://httpd.apache.org/docs/howto/ssi.html.html; vielleicht hilft's ja weiter.

              gruß,
              wahsaga

              --
              /voodoo.css:
              #GeorgeWBush { position:absolute; bottom:-6ft; }
          2. hallo MartinP,

            <Directory "C:/Programme/Apache Group/Apache2/cgi-bin">

            Dir ist klar, daß du damit SSI _ausschließlich_ im cgi-bin erlauben möchtest?

            Im übrigen könnte dir eventuell der SSI-Abschnitt in meinem Feature-Artikel weiterhelfen.

            Grüße aus Berlin

            Christoph S.