Rechercher : dans
Par :

Changer l'aspect de mon INDEX OF /

Dernière réponse le 3 jui 2003 à 17:04:37 anelor, le 3 jui 2003 à 15:32:22 
 Signaler ce message aux modérateurs

Bonjour,

J'aimerai modifier l'aspect du listage de repertoire par défaut d'Apache.
J'ai une idée bien précise de ce à quoi je veux que ca ressemble, mais aucune idée de comment le réaliser.

Merci d'avance de vos réponses, et de votre aide.

anelor

Meilleures réponses pour « Changer l'aspect de mon INDEX OF / » dans :
Changer l'aspect du curseur en CSS VoirLa propriété cursor permet de changer l'aspect du curseur sur un élément d'une page web. Le client affichera automatiquement le curseur de son ordinateur qui correspond au type de curseur que vous aurez choisi. Exemples Liste des attributs...
Télécharger Color Cop VoirColor Cop permet de sélectionner une couleur directement à écran avec une pipette et de l'afficher dans un visualisateur avec son code RGB (RVB). Il est possible d'utiliser une loupe pour une meilleure sélection. Ce logiciel est notamment très...
SQL - Création d'index VoirQu'est-ce qu'un index? Un index est un objet complémentaire (mais non indispensable) à la base de données permettant d'"indexer" certaines colonnes dans le but d'améliorer l'accès aux données par le SGBDR, au même titre qu'un index dans un livre ne...

1

Jeff, le 3 jui 2003 à 17:03:00
  • +2

Salut anelor !

Normalement dans ton fichier httpd.conf tu devrais avoir une section comme suit (éventuellement sans les #) :



#<IfModule mod_autoindex.c>

#
# FancyIndexing: whether you want fancy directory indexing or standard
#
#IndexOptions FancyIndexing NameWidth=*

#
# AddIcon* directives tell the server which icon to show for different
# files or filename extensions. These are only displayed for
# FancyIndexed directories.
#
#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/deb.gif .deb

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

#
# DefaultIcon: which icon to show for files which do not have an icon
# explicitly set.
#
#DefaultIcon /icons/unknown.gif

#
# AddDescription: allows you to place a short description after a file in
# server-generated indexes. These are only displayed for FancyIndexed
# directories.
# Format: AddDescription "description" filename
#
#AddDescription "GZIP compressed document" .gz
#AddDescription "tar archive" .tar
#AddDescription "GZIP compressed tar archive" .tgz

#
# ReadmeName: the name of the README file the server will look for by
# default, and append to directory listings.
#
# HeaderName: the name of a file which should be prepended to
# directory indexes.
#
# The server will first look for name.html and include it if found.
# If name.html doesn't exist, the server will then look for name.txt
# and include it as plaintext if found.
#
#ReadmeName README
#HeaderName HEADER

#
# IndexIgnore: a set of filenames which directory indexing should ignore
# and not include in the listing. Shell-style wildcarding is permitted.
#
#IndexIgnore .??* *~ *# HEADER* README* RCS CVS *,v *,t
#</IfModule>


Cette section (sans les dièzes) permet de choisir les icones pour chaque type de fichier... à toi de personnaliser !!
Jeff  --=||[WM@CCM]||=--

Répondre à Jeff

2

 Jeff, le 3 jui 2003 à 17:04:37

Je disais donc... à toi de personnaliser les icônes pour chaque type de fichier... Jeff  --=||[WM@CCM]||=--

Répondre à Jeff
Collection CommentÇaMarche.net