index of /....?
Wanneer ik naar een bepaalde map ga op mijn eigen webserver krijg ik altijd de pagina index of / "mapnaam". Dit wil ik namelijk niet hebben kan iemand misschien mij vertellen waar ik dit kan uitzetten. ik heb ook op google gezocht maar wist niet echt met welk zoektermen moest zoeken, kreeg juist links die niet over dat gaan. op phphulp kreeg ik meer over mkdir tutorials en scripts.
alvast bedankt voor de moiete :D
P.S. Ik wist even niet waar ik dit moest posten, dus heb ik het maar hierzo gedaan.
a. Via .htaccess
Options -Indexes
b. Een index.html aan tepassen
a heeft mijn voorkeur...
dat was het helemaal vergeten, ben ook geen liefhebber van index :D
Gewijzigd op 01/01/1970 01:00:00 door williamwortel
Dat wordt bepaald in httpd.conf van Apache.
- httpd-autoindex.conf
- Required modules: mod_autoindex, mod_alias
Maar deze modules zijn niet goed uit te lezen met een text-editor, is daar een alternatief voor?
Letterlijk is mij vraag eigenlijk: waar staat de tekst "Index of/" zodat ik deze kan aanpassen
Het veranderen/wijzigen van de tekst "Index of" helpt nix, ook niet wanneer ik mijn server opnieuw start.
Hieronder staat alles wat ik uit kan lezen.
Code (php)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
MZ
$WPD$T$j
@
h(g
V<P
hf
F
*uC
l$E-AhhQL$FTUXGXRPQL$FXU4G4RPQL$F4U<G<RPQL$F<U@G@RPQL$F@U8G8RPQL$F8U0G0RPQF0UDGDL$RPQFDGt3F
j
j
D$0
D$0
D$(xPL$HT$DD$@QL$@RT$@PD$@QL$@RPQW>#j8PPuS8G;z|_^]3[F_^][D$SUVX<W|$j/sW,PP
u.;u%F'3D4FuL$QPtnT$j
P
>/u`m@n
PPP
_^]
_^]%Pu3NWVS
t$dgetword_nc@12uts@8
erindex_color.ciption,Date}escombine '-' with IconWidth=nr 'Descending'
<body
<head>
<title>Index of
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
i
77-7=7l7s77777.888888888899T9^9w9999999
:$::3;<<<<<<=7=C=n======
>H>X>f>l>>>>>>>??;?_??6X6x666666666666747Y7h777777788888R8^8p888888888999#969=9M9T9j9p9v9|99999999994:<:F:L:S:`::::::::;;O;[;x;;;;;;;;<<'<-<5<;<B<R<Y<i<p<<<<<<=
===$=*=3=l=z=====>>>>>M>U>>>>>>>>>????
11!1u1111112
2222"2(2.242:2@2F2L2R2X2^2d2j2p2v2|222222 2222222222222222
$WPD$T$j
@
h(g
V<P
hf
F
*uC
l$E-AhhQL$FTUXGXRPQL$FXU4G4RPQL$F4U<G<RPQL$F<U@G@RPQL$F@U8G8RPQL$F8U0G0RPQF0UDGDL$RPQFDGt3F
j
j
D$0
D$0
D$(xPL$HT$DD$@QL$@RT$@PD$@QL$@RPQW>#j8PPuS8G;z|_^]3[F_^][D$SUVX<W|$j/sW,PP
u.;u%F'3D4FuL$QPtnT$j
P
>/u`m@n
PPP
_^]
_^]%Pu3NWVS
t$dgetword_nc@12uts@8
erindex_color.ciption,Date}escombine '-' with IconWidth=nr 'Descending'
<body
<head>
<title>Index of
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
i
77-7=7l7s77777.888888888899T9^9w9999999
:$::3;<<<<<<=7=C=n======
>H>X>f>l>>>>>>>??;?_??6X6x666666666666747Y7h777777788888R8^8p888888888999#969=9M9T9j9p9v9|99999999994:<:F:L:S:`::::::::;;O;[;x;;;;;;;;<<'<-<5<;<B<R<Y<i<p<<<<<<=
===$=*=3=l=z=====>>>>>M>U>>>>>>>>>????
11!1u1111112
2222"2(2.242:2@2F2L2R2X2^2d2j2p2v2|222222 2222222222222222
Gewijzigd op 01/01/1970 01:00:00 door williamwortel
Code (php)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
#
# Directives controlling the display of server-generated directory listings.
#
# Required modules: mod_autoindex, mod_alias
#
# To see the listing of a directory, the Options directive for the
# directory must include "Indexes", and the directory must not contain
# a file matching those listed in the DirectoryIndex directive.
#
#
# IndexOptions: Controls the appearance of server-generated directory
# listings.
#
IndexOptions FancyIndexing VersionSort
# We include the /icons/ alias for FancyIndexed directory listings. If
# you do not use FancyIndexing, you may comment this out.
#
Alias /icons/ "C:/xampp/apache/icons/"
<Directory "C:/xampp/apache/icons">
Options Indexes MultiViews
AllowOverride None
Order allow,deny
Allow from all
</Directory>
#
# 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/back.gif ..
AddIcon /icons/hand.right.gif README
AddIcon /icons/folder.gif ^^DIRECTORY^^
AddIcon /icons/blank.gif ^^BLANKICON^^
#
# DefaultIcon is 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 is the name of the README file the server will look for by
# default, and append to directory listings.
#
# HeaderName is the name of a file which should be prepended to
# directory indexes.
ReadmeName README.html
HeaderName HEADER.html
#
# IndexIgnore is 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
# Directives controlling the display of server-generated directory listings.
#
# Required modules: mod_autoindex, mod_alias
#
# To see the listing of a directory, the Options directive for the
# directory must include "Indexes", and the directory must not contain
# a file matching those listed in the DirectoryIndex directive.
#
#
# IndexOptions: Controls the appearance of server-generated directory
# listings.
#
IndexOptions FancyIndexing VersionSort
# We include the /icons/ alias for FancyIndexed directory listings. If
# you do not use FancyIndexing, you may comment this out.
#
Alias /icons/ "C:/xampp/apache/icons/"
<Directory "C:/xampp/apache/icons">
Options Indexes MultiViews
AllowOverride None
Order allow,deny
Allow from all
</Directory>
#
# 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/back.gif ..
AddIcon /icons/hand.right.gif README
AddIcon /icons/folder.gif ^^DIRECTORY^^
AddIcon /icons/blank.gif ^^BLANKICON^^
#
# DefaultIcon is 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 is the name of the README file the server will look for by
# default, and append to directory listings.
#
# HeaderName is the name of a file which should be prepended to
# directory indexes.
ReadmeName README.html
HeaderName HEADER.html
#
# IndexIgnore is 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
Het is niet de bedoeling dat je deze bestanden aanpast.
Heb je het nu over deze optie:
Er kunnen nog meer opties voor of achter staan.
Zo ja, apache heeft een handleiding. Hier staat dit vast wel in.
De HTML voor de bestanden/mappen heb ik nog nooit aangepast, misschien dat het wel helemaal niet kan.
Op een online webserver zou ik deze optie niet gebruiken trouwens.
Gewijzigd op 01/01/1970 01:00:00 door Martijn B
Verder word er op de website van apache maar kort ingegaan over modules. Waar ik niet veel wijzer van wordt.
Oja, ik heb dit op mijn localhost staan, en niet op een online webserver hoor :)
Toch bedankt allemaal, tot zover houd ik mij er maar bij, dat je de tekst "index of" gewoon niet aan kan passen.
Yep, maak daar eens van:
Options None.
Restart Apache en kijk of dat effect heeft. Ik heb het zelf nog nooit geprobeerd, dus ik weet niet of het werkt.
index.html
index.php
??
Ik bump niet, ik heb 1 van mijn reacties netjes aangepast via de edit.gif knop.
Oja, je schrijft: Twee of meer keer achter elkaar in een topic posten heet bumpen.
Dus ik moet dat opvatten als: na 2 berichten geplaats te hebben, 24uur geen reactie geven? waarom hebben jullie dat de optie "Snel reageren" in het forum zitten?? 24uur wachten lijkt mij niet echt snel.
suc6
Je komt door het bumpen weer bovenin dat lijstje.
Daardoor trekt jou topic meer mensen aan.
Je botst (bumped) je topic omhoog in dat lijstje, en dat is niet zo netjes.
williamwortel schreef op 21.03.2008 21:55:
Als er intussen nog niemand heeft gereageerd kun je je post beter aanpassen. Heeft er wel iemand gereageerd dan post je gewoon weer opnieuw. (Staat ook wat minder opdringerig)... na 2 berichten geplaats te hebben, 24uur geen reactie geven? ...