Autor Beitrag
Bela Urlaub
ontopic starhalf ontopic starofftopic starofftopic starofftopic starofftopic starofftopic starofftopic star
Beiträge: 453

WinXP Prof/Home, Win98SE (nur auf Server)
D6 Pers
BeitragVerfasst: Fr 21.11.03 19:44 
Hi, ich hab ne frag zu APACHE 1.3.28
Und zwar, wie kann ich das machen, wenn ich einen ordner hab, der keine index-datei hat (index.html, index.htm, index.php usw...), dass dann anstatt des aufgelisteten inhalts eher der error 403 (Forbidden!) kommt.
Wie geht das??

_________________
mensch, menschen können auch probleme haben...
JoelH
ontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic starofftopic star
Beiträge: 806
Erhaltene Danke: 17

Win10
Delphi Alexandria 11.2 Patch 1
BeitragVerfasst: Fr 21.11.03 19:57 
Titel: hmm,
in meiner httpd.conf Datei findet sich folgendes =>
ausblenden Quelltext
1:
2:
3:
4:
5:
6:
7:
8:

# Disable autoindex for the root directory, and present a
# default Welcome page if no other index page is present.
#
<LocationMatch "^/$">
    Options -Indexes
    ErrorDocument 403 /error/noindex.html
</LocationMatch>

sollte das sein was du suchst !?

Oder dieser eintrag
ausblenden Quelltext
1:
2:
3:
4:
5:
6:
7:
8:
9:
#
# DirectoryIndex: sets the file that Apache will serve if a directory
# is requested.
#
# The index.html.var file (a type-map) is used to deliver content-
# negotiated documents.  The MultiViews Option can be used for the 
# same purpose, but it is much slower.
#
DirectoryIndex

_________________
mfg. Joel
Bela Urlaub Threadstarter
ontopic starhalf ontopic starofftopic starofftopic starofftopic starofftopic starofftopic starofftopic star
Beiträge: 453

WinXP Prof/Home, Win98SE (nur auf Server)
D6 Pers
BeitragVerfasst: Fr 21.11.03 20:10 
ne des sin se leida net

_________________
mensch, menschen können auch probleme haben...
Bela Urlaub Threadstarter
ontopic starhalf ontopic starofftopic starofftopic starofftopic starofftopic starofftopic starofftopic star
Beiträge: 453

WinXP Prof/Home, Win98SE (nur auf Server)
D6 Pers
BeitragVerfasst: So 23.11.03 00:33 
Muss mich korrigiern, Jetzt gehts :)
Danke

_________________
mensch, menschen können auch probleme haben...