Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

> open_basedir, wyjątki
Apo
post
Post #1





Grupa: Zarejestrowani
Postów: 426
Pomógł: 1
Dołączył: 2.10.2005

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


Witam
Mam zainstalowanego apache 2 na windows xp. Ostatnio ustawiłem open_basedir w pliku php.ini:
open_basedir = "G:/WebServ/httpd-users"

No i mam pytanie czy można wprowadzić wyjątek że będzie dostęp do folderu np:
G:\WebServ\apache2\error

No i druga sprawa jest taka że w open_basedir ustawiłem dostęp do folderów G:/WebServ/httpd-users wszystkim użytkownikom: localhost/~maciek, localhost/~kreciu itd, no i głównej stronie localhost/ no i czy można odblokować dostęp to plików poniżej dla samej strony localhost/, a pozostawić zablokowane dla innych ?

Pozdrawiam
Go to the top of the page
+Quote Post
 
Start new topic
Odpowiedzi
FiDO
post
Post #2





Grupa: Przyjaciele php.pl
Postów: 1 717
Pomógł: 0
Dołączył: 12.06.2002
Skąd: Wolsztyn..... Studia: Zielona Góra

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


Cytat(manual)
Under Windows, separate the directories with a semicolon. On all other systems, separate the directories with a colon. As an Apache module, open_basedir paths from parent directories are now automatically inherited.
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: 27.12.2025 - 15:22