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

[HS] Pb avec apache



bon j'ai un petit soucis avec apache :
Si je fais  afficher ma page perso (http://machine/~lam)  je vois tous
les repertoires et fichiers qui sont dans /home/lam/public_html
en fait j'aimerais modifier l'apparence de cette page : donc j'ai cree
un fichier  .htaccess dans /home/lam/public_html dans  lequel j'ai mis
ca :

HeaderName common/HEADER
ReadmeName common/FOOTER

IndexOptions IconWidth=20 IconHeight=22 FoldersFirst SuppressHTMLPreamble FancyIndexing ScanHtmlTitles
IndexOrderDefault Descending Date

AddIcon /img/icons/folder.png ^^DIRECTORY^^
AddIcon /img/icons/text.png *txt *html *text *htm *HTM *TXT *TEXT sources.list *conf
AddIcon /img/icons/compressed.png *zip *ZIP *gz *GZ *bz2 *BZ2
AddIcon /img/icons/debian.png *deb
AddIconByType /img/icons/image.png image/* 
DefaultIcon /img/icons/unknown.png
AddDescription "Debian 'sources.list' file for apt" sources.list
AddDescription "ZIP file" *.zip
AddDescription "Gimp brush file" *.gbr

j'ai bien les repertoires common et img/icons : 

< lam > ls public_html/
common/ img/ info.php config/ emacs/ images/

j'ai bien le mode autoindex :

LoadModule autoindex_module /usr/lib/apache/1.3/mod_autoindex.so

et quand je vais sur ma page j'ai cette erreur :

[Fri   May   17   16:05:57   2002]  [alert]   [client   10.33.100.146]
/home/lam/public_html/.htaccess: HeaderName not allowed here

bon beh la je comprends pas ce que j'ai oublie :(

quelqu'un a une idee ? 

merci


-- 
Lam

Microsoft est à l'informatique ce que le grumeau est à la crépe...
Vince


-- 
To UNSUBSCRIBE, email to debian-user-french-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org



Reply to: