index of /....?

Overzicht Reageren

Sponsored by: Vacatures door Monsterboard

Hakkatjai

Hakkatjai

04/07/2006 11:45:00
Quote Anchor link
Beste php-ers,

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.
 
PHP hulp

PHP hulp

29/04/2024 10:50:50
 
Eris -

Eris -

04/07/2006 11:50:00
Quote Anchor link
2 opties

a. Via .htaccess
Options -Indexes
b. Een index.html aan tepassen

a heeft mijn voorkeur...
 
Hakkatjai

Hakkatjai

04/07/2006 11:59:00
Quote Anchor link
thank you,

dat was het helemaal vergeten, ben ook geen liefhebber van index :D
 
Williamwortel

williamwortel

21/03/2008 20:12:00
Quote Anchor link
weet iemand waar het het bestand kan vinden dat de standaard "index of" aanmaakt voor mijn webserver?? of hoe het bestand staat dat deze standaard aanmaakt?? staat het ergens in de php map?? ben al druk aan het zoeken
Gewijzigd op 01/01/1970 01:00:00 door williamwortel
 
- SanThe -

- SanThe -

21/03/2008 21:02:00
Quote Anchor link
Dat wordt bepaald in httpd.conf van Apache.
 
Williamwortel

williamwortel

21/03/2008 21:28:00
Quote Anchor link
oke, uit mijn httpd.conf bestand haal ik zo ongeveer de volgende info:
- 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
 
Williamwortel

williamwortel

21/03/2008 21:30:00
Quote Anchor link
Mijn server gebruikt de module (apache/modules/mod_auto) index_color.so

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)
PHP script in nieuw venster Selecteer het PHP script
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
MZ
$WPD$T$ j








@



 





h(g
V<P
hf
F
*u C
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>>>>>>>??;?_??6X6x666666666666747Y7h77777778 8888R8^8p888888888 999#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
 
Williamwortel

williamwortel

21/03/2008 21:34:00
Quote Anchor link
En httpd-autoindex.conf heeft de volgende code, die ik wel snap, maar waar ik niet veel aanheb. Je ziet wel duidelijk wat de code doet.

Code (php)
PHP script in nieuw venster Selecteer het PHP script
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
#
# 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
 
- SanThe -

- SanThe -

21/03/2008 21:36:00
Quote Anchor link
Staat dat niet gewoon achter Options?

Edit: Niet Bumpen.
Bumpen::
Twee of meer keer achter elkaar in een topic posten heet bumpen. Bumpen is pas na 24 uur toegestaan en kan een reden zijn voor de admins en moderators om een topic te sluiten. Gebruik indien nodig de Afbeelding knop om je tekst aan te passen.

SanThe.
Gewijzigd op 01/01/1970 01:00:00 door - SanThe -
 
Martijn B

Martijn B

21/03/2008 21:43:00
Quote Anchor link
Een .so bestand is een binair bestand net al b.v. een .exe bestand.
Het is niet de bedoeling dat je deze bestanden aanpast.

Heb je het nu over deze optie:
Code (php)
PHP script in nieuw venster Selecteer het PHP script
1
Options Indexes


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
 
Williamwortel

williamwortel

21/03/2008 21:48:00
Quote Anchor link
Dat een .so een binair bestand is, verklaard misschien waarom deze zo lastig te openen is, met een text-editor.


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.
 
- SanThe -

- SanThe -

21/03/2008 21:50:00
Quote Anchor link
Martijn! schreef op 21.03.2008 21:43:
Heb je het nu over deze optie:
Code (php)
PHP script in nieuw venster Selecteer het PHP script
1
Options Indexes

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.
 
Martijn B

Martijn B

21/03/2008 21:50:00
Quote Anchor link
Je kunt natuurlijk ook zelf een index maken?

index.html
index.php

??
 
Williamwortel

williamwortel

21/03/2008 21:55:00
Quote Anchor link
Oja, nog een vraagje aan SanThe(moderator) over het "bumpen" .....
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
 
Martijn B

Martijn B

21/03/2008 22:03:00
Quote Anchor link
Bumpen heeft te maken met de "Laatste forum berichten" (links).
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.
 
- SanThe -

- SanThe -

21/03/2008 22:15:00
Quote Anchor link
williamwortel schreef op 21.03.2008 21:55:
... na 2 berichten geplaats te hebben, 24uur geen reactie geven? ...
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)
 



Overzicht Reageren

 
 

Om de gebruiksvriendelijkheid van onze website en diensten te optimaliseren maken wij gebruik van cookies. Deze cookies gebruiken wij voor functionaliteiten, analytische gegevens en marketing doeleinden. U vindt meer informatie in onze privacy statement.