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

Apache, CGIs nicht im Firefox



Hallo,

im Konqueror wird die Ausgabe meines CGI-Skripts
anstandslos angezeigt. Im Firefox erhalte ich ein Dokument
vom Typ `text/plain' und es wird der erzeugte HTML-Code
angezeigt, überschrieben von einer Zeile:

  Content-Type: text/html

Das Skript läuft also ab, doch die Übermittlung des
Dokumententyps scheitert.

Ich hatte eine Apache-Standardkonfiguration erweitert um
das, was `libapache-mod-ruby' anbietet. Dazu habe ich noch
die Direktive "ExecCGI" eingefügt. Die verkürzte
`httpd.conf' steht unten. Ich gehe auf die Seite
<http://host/~user>.

Läuft da seitens von Firefox etwas schief? Wie bringe ich
Apache dazu, ihm den Dokumententyp so mitzuteilen, daß er es
versteht?

Danke vorab,

Bertram



-----httpd.conf-gekürzt-----
<IfModule mod_userdir.c>
    UserDir public_html
    <Directory /home/*/public_html>
        AllowOverride FileInfo AuthConfig Limit
        Options MultiViews Indexes SymLinksIfOwnerMatch IncludesNoExec
        Options +ExecCGI
        <Limit GET POST OPTIONS PROPFIND>
            Order allow,deny
            Allow from all
        </Limit>
        <Limit PUT DELETE PATCH PROPPATCH MKCOL COPY MOVE LOCK UNLOCK>
            Order deny,allow
            Deny from all
        </Limit>
    </Directory>
</IfModule>

<IfModule mod_ruby.c>
  RubyRequire apache/ruby-run
  <Files *.rb>
    SetHandler ruby-object
    RubyHandler Apache::RubyRun.instance
  </Files>
</IfModule>
----------------------------


-- 
Bertram Scharpf
Stuttgart, Deutschland/Germany
http://www.bertram-scharpf.de



Reply to: