. : http://itpm.msu.su/manual/ja/mod/mod_autoindex.html
: Sat Feb 5 01:50:17 2005
: Mon Oct 1 23:48:21 2012
: Windows-1251

:
mod_autoindex - Apache HTTP ?<b style="color:black;background-color:#ffff66"></b>???
<-
Apache > HTTP ???? > ??-????????? > ?????? 2.0 > ??????

Apache ?????? mod_autoindex

Available Languages:  en  |  ja  |  ko 

:Unix ? ls ?????? Win32 ? dir ?????????'?? ??????????????????R???
?????????:Base
???????+':autoindex_module
????????????:mod_autoindex.c

?

??????????????????????'???? ??'?R??-???:

????????'Ɯ?????????R????? (????????) ??-??????????????ʃ???????????

?'Ɯ?????????R? Options +Indexes ?'?????-?????????????????? Options ????????????????????

?? FancyIndexing??????? IndexOptions ???????????????????????? ?ƃ????????????????????? ƃ???????????????R??? ????????????????? +?ƃ???+???????????????????????? ??????ƃ???????? IndexOptions ??????????? SuppressColumnSorting ????????????????-?????

"Size" ????????????????????? ?????????????????????? ???????????????????? - ???????? "1K" ???????????????? 1010 ????????????Ƀ?? 1011 ?????????????? (??????) ??????????

??????????

?????

top

Autoindex ??????????????

Apache 2.0.23 ??? ???????????????????????R???? ??????????????????????????????? ???????????????????????? ??-?????? IndexOptions IgnoreClient ??????????

?????????????????'??? ??-??????????????????????? ?'ʃ?'??'?????????????? ??-?????????????? ??????????????????????????????????-?????

"P (??????? P)" ?????????? ?? IndexIgnore ???????????????????????? ?????????????? autoindex ??????+????????'???+? ?????????????? mod_autoindex ???????????? (?) ??? ?+????????????'????'?????? ???????????????? ????????????+??????'???

???+??????????????????????? ???????????????????? HEADER.html ????????????????-????? mod_autoindex ? X=Go ????'?? ?????????????? ??Μ? "X" ?????????'?????????

<form action="" method="get">
Show me a <select name="F">
<option value="0"> Plain list</option>
<option value="1" selected="selected"> Fancy list</option>
<option value="2"> Table list</option>
</select>
Sorted by <select name="C">
<option value="N" selected="selected"> Name</option>
<option value="M"> Date Modified</option>
<option value="S"> Size</option>
<option value="D"> Description</option>
</select>
<select name="O">
<option value="A" selected="selected"> Ascending</option>
<option value="D"> Descending</option>
</select>
<select name="V">
<option value="0" selected="selected"> in Normal order</option>
<option value="1"> in Version order</option>
</select>
Matching <input type="text" name="P" value="*" />
<input type="submit" name="X" value="Go" />
</form>

top

AddAlt ??????????

:??????????? ??????????????????????-???
??:AddAlt string file [file] ...
?????-???:??????????, ??????????, ????????, .htaccess
???-:Indexes
?????????:Base
??????:mod_autoindex

AddAlt ???FancyIndexing ??????????????????????????-??????????? file ?????????????????????'?? ????????Μ????????'?????????????????? ???'???????? string ????????Ϝ (" ?' ') ?ǜ?Ƀ????????? ???'???????????????????-?????? ???????????????? ?????????????????-??????????

AddAlt "PDF file" *.pdf
AddAlt Compressed *.gz *.zip *.Z

top

AddAltByEncoding ??????????

:??????????????????MIME ?????????? ??-???
??:AddAltByEncoding string MIME-encoding [MIME-encoding] ...
?????-???:??????????, ??????????, ????????, .htaccess
???-:Indexes
?????????:Base
??????:mod_autoindex

AddAltByEncoding ??? FancyIndexing ????????????????????????'???????? MIME-encoding ?-???????? x-compress ????? string ???????-??? (" ?' ') ?ǜ?Ƀ????????? ???'???????????????????-?????? ???????????????? ?????????????????-??????????

AddAltByEncoding gzip x-gzip

top

AddAltByType ??????????

:??????????? ???????MIME ?????????????-???
??:AddAltByType string MIME-type [MIME-type] ...
?????-???:??????????, ??????????, ????????, .htaccess
???-:Indexes
?????????:Base
??????:mod_autoindex

AddAltByType ??? FancyIndexing ????????????????????????'??????? MIME-type ?-?????????? text/html ????? string ???????-??? (" ?' ') ?ǜ?Ƀ????????? ???'???????????????????-?????? ???????????????? ?????????????????-??????????

AddAltByType 'plain text' text/plain

top

AddDescription ??????????

:??????????????
??:AddDescription string file [file] ...
?????-???:??????????, ??????????, ????????, .htaccess
???-:Indexes
?????????:Base
??????:mod_autoindex

FancyIndexing ????????????????????????????? file ???????????????????'?? ????????Μ????????'?????????????????? ???'???????? string ??Ŝ (") ?ǜ???????

AddDescription "The planet Mars" /web/pics/mars.gif

????????Μ? 23 ?????????? IndexOptions SuppressIcon ??????? 6 ??????? IndexOptions SuppressSize ??????? 7 ??????? IndexOptions SuppressLastModified ??????? 19 ???????????? ????'???????????????? 55 ????????????

?????????-?????-?????? ?????????????????????????? DescriptionWidth ???? IndexOptions ??-????????????????

?

AddDescription ???????-??????????'?????? HTML ??????????????????-????? ?????????????????+???????????? ('????????????) ???? ?Ϟ?????????????'??ʃ?+??????????

top

AddIcon ??????????

:???????????????????????
??:AddIcon icon name [name] ...
?????-???:??????????, ??????????, ????????, .htaccess
???-:Indexes
?????????:Base
??????:mod_autoindex

FancyIndexing ???????? name ???????????????????????????????? icon ???(% ?????+???????) ????????? URL ?'?????? (alttext, url) ????? ????? alttext ?????????'??????+??????????+??????-???????????

name ????????????+??? ^^DIRECTORY^^ ?'????+??? ^^BLANKICON^^ (?????????????) ?'?? ????????'?'????????'??????'??????????Μ?' ???????????????

AddIcon (IMG,/icons/image.xbm) .gif .jpg .xbm
AddIcon /icons/dir.xbm ^^DIRECTORY^^
AddIcon /icons/backup.xbm *~

???????? AddIcon ?? AddIconByType ????'???-??????

top

AddIconByEncoding ??????????

:???????????????????? MIME ??????
??:AddIconByEncoding icon MIME-encoding [MIME-encoding] ...
?????-???:??????????, ??????????, ????????, .htaccess
???-:Indexes
?????????:Base
??????:mod_autoindex

FancyIndexing ??????????????????????????????????? icon ???(% ?????+???????) ????????? URL ?'?????? (alttext, url) ????? ????? alttext ?????????'??????+??????????+??????-???????????

MIME-encoding ???????????????????? ??????'??????????

AddIconByEncoding /icons/compress.xbm x-compress

top

AddIconByType ??????????

:????????????????????? MIME ??????????
??:AddIconByType icon MIME-type [MIME-type] ...
?????-???:??????????, ??????????, ????????, .htaccess
???-:Indexes
?????????:Base
??????:mod_autoindex

FancyIndexing ??????????????????????????????????? icon ???(% ?????+???????) ????????? URL ?'?????? (alttext, url) ????? ????? alttext ?????????'??????+??????????+??????-???????????

MIME-type ?????????????????? ??????'??????????

AddIconByType (IMG,/icons/image.xbm) image/*

top

DefaultIcon ??????????

:????????????????????'? ???????????????????
??:DefaultIcon url-path
?????-???:??????????, ??????????, ????????, .htaccess
???-:Indexes
?????????:Base
??????:mod_autoindex

FancyIndexing ???????? ????????????????????????????????????????? url-path ???(% ?????+???????) ????????? URL ?????

DefaultIcon /icon/unknown.xbm

top

HeaderName ??????????

: ??????????ƃ????????????
??:HeaderName filename
?????-???:??????????, ??????????, ????????, .htaccess
???-:Indexes
?????????:Base
??????:mod_autoindex

HeaderName ????????????? ??????????ƃ??????????????????? Filename ??????????????????

HeaderName HEADER.html

HeaderName ? ReadmeName ?????????filename ??????????????????????????????? URI ???? URI ??????Ɯ??????? filename ????????'??????? DocumentRoot ?'?????????????

HeaderName /include/HEADER.html

filename ? ????????????????? "text/*" (????text/html, text/plain ?????) ???-???????? ????+??????'???????????? ?? CGI ??????????????????????? ?????????????????????????Ϝ??? text/html ?????????????????? filename ? CGI ????????'??????'??????? ?????????????:

AddType text/html .cgi

Options MultiViews ? -???????????? ???????????????? ?????????? ?? filename ? (CGI ???????????) ?? text/html ??-?????????? options Includes ?' IncludesNOEXEC ?-???????????? ????????????????????????????????? (mod_include ??-?????'?????????)??

?? HeaderName ?'??????????? HTML ??-??????''ʃ (<html>, <head>, ) ??????????? IndexOptions +SuppressHTMLPreamble ??????????????'???????????????'???????

top

IndexIgnore ??????????

:??????????????'????- ????????????
??:IndexIgnore file [file] ...
?????-???:??????????, ??????????, ????????, .htaccess
???-:Indexes
?????????:Base
??????:mod_autoindex

IndexIgnore ????????????? ?????????Μ?????'????-?????????????????? file ??? ???????????'??????'??????????????? IndexIgnore ???????????'??????????????? ????????'???????????????? . (?'???????????) ????????????

IndexIgnore README .htaccess *.bak *~

top

IndexOptions ??????????

:??????????????????????
??:IndexOptions [+|-]option [[+|-]option] ...
?????-???:??????????, ??????????, ????????, .htaccess
???-:Indexes
?????????:Base
??????:mod_autoindex

IndexOptions ?????????????????????Ɯ?'?????? option ???????'???:

DescriptionWidth=[n | *] (2.0.23 ?)
DescriptionWidth ?-?????????????'??'?????????-?????
-DescriptionWidth (????) ??? mod_autoindex ??Ń??''????????-?????
DescriptionWidth=n ???????? n ???????????
DescriptionWidth=* ??????????'?Ƀ??????????+???????
????????-??+?????? AddDescription ?'????????????????
FancyIndexing
???-????????????????????
FoldersFirst (2.0.23 ?)
??????????-????????????????????Μ? Ƀ???????????????????????????????? ??????-????? ?????????????????????????ʃ?ʃ?+????? ???????????????????????????????????? ?????????????????????????????????? FoldersFirst ?-???????????? ?????????? Zed ??????????? Beta ???????????????????? Gamma ? Alpha ????????????????????????? FancyIndexing ?-?????????-???????????????
HTMLTable (????? Apache 2.0.23 ?)
?????????????? FancyIndexing ????'????????? ??????????????????????????'???+??????????? ????????????R??'??'???????????????????? WinNT ????? utf-8 ?-?????????????????????????-???? +??????????????????Ƀ?????
IconsAreLinks
??????FancyIndexing ???????? ??????????????????????Μ???????
IconHeight[=pixels]
????????????IconWidth ????'??????????? ??????????????????????? img ???? height ? width œ-??????????????? ?????????????????????????????????????? ?????????????????????'??''?????????-????? ????????????????????+????Apache ????????????????????????????? ????????????
IconWidth[=pixels]
????????????IconHeight ????'??????????? ??????????????????????? img ???? height ? width œ-??????????????? ?????????????????????????????????????? ?????????????????????'??''?????????-????? ????????????????????+????Apache ????????????????????????????? ????????????
IgnoreCase
??????????-???????????????'?R'??'??????????????? ???????????????????????IgnoreCase ?-??????? Zeta ? alfa ??????????? (: GAMMA ??? gamma ???????)??
IgnoreClient
?????????? mod_autoindex ??? ??????????'?????????????'????????????? ?????????????????? (??? SuppressColumnSorting ??˜???????)
NameWidth=[n | *]
NameWidth ?-?????????????????????????? '??-?????
-NameWidth (????) ??? mod_autoindex ??Ń??''????????-?????
NameWidth=n ???????? n ???????????
NameWidth=* ???Ƀ??????????+???????
ScanHTMLTitles
FancyIndexing ??????? HTML ??-?????'?????????????????????????? ????????? AddDescription ???????????+???? httpd ? title ????????????-??????'?????? ???? CPU ? disk ????'?+?????
SuppressColumnSorting
??'?????????Apache ? FancyIndexing ??????????????????? ?????ƃ????????????????????????????? ??????Ɯ?????????????? ?????ƃ??????????????????????????? ??????????? Apache 2.0.23 ????????+'? ?????'?????????????????????? ???Ɯ? Apache 2.0.23 ?? IndexOptions IgnoreClient ?????????????????
SuppressDescription
???? FancyIndexing ????+???????????????? ???????????????????? ??????????'???????? 23 '??????????-????? ???????????????? AddDescription ????????????????????????????? DescriptionWidth ?????????????????????????
SuppressHTMLPreamble
??? HeaderName ???????????'?????????? ???????????????????????? HTML ??????? (<html>, <head>, ) ???? ??????????????????????????????? SuppressHTMLPreamble ????????? ???Ɯ????-??? ?????????????????????'????'?????? ?????????????????????? HTML ?????????+??????'??? ???????????????????????????????? R???????
SuppressIcon (Apache 2.0.23 ?)
???? FancyIndexing ?Μ?'???????????????? SuppressIcon ? SuppressRules ????'??????????? HTML 3.2 ?????????? ??? HTML 3.2 ?????????????? img ? hr ? pre ??????? (FancyIndexing ????'????????) ????'?????????
SuppressLastModified
FancyIndexing ????????????'???????????
SuppressRules (Apache 2.0.23 ?)
????????????????? (hr ???) ???????? SuppressIcon ? SuppressRules ????'??????????? HTML 3.2 ?????????? ??? HTML 3.2 ?????????????? img ? hr ? pre ??????? (FancyIndexing ????'????????) ????'?????????
SuppressSize
FancyIndexing ????????????????????????????
TrackModified (Apache 2.0.23 ?)
???? HTTP ?????? ???????????????????????? ETag ???????? ??????????????????????????????????? Ń? stat() ??????????-????? ??????'? UNIX ???????OS2 ? JFS ? Win32 ? NTFS ???????????????????? ????OS2 ? Win32 FAT ?????????????????'??? ??????-???????????????????-?? HEAD ??????????????????? ???????????????????-??????????? ??????'???????????????????????????? Ɯ??????????????+????? ?????????????????????????????????? ?????????? ?????????????????????????????????? ??? Unix ???????????? ??????????????????'??? ?????????????? ????????????????????????
VersionSort (Apache 2.0a3 ?)
VersionSort ?-????????????????????????? ?'????????????????????? '???????????? ??????????????ʃ'? ?????????????

:

foo-1.7
foo-1.7.2
foo-1.7.12
foo-1.8.2
foo-1.8.2a
foo-1.12

?? 0 ?'?'?????????????????

foo-1.001
foo-1.002
foo-1.030
foo-1.04

XHTML (Apache 2.0.49 ?)
XHTML ?-???????'??????mod_autoindex ? HTML 3.2 ???? XHTML 1.0 ?????????????????????
?'??-? IndexOptions

Apache 1.3.3 ???? IndexOptions ???????????Μ??????'??-????????????? ???

  • ????????????????? IndexOptions ?????????????????Ϝ????????????? ???Ξ????

    <Directory /foo> IndexOptions HTMLTable
    IndexOptions SuppressColumnsorting
    </Directory>

    ?+????????

    IndexOptions HTMLTable SuppressColumnsorting

  • ??? (???????'+' ? '-' ?ƃ?-????-??????) ????

'+' ? '-' ƃ?-??????-????????????????? ???'?? IndexOptions ? (?????R????????????+?R???) ???Ń+??????? ??'??????ƃ?-??'????-????????????????? ??+?????????????????????????? ???????????????????????:

IndexOptions +ScanHTMLTitles -IconsAreLinks FancyIndexing
IndexOptions +SuppressSize

???? IndexOptions FancyIndexing +SuppressSize ?+????? ƃ?-??'??? FancyIndexing ???????-????????????? ?????'???'??????

?? IndexOptions ??????????????????????? ??????????+ ? - ƃ?-??'????-?????????????????

top

IndexOrderDefault ??????????

: ??????????????????????+?
??:IndexOrderDefault Ascending|Descending Name|Date|Size|Description
?????:IndexOrderDefault Ascending Name
?????-???:??????????, ??????????, ????????, .htaccess
???-:Indexes
?????????:Base
??????:mod_autoindex

IndexOrderDefault ??????????? FancyIndexing ????????????????'?'?????????? ?????????FancyIndexing ??????????????????????????????? IndexOrderDefault ???????????????????-?????

IndexOrderDefault ???Μ??????????????????'???? Ascending ?' Descending ???????'????? ??Μ?? Name, Date, Size ?' Description ???????'???-????????????????????-???'?????? ???-????????????????????????

?????????????? SuppressColumnSorting ?????????????????????'??????? ???????????????????????????-????? ?????? ?????????????????????????????????????R?????

top

ReadmeName ??????????

:???????????????????????
??:ReadmeName filename
?????-???:??????????, ??????????, ????????, .htaccess
???-:Indexes
?????????:Base
??????:mod_autoindex

ReadmeName ????????????? ????????????????+???????????????????? filename ??????????????? ?????????'????????????????? filename ????????'??????? DocumentRoot ?'?????????????

ReadmeName FOOTER.html

2

ReadmeName /include/FOOTER.html

??????????Ɯ?????-?????? HeaderName ??????????

Available Languages:  en  |  ja  |  ko