Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

> [Apache] Spis plików
Ka-lolek
post
Post #1





Grupa: Zarejestrowani
Postów: 104
Pomógł: 0
Dołączył: 26.01.2005

Ostrzeżenie: (0%)
-----


Witam,
jak zrobić żeby jeżeli w danym katalogu nie mam pliku index to po wejsciu do niego przez przegladarke zeby nie pojawial sie spis plikow tylko np. informacja, ze strona nie istnieje (tak jest na niektorych hostingach).
Najlepiej zeby ta informacja sie pojawiala tylko przy wchodzeniu z komputera zewnetrznego, a gdy wchodze z localhosta, tam gdzie jest zainstalowany apache to zeby normalnie pojawial sie spis plikow w danym katalogu

pozdrawiam
Go to the top of the page
+Quote Post
 
Start new topic
Odpowiedzi
Ka-lolek
post
Post #2





Grupa: Zarejestrowani
Postów: 104
Pomógł: 0
Dołączył: 26.01.2005

Ostrzeżenie: (0%)
-----


wpisalem w .htaccess
Kod
Options -Indexes
Deny form all
Allow from 127.0.0.1

jest blad:
Cytat
Internal Server Error

The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator, webmaster@localhost and inform them of the time the error occurred, and anything you might have done that may have caused the error.

More information about this error may be available in the server error log.
Go to the top of the page
+Quote Post

Posty w temacie


Reply to this topicStart new topic
2 Użytkowników czyta ten temat (2 Gości i 0 Anonimowych użytkowników)
0 Zarejestrowanych:

 



RSS Aktualny czas: 21.09.2025 - 02:54