| 1 | <IfModule alias_module> |
1 | <IfModule alias_module> |
| 2 | <IfModule autoindex_module> |
2 | <IfModule autoindex_module> |
| 3 | # Directives controlling the display of server-generated directory listings. |
3 | # Directives controlling the display of server-generated directory listings. |
| 4 | # |
4 | # |
| 5 | # To see the listing of a directory, the Options directive for the |
5 | # To see the listing of a directory, the Options directive for the |
| 6 | # directory must include "Indexes", and the directory must not contain |
6 | # directory must include "Indexes", and the directory must not contain |
| 7 | # a file matching those listed in the DirectoryIndex directive. |
7 | # a file matching those listed in the DirectoryIndex directive. |
| 8 | |
|
|
| 9 | # IndexOptions: Controls the appearance of server-generated directory |
|
|
| 10 | # listings. |
|
|
| 11 | IndexOptions FancyIndexing VersionSort |
|
|
| 12 | |
8 | |
| 13 | # We include the /icons/ alias for FancyIndexed directory listings. If |
9 | # IndexOptions: Controls the appearance of server-generated directory |
| 14 | # you do not use FancyIndexing, you may comment this out. |
10 | # listings. |
| 15 | Alias /icons/ "/var/www/localhost/icons/" |
11 | IndexOptions FancyIndexing VersionSort |
| 16 | |
12 | |
| 17 | <Directory "/var/www/localhost/icons"> |
13 | # We include the /icons/ alias for FancyIndexed directory listings. If |
| 18 | Options Indexes MultiViews |
14 | # you do not use FancyIndexing, you may comment this out. |
| 19 | AllowOverride None |
15 | Alias /icons/ "/var/www/localhost/icons/" |
| 20 | Order allow,deny |
|
|
| 21 | Allow from all |
|
|
| 22 | </Directory> |
|
|
| 23 | |
16 | |
| 24 | # AddIcon* directives tell the server which icon to show for different |
17 | <Directory "/var/www/localhost/icons"> |
| 25 | # files or filename extensions. These are only displayed for |
18 | Options Indexes MultiViews |
| 26 | # FancyIndexed directories. |
19 | AllowOverride None |
| 27 | AddIconByEncoding (CMP,/icons/compressed.gif) x-compress x-gzip |
20 | Order allow,deny |
|
|
21 | Allow from all |
|
|
22 | </Directory> |
| 28 | |
23 | |
| 29 | AddIconByType (TXT,/icons/text.gif) text/* |
24 | # AddIcon* directives tell the server which icon to show for different |
| 30 | AddIconByType (IMG,/icons/image2.gif) image/* |
25 | # files or filename extensions. These are only displayed for |
| 31 | AddIconByType (SND,/icons/sound2.gif) audio/* |
26 | # FancyIndexed directories. |
| 32 | AddIconByType (VID,/icons/movie.gif) video/* |
27 | AddIconByEncoding (CMP,/icons/compressed.gif) x-compress x-gzip |
| 33 | |
28 | |
| 34 | AddIcon /icons/binary.gif .bin .exe |
29 | AddIconByType (TXT,/icons/text.gif) text/* |
| 35 | AddIcon /icons/binhex.gif .hqx |
30 | AddIconByType (IMG,/icons/image2.gif) image/* |
| 36 | AddIcon /icons/tar.gif .tar |
31 | AddIconByType (SND,/icons/sound2.gif) audio/* |
| 37 | AddIcon /icons/world2.gif .wrl .wrl.gz .vrml .vrm .iv |
32 | AddIconByType (VID,/icons/movie.gif) video/* |
| 38 | AddIcon /icons/compressed.gif .Z .z .tgz .gz .zip |
|
|
| 39 | AddIcon /icons/a.gif .ps .ai .eps |
|
|
| 40 | AddIcon /icons/layout.gif .html .shtml .htm .pdf |
|
|
| 41 | AddIcon /icons/text.gif .txt |
|
|
| 42 | AddIcon /icons/c.gif .c |
|
|
| 43 | AddIcon /icons/p.gif .pl .py |
|
|
| 44 | AddIcon /icons/f.gif .for |
|
|
| 45 | AddIcon /icons/dvi.gif .dvi |
|
|
| 46 | AddIcon /icons/uuencoded.gif .uu |
|
|
| 47 | AddIcon /icons/script.gif .conf .sh .shar .csh .ksh .tcl |
|
|
| 48 | AddIcon /icons/tex.gif .tex |
|
|
| 49 | AddIcon /icons/bomb.gif core |
|
|
| 50 | |
33 | |
|
|
34 | AddIcon /icons/binary.gif .bin .exe |
|
|
35 | AddIcon /icons/binhex.gif .hqx |
|
|
36 | AddIcon /icons/tar.gif .tar |
|
|
37 | AddIcon /icons/world2.gif .wrl .wrl.gz .vrml .vrm .iv |
|
|
38 | AddIcon /icons/compressed.gif .Z .z .tgz .gz .zip |
|
|
39 | AddIcon /icons/a.gif .ps .ai .eps |
|
|
40 | AddIcon /icons/layout.gif .html .shtml .htm .pdf |
|
|
41 | AddIcon /icons/text.gif .txt |
| 51 | AddIcon /icons/back.gif .. |
42 | AddIcon /icons/c.gif .c |
| 52 | AddIcon /icons/hand.right.gif README |
43 | AddIcon /icons/p.gif .pl .py |
| 53 | AddIcon /icons/folder.gif ^^DIRECTORY^^ |
44 | AddIcon /icons/f.gif .for |
| 54 | AddIcon /icons/blank.gif ^^BLANKICON^^ |
45 | AddIcon /icons/dvi.gif .dvi |
|
|
46 | AddIcon /icons/uuencoded.gif .uu |
|
|
47 | AddIcon /icons/script.gif .conf .sh .shar .csh .ksh .tcl |
|
|
48 | AddIcon /icons/tex.gif .tex |
|
|
49 | AddIcon /icons/bomb.gif core |
| 55 | |
50 | |
| 56 | # DefaultIcon is which icon to show for files which do not have an icon |
51 | AddIcon /icons/back.gif .. |
| 57 | # explicitly set. |
52 | AddIcon /icons/hand.right.gif README |
| 58 | DefaultIcon /icons/unknown.gif |
53 | AddIcon /icons/folder.gif ^^DIRECTORY^^ |
|
|
54 | AddIcon /icons/blank.gif ^^BLANKICON^^ |
| 59 | |
55 | |
| 60 | # AddDescription allows you to place a short description after a file in |
56 | # DefaultIcon is which icon to show for files which do not have an icon |
| 61 | # server-generated indexes. These are only displayed for FancyIndexed |
57 | # explicitly set. |
| 62 | # directories. |
58 | DefaultIcon /icons/unknown.gif |
| 63 | # Format: AddDescription "description" filename |
|
|
| 64 | |
|
|
| 65 | #AddDescription "GZIP compressed document" .gz |
|
|
| 66 | #AddDescription "tar archive" .tar |
|
|
| 67 | #AddDescription "GZIP compressed tar archive" .tgz |
|
|
| 68 | |
|
|
| 69 | # ReadmeName is the name of the README file the server will look for by |
|
|
| 70 | # default, and append to directory listings. |
|
|
| 71 | |
|
|
| 72 | # HeaderName is the name of a file which should be prepended to |
|
|
| 73 | # directory indexes. |
|
|
| 74 | ReadmeName README.html |
|
|
| 75 | HeaderName HEADER.html |
|
|
| 76 | |
59 | |
|
|
60 | # AddDescription allows you to place a short description after a file in |
|
|
61 | # server-generated indexes. These are only displayed for FancyIndexed |
|
|
62 | # directories. |
|
|
63 | # Format: AddDescription "description" filename |
|
|
64 | |
|
|
65 | #AddDescription "GZIP compressed document" .gz |
|
|
66 | #AddDescription "tar archive" .tar |
|
|
67 | #AddDescription "GZIP compressed tar archive" .tgz |
|
|
68 | |
|
|
69 | # ReadmeName is the name of the README file the server will look for by |
|
|
70 | # default, and append to directory listings. |
|
|
71 | |
|
|
72 | # HeaderName is the name of a file which should be prepended to |
|
|
73 | # directory indexes. |
|
|
74 | ReadmeName README.html |
|
|
75 | HeaderName HEADER.html |
|
|
76 | |
| 77 | # IndexIgnore is a set of filenames which directory indexing should ignore |
77 | # IndexIgnore is a set of filenames which directory indexing should ignore |
| 78 | # and not include in the listing. Shell-style wildcarding is permitted. |
78 | # and not include in the listing. Shell-style wildcarding is permitted. |
| 79 | IndexIgnore .??* *~ *# HEADER* README* RCS CVS *,v *,t |
79 | IndexIgnore .??* *~ *# HEADER* README* RCS CVS *,v *,t |
| 80 | </IfModule> |
80 | </IfModule> |
| 81 | </IfModule> |
81 | </IfModule> |
| 82 | |
82 | |
| 83 | # vim: ts=4 filetype=apache |
83 | # vim: ts=4 filetype=apache |