• Willkommen im Linux Club - dem deutschsprachigen Supportforum für GNU/Linux. Registriere dich kostenlos, um alle Inhalte zu sehen und Fragen zu stellen.

[gelöst]FancyIndexing?

Remad

Member
Hallo Leute,
vor kurzem probierte ich auf dem SuSe Linux 9.0 Professional in Apache2 das FancyIndexing einzuschalten, jedoch kam eine Fehlermeldung: HTTP 403!

Hier meine .htaccess :
# Datei fuer Verzeichnis /bilder
IndexOptions FancyIndexing

# Add Last-Modified and ETag values for the listed directory in the HTTP header,
# based on files' modification dates
#IndexOptions +TrackModified

AddIconByEncoding (CMP,/icons/compressed.gif) x-compress x-gzip

AddIconByType (TXT,/icons/text.gif) text/*
AddIconByType (IMG,/icons/image2.gif) image/*
AddIconByType (SND,/icons/sound2.gif) audio/*
AddIconByType (VID,/icons/movie.gif) video/*

AddIcon /icons/binary.gif .bin .exe
AddIcon /icons/binhex.gif .hqx
AddIcon /icons/tar.gif .tar
AddIcon /icons/world2.gif .wrl .wrl.gz .vrml .vrm .iv
AddIcon /icons/compressed.gif .Z .z .tgz .gz .zip
AddIcon /icons/a.gif .ps .ai .eps
AddIcon /icons/layout.gif .html .shtml .htm .pdf
AddIcon /icons/text.gif .txt
AddIcon /icons/c.gif .c
AddIcon /icons/p.gif .pl .py
AddIcon /icons/f.gif .for
AddIcon /icons/dvi.gif .dvi
AddIcon /icons/uuencoded.gif .uu
AddIcon /icons/script.gif .conf .sh .shar .csh .ksh .tcl
AddIcon /icons/tex.gif .tex
AddIcon /icons/bomb.gif core

AddIcon /icons/back.gif ..
AddIcon /icons/hand.right.gif README
AddIcon /icons/folder.gif ^^DIRECTORY^^
AddIcon /icons/blank.gif ^^BLANKICON^^

Hier die mod_autoindex-defaults.conf Konfiguration:
IndexOptions FancyIndexing

# Add Last-Modified and ETag values for the listed directory in the HTTP header,
# based on files' modification dates
#IndexOptions +TrackModified

AddIconByEncoding (CMP,/icons/compressed.gif) x-compress x-gzip

AddIconByType (TXT,/icons/text.gif) text/*
AddIconByType (IMG,/icons/image2.gif) image/*
AddIconByType (SND,/icons/sound2.gif) audio/*
AddIconByType (VID,/icons/movie.gif) video/*

AddIcon /icons/binary.gif .bin .exe
AddIcon /icons/binhex.gif .hqx
AddIcon /icons/tar.gif .tar
AddIcon /icons/world2.gif .wrl .wrl.gz .vrml .vrm .iv
AddIcon /icons/compressed.gif .Z .z .tgz .gz .zip
AddIcon /icons/a.gif .ps .ai .eps
AddIcon /icons/layout.gif .html .shtml .htm .pdf
AddIcon /icons/text.gif .txt
AddIcon /icons/c.gif .c
AddIcon /icons/p.gif .pl .py
AddIcon /icons/f.gif .for
AddIcon /icons/dvi.gif .dvi
AddIcon /icons/uuencoded.gif .uu
AddIcon /icons/script.gif .conf .sh .shar .csh .ksh .tcl
AddIcon /icons/tex.gif .tex
AddIcon /icons/bomb.gif core

AddIcon /icons/back.gif ..
AddIcon /icons/hand.right.gif README
AddIcon /icons/folder.gif ^^DIRECTORY^^
AddIcon /icons/blank.gif ^^BLANKICON^^

DefaultIcon /icons/unknown.gif

ReadmeName README.html
HeaderName HEADER.html

IndexIgnore .?* *~ *# HEADER* RCS CVS *,v *,t

</IfModule>

Was muss ich ändern, damit ein FancyIndexing angezeigt wird?

Danke Im voraus!
 
Remad schrieb:
vor kurzem probierte ich auf dem SuSe Linux 9.0 Professional in Apache2 das FancyIndexing einzuschalten, jedoch kam eine Fehlermeldung: HTTP 403!
Damit IndexOptions funktioniert, muß mod_autoindex aktiviert sein. Außerdem: welche Apache-Version ist das genau? Hast du mit "apache -t" auf der Konsole mal deine Konfiguration auf Korrektheit überprüft?
Remad schrieb:
Hier meine .htaccess :
Warum machst du das in einer .htaccess? Ist die denn sonst korrekt zusammengestellt?
 
OP
R

Remad

Member
Syntax Test habe ich durchgeführt und fand nichts. mod_autoindex wird geladen und die Syntax ist korrekt!

Apache 2.049 ist auf dem System!
Auch wenn ich keine .htaccess gesetzt habe wird mir der Zugriff verweigert!

MfG
Remad
 
Oben