Navigacija
Lista poslednjih: 16, 32, 64, 128 poruka.

apache problem

[es] :: Linux mreže :: apache problem

[ Pregleda: 2470 | Odgovora: 2 ] > FB > Twit

Postavi temu Odgovori

Autor

Pretraga teme: Traži
Markiranje Štampanje RSS

Spunki
Maribor

Član broj: 11401
Poruke: 26
*.rolan.si

Sajt: www.Diskoteka-Masai.com


Profil

icon apache problem29.07.2003. u 10:15 - pre 252 meseci
imam redhat 9.0 i zanima me kako da izkljucim directory browsing da ne moze niko da vidi sta je u direktoriju nekom.... ako moze ko da pomogne...
Ej mala gjde si bila trazio sam te svud, trazio te, necu vise necu nisam lud!! Orilo gorilo imao ne imao bilo te ne bilo nisam propao!!!!!
 
Odgovor na temu

Jbyn4e

Član broj: 422
Poruke: 6049
195.250.117.*



+257 Profil

icon Re: apache problem29.07.2003. u 17:31 - pre 252 meseci
Treba malo citati uputstva ili pogledati sajt proizvodjaca... (nece da zove, vidim ja)

Evo iz komentara httpd.conf:
# 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

Znaci, ako stavis * trebalo bi da ti ne napise nista.

Drugo, sa sajta proizvodjaca (www.apache.org) imas, sa adrese:
http://httpd.apache.org/docs/misc/FAQ.html
Citat:

How do I turn automatic directory listings on or off?

If a client requests a URL that designates a directory and the directory does not contain a filename that matches the DirectoryIndex directive, then mod_autoindex can be configured to present a listing of the directory contents.


To turn on automatic directory indexing, find the Options directive that applies to the directory and add the Indexes keyword. For example:

<Directory /path/to/directory>
Options +Indexes
</Directory>

To turn off automatic directory indexing, remove the Indexes keyword from the appropriate Options line. To turn off directory listing for a particular subdirectory, you can use Options -Indexes. For example:

<Directory /path/to/directory>
Options -Indexes
</Directory>


Treci (jednostavniji) nacin - stavis recimo prazan index.html u taj direktorijum koji neces da se vidi sta ima u njemu.


Kad sve ostalo zakaže, pročitaj uputstvo...
 
Odgovor na temu

Spunki
Maribor

Član broj: 11401
Poruke: 26
*.rolan.si

Sajt: www.Diskoteka-Masai.com


Profil

icon Re: apache problem30.07.2003. u 09:27 - pre 252 meseci
Bas sam vec juce to sredio sa ovim
To turn off automatic directory indexing, remove the Indexes keyword from the appropriate Options line. To turn off directory listing for a particular subdirectory, you can use Options -Indexes. For example:

<Directory /path/to/directory>
Options -Indexes
</Directory>

hehhehe tako da svejedno hvala na pomoci ako se nebi snaso pomoglo bi mi...
Ej mala gjde si bila trazio sam te svud, trazio te, necu vise necu nisam lud!! Orilo gorilo imao ne imao bilo te ne bilo nisam propao!!!!!
 
Odgovor na temu

[es] :: Linux mreže :: apache problem

[ Pregleda: 2470 | Odgovora: 2 ] > FB > Twit

Postavi temu Odgovori

Navigacija
Lista poslednjih: 16, 32, 64, 128 poruka.