WCM - Das österreichische Computer Magazin Forenübersicht
 

Zurück   WCM Forum > Rat & Tat > Linux, UNIX, Open Source

Linux, UNIX, Open Source Rat & Tat bei Problemen und Fragen rund um GNU/Linux, BSD und sonstige UNIXe

Microsoft KARRIERECAMPUS

Antwort
 
Themen-Optionen Ansicht
Alt 02.01.2003, 23:12   #1
irrsinn
Veteran
 
Registriert seit: 05.04.2002
Beiträge: 331


Standard apache konfiguration

Wie kann ich beim Apache Webserver (Version 1.irgendwas) einstellen, welche Files er automatisch anzeigt, wenn man nur eine URL mit einem / am Schluss angibt?

Mein Server zeigt nur index.html an.
Ich hätt aber gern, dass er auch sofern vorhanden index.php anzeigt.

Ich hoff die Problembeschreibung ist soweit verständlich.
____________________________________
Wenn es dumm ist aber funktioniert, ist es nicht dumm!
irrsinn ist offline   Mit Zitat antworten
Alt 02.01.2003, 23:30   #2
valo
Inventar
 
Registriert seit: 15.11.2000
Alter: 43
Beiträge: 7.684


Standard

/etc/apache/httpd.conf und schau auf zeile 780... dort auskommentiern...
____________________________________
Yeah, yo mama dresses you funny and you need a mouse to delete files.
Jabber-ID: valo [at] cargal \'.\' org

Infected Mushroom and Barri Saharof - Live in Eilat Desert Israel 24-10-2002
A*S*Y*S - SSL-Pickup 21-10-2002
Dj Tiesto - Forbidden Paradise 8/Mystic Swamp
valo ist offline   Mit Zitat antworten
Alt 02.01.2003, 23:34   #3
irrsinn
Veteran
 
Registriert seit: 05.04.2002
Beiträge: 331


Standard

bitte sag mir, was in der zeile stehn soll. dann find ichs leichter. hab nämlich meine httpd.conf schon verändert. daher stimmen die zeilennummern nimmer.
____________________________________
Wenn es dumm ist aber funktioniert, ist es nicht dumm!
irrsinn ist offline   Mit Zitat antworten
Alt 02.01.2003, 23:44   #4
valo
Inventar
 
Registriert seit: 15.11.2000
Alter: 43
Beiträge: 7.684


Standard

beginnt

AddType application/

das is der anfang der zeile...
____________________________________
Yeah, yo mama dresses you funny and you need a mouse to delete files.
Jabber-ID: valo [at] cargal \'.\' org

Infected Mushroom and Barri Saharof - Live in Eilat Desert Israel 24-10-2002
A*S*Y*S - SSL-Pickup 21-10-2002
Dj Tiesto - Forbidden Paradise 8/Mystic Swamp
valo ist offline   Mit Zitat antworten
Alt 03.01.2003, 00:36   #5
jonix
Veteran
 
Registriert seit: 03.08.2000
Alter: 47
Beiträge: 461


Standard

bei apache v1.3.20 schauts (bei mir) so aus:
Code:
<IfModule mod_dir.c>
    DirectoryIndex index.php index.html index.htm
</IfModule>
siehe http://httpd.apache.org/docs/mod/mod...directoryindex


und falls notwendig
Code:
#
# And for PHP 4.x, use:
#
<IfModule mod_php4.c>
    AddType application/x-httpd-php .php
    AddType application/x-httpd-php .php4
    AddType application/x-httpd-php-source .phps
</IfModule>
siehe eventuell auch http://www.php.net/manual/de/install.apache.php


gruss joerg
____________________________________
hampel.at
jonix ist offline   Mit Zitat antworten
Alt 03.01.2003, 01:09   #6
valo
Inventar
 
Registriert seit: 15.11.2000
Alter: 43
Beiträge: 7.684


Standard

ups, hab mich geirrt

jonix hat recht...
____________________________________
Yeah, yo mama dresses you funny and you need a mouse to delete files.
Jabber-ID: valo [at] cargal \'.\' org

Infected Mushroom and Barri Saharof - Live in Eilat Desert Israel 24-10-2002
A*S*Y*S - SSL-Pickup 21-10-2002
Dj Tiesto - Forbidden Paradise 8/Mystic Swamp
valo ist offline   Mit Zitat antworten
Antwort


Aktive Benutzer in diesem Thema: 1 (Registrierte Benutzer: 0, Gäste: 1)
 

Forumregeln
Es ist Ihnen nicht erlaubt, neue Themen zu verfassen.
Es ist Ihnen nicht erlaubt, auf Beiträge zu antworten.
Es ist Ihnen nicht erlaubt, Anhänge hochzuladen.
Es ist Ihnen nicht erlaubt, Ihre Beiträge zu bearbeiten.

BB-Code ist an.
Smileys sind an.
[IMG] Code ist an.
HTML-Code ist aus.

Gehe zu


Alle Zeitangaben in WEZ +2. Es ist jetzt 14:33 Uhr.


Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Forum SEO by Zoints
© 2009 FSL Verlag