![]() |
![]() |
![]()
Post
#1
|
|
Grupa: Zarejestrowani Postów: 297 Pomógł: 0 Dołączył: 17.01.2003 Skąd: Tarnów Ostrzeżenie: (0%) ![]() ![]() |
Mam problema chciałbym zbanować 1 ip w .htdosc i jak dodam
deny form IP to sam nie wejde na server (IMG:http://forum.php.pl/style_emoticons/default/sad.gif) Próbowałem też w access w conf apacha dodac pod <Directory "C:/Apache/htdocs"> Options Indexes FollowSymLinks Includes ExecCGI AllowOverride All order allow,deny allow from all deny form IP </Directory> o nie trybi jakiś błąd syntex jak to można zrobić zeby zbanować tylko 1 ip a reszta zeby mogła wchodzić na server (IMG:http://forum.php.pl/style_emoticons/default/questionmark.gif) Z góry dzięki |
|
|
![]() |
![]()
Post
#2
|
|
Grupa: Zarejestrowani Postów: 297 Pomógł: 0 Dołączył: 17.01.2003 Skąd: Tarnów Ostrzeżenie: (0%) ![]() ![]() |
hmm zrobiłem tak jak mówiliście wywaliłem wszystko z srm i access i w httpd w zrobiłem coś takiego:
<Directory "C:/Apache/htdocs"> # # This may also be "None", "All", or any combination of "Indexes", # "Includes", "FollowSymLinks", "ExecCGI", or "MultiViews". # # Note that "MultiViews" must be named *explicitly* --- "Options All" # doesn't give it to you. # Options Indexes FollowSymLinks MultiViews # # This controls which options the .htaccess files in directories can # override. Can also be "All", or any combination of "Options", "FileInfo", # "AuthConfig", and "Limit" # AllowOverride All # # Controls who can get stuff from this server. # Order allow,deny allow from all deny from IP1 IP2 IP3 </Directory> hmm i daj być coś nie tak bo mnie wpuszcza a jestem dodany do deny |
|
|
![]() ![]() |
![]() |
Aktualny czas: 6.10.2025 - 05:53 |