Здравствуйте! у меня возникла следующая проблема! Я пользую rejik под windows 2000 мне понадобилось создать группу под work_ip. Прописал в конфигурационном файле все по идее должно работать, ниже пример:
<LIMIT>
ban_dir c:/redir3/banlists/limit
url http://213.130.22.112:8080/www/
work_ip f:/c:/redir3/banlists/limit/users.limit
Но не ту то было в work_ip есть такое правило для того, что бы прочитать из файла надо указать f:/ но в windows это опция воспринимается как имя диска и не чего из за этого не работает.
Подскажите что делать?
Заранее благодарен!
biglz@aonord.donetsk.ua
work_ip windows 2000 опция f:/ не верно работает
<LIMIT>
ban_dir c:/redir3/banlists/limit
url http://213.130.22.112:8080/www/
work_ip f:/c:/redir3/banlists/limit/users.limit
Вот что пишется в логах. файл существует и доступ ему дан для всех.
2005-06-07 17:10:03 [2636] ERROR: Can't open file /c:/redir3/banlists/limit/users.limit: No such file or directory
2005-06-07 17:10:03 [2472] ERROR: Can't open file /c:/redir3/banlists/limit/users.limit: No such file or directory
2005-06-07 17:10:03 [2580] ERROR: Can't open file /c:/redir3/banlists/limit/users.limit: No such file or directory
2005-06-07 17:10:03 [2496] ERROR: Can't open file /c:/redir3/banlists/limit/users.limit: No such file or directory
2005-06-07 17:10:03 [2560] ERROR: Can't open file /c:/redir3/banlists/limit/users.limit: No such file or directory
ban_dir c:/redir3/banlists/limit
url http://213.130.22.112:8080/www/
work_ip f:/c:/redir3/banlists/limit/users.limit
Вот что пишется в логах. файл существует и доступ ему дан для всех.
2005-06-07 17:10:03 [2636] ERROR: Can't open file /c:/redir3/banlists/limit/users.limit: No such file or directory
2005-06-07 17:10:03 [2472] ERROR: Can't open file /c:/redir3/banlists/limit/users.limit: No such file or directory
2005-06-07 17:10:03 [2580] ERROR: Can't open file /c:/redir3/banlists/limit/users.limit: No such file or directory
2005-06-07 17:10:03 [2496] ERROR: Can't open file /c:/redir3/banlists/limit/users.limit: No such file or directory
2005-06-07 17:10:03 [2560] ERROR: Can't open file /c:/redir3/banlists/limit/users.limit: No such file or directory
Все равно не работает
Вот что оно записало в лог после того как я подправил конфиг. Там не видно что бы оно прошло файл users.limit и те Ip которые указаны в файле работают без проблем.
хоть ошибке не выдает
2005-06-08 08:00:22 [2644] Run make-cache
2005-06-08 08:00:22 [2388] Waiting for make-cache finished
2005-06-08 08:00:22 [2644] Make-cache finished
2005-06-08 08:00:22 [2388] Make-cache finished detected, continue
2005-06-08 08:00:22 [2388] Load 659 rules from c:/redir3/banlists/banners/urls.cache
2005-06-08 08:00:22 [2388] Load 9 pattern from BANNER pcre
2005-06-08 08:00:22 [2644] Load 659 rules from c:/redir3/banlists/banners/urls.cache
2005-06-08 08:00:22 [2388] Load 3 rules from c:/redir3/banlists/media/urls.cache
2005-06-08 08:00:22 [2388] Load 1 pattern from MEDIA pcre
2005-06-08 08:00:22 [2388] Load 11 rules from c:/redir3/banlists/porno/urls.cache
2005-06-08 08:00:22 [2388] Load 3 pattern from PORNO pcre
2005-06-08 08:00:22 [2644] Load 9 pattern from BANNER pcre
2005-06-08 08:00:22 [2388] Load 0 rules from c:/redir3/banlists/mp3/urls.cache
2005-06-08 08:00:22 [2388] Load 16 pattern from MP3 pcre
2005-06-08 08:00:22 [2388] Load 1 rules from c:/redir3/banlists/avp/urls.cache
2005-06-08 08:00:22 [2388] Load 0 pattern from AVP pcre
2005-06-08 08:00:22 [2388] Load 1 rules from c:/redir3/banlists/raz/urls.cache
2005-06-08 08:00:22 [2388] Load 0 pattern from RAZ pcre
2005-06-08 08:00:22 [2388] Load 2 rules from c:/redir3/banlists/limit/urls.cache
2005-06-08 08:00:22 [2644] Load 3 rules from c:/redir3/banlists/media/urls.cache
2005-06-08 08:00:22 [2644] Load 1 pattern from MEDIA pcre
2005-06-08 08:00:22 [2644] Load 11 rules from c:/redir3/banlists/porno/urls.cache
2005-06-08 08:00:22 [2644] Load 3 pattern from PORNO pcre
2005-06-08 08:00:22 [2388] Load 0 pattern from LIMIT pcre
2005-06-08 08:00:22 [2388] Redirector start and working
2005-06-08 08:00:22 [2644] Load 0 rules from c:/redir3/banlists/mp3/urls.cache
2005-06-08 08:00:22 [2644] Load 16 pattern from MP3 pcre
2005-06-08 08:00:22 [2644] Load 1 rules from c:/redir3/banlists/avp/urls.cache
2005-06-08 08:00:22 [2644] Load 0 pattern from AVP pcre
2005-06-08 08:00:22 [2644] Load 1 rules from c:/redir3/banlists/raz/urls.cache
2005-06-08 08:00:22 [2696] Run make-cache
2005-06-08 08:00:22 [2596] Waiting for make-cache finished
2005-06-08 08:00:22 [2644] Load 0 pattern from RAZ pcre
2005-06-08 08:00:22 [2644] Load 2 rules from c:/redir3/banlists/limit/urls.cache
2005-06-08 08:00:22 [2644] Load 0 pattern from LIMIT pcre
2005-06-08 08:00:22 [2644] Redirector start and working
2005-06-08 08:00:23 [2892] Waiting for make-cache finished
2005-06-08 08:00:23 [2696] Make-cache finished
2005-06-08 08:00:23 [2696] Load 659 rules from c:/redir3/banlists/banners/urls.cache
2005-06-08 08:00:23 [2596] Make-cache finished detected, continue
2005-06-08 08:00:23 [2892] Make-cache finished detected, continue
2005-06-08 08:00:23 [2696] Load 9 pattern from BANNER pcre
2005-06-08 08:00:23 [2892] Load 659 rules from c:/redir3/banlists/banners/urls.cache
2005-06-08 08:00:23 [2596] Load 659 rules from c:/redir3/banlists/banners/urls.cache
2005-06-08 08:00:23 [2892] Load 9 pattern from BANNER pcre
2005-06-08 08:00:23 [2596] Load 9 pattern from BANNER pcre
2005-06-08 08:00:23 [2892] Load 3 rules from c:/redir3/banlists/media/urls.cache
2005-06-08 08:00:23 [2596] Load 3 rules from c:/redir3/banlists/media/urls.cache
2005-06-08 08:00:23 [2892] Load 1 pattern from MEDIA pcre
2005-06-08 08:00:23 [2892] Load 11 rules from c:/redir3/banlists/porno/urls.cache
2005-06-08 08:00:23 [2892] Load 3 pattern from PORNO pcre
2005-06-08 08:00:23 [2696] Load 3 rules from c:/redir3/banlists/media/urls.cache
2005-06-08 08:00:23 [2892] Load 0 rules from c:/redir3/banlists/mp3/urls.cache
2005-06-08 08:00:23 [2696] Load 1 pattern from MEDIA pcre
2005-06-08 08:00:23 [2696] Load 11 rules from c:/redir3/banlists/porno/urls.cache
2005-06-08 08:00:23 [2696] Load 3 pattern from PORNO pcre
2005-06-08 08:00:23 [2696] Load 0 rules from c:/redir3/banlists/mp3/urls.cache
2005-06-08 08:00:23 [2596] Load 1 pattern from MEDIA pcre
2005-06-08 08:00:23 [2892] Load 16 pattern from MP3 pcre
2005-06-08 08:00:23 [2696] Load 16 pattern from MP3 pcre
2005-06-08 08:00:23 [2696] Load 1 rules from c:/redir3/banlists/avp/urls.cache
2005-06-08 08:00:23 [2696] Load 0 pattern from AVP pcre
2005-06-08 08:00:23 [2696] Load 1 rules from c:/redir3/banlists/raz/urls.cache
2005-06-08 08:00:23 [2596] Load 11 rules from c:/redir3/banlists/porno/urls.cache
2005-06-08 08:00:23 [2696] Load 0 pattern from RAZ pcre
2005-06-08 08:00:23 [2696] Load 2 rules from c:/redir3/banlists/limit/urls.cache
2005-06-08 08:00:23 [2892] Load 1 rules from c:/redir3/banlists/avp/urls.cache
2005-06-08 08:00:23 [2892] Load 0 pattern from AVP pcre
2005-06-08 08:00:23 [2596] Load 3 pattern from PORNO pcre
2005-06-08 08:00:23 [2596] Load 0 rules from c:/redir3/banlists/mp3/urls.cache
2005-06-08 08:00:23 [2596] Load 16 pattern from MP3 pcre
2005-06-08 08:00:23 [2596] Load 1 rules from c:/redir3/banlists/avp/urls.cache
2005-06-08 08:00:23 [2596] Load 0 pattern from AVP pcre
2005-06-08 08:00:23 [2696] Load 0 pattern from LIMIT pcre
2005-06-08 08:00:23 [2596] Load 1 rules from c:/redir3/banlists/raz/urls.cache
2005-06-08 08:00:23 [2696] Redirector start and working
2005-06-08 08:00:23 [2892] Load 1 rules from c:/redir3/banlists/raz/urls.cache
2005-06-08 08:00:23 [2892] Load 0 pattern from RAZ pcre
2005-06-08 08:00:23 [2892] Load 2 rules from c:/redir3/banlists/limit/urls.cache
2005-06-08 08:00:23 [2892] Load 0 pattern from LIMIT pcre
2005-06-08 08:00:23 [2596] Load 0 pattern from RAZ pcre
2005-06-08 08:00:23 [2596] Load 2 rules from c:/redir3/banlists/limit/urls.cache
2005-06-08 08:00:23 [2892] Redirector start and working
2005-06-08 08:00:23 [2596] Load 0 pattern from LIMIT pcre
2005-06-08 08:00:23 [2596] Redirector start and working
хоть ошибке не выдает
2005-06-08 08:00:22 [2644] Run make-cache
2005-06-08 08:00:22 [2388] Waiting for make-cache finished
2005-06-08 08:00:22 [2644] Make-cache finished
2005-06-08 08:00:22 [2388] Make-cache finished detected, continue
2005-06-08 08:00:22 [2388] Load 659 rules from c:/redir3/banlists/banners/urls.cache
2005-06-08 08:00:22 [2388] Load 9 pattern from BANNER pcre
2005-06-08 08:00:22 [2644] Load 659 rules from c:/redir3/banlists/banners/urls.cache
2005-06-08 08:00:22 [2388] Load 3 rules from c:/redir3/banlists/media/urls.cache
2005-06-08 08:00:22 [2388] Load 1 pattern from MEDIA pcre
2005-06-08 08:00:22 [2388] Load 11 rules from c:/redir3/banlists/porno/urls.cache
2005-06-08 08:00:22 [2388] Load 3 pattern from PORNO pcre
2005-06-08 08:00:22 [2644] Load 9 pattern from BANNER pcre
2005-06-08 08:00:22 [2388] Load 0 rules from c:/redir3/banlists/mp3/urls.cache
2005-06-08 08:00:22 [2388] Load 16 pattern from MP3 pcre
2005-06-08 08:00:22 [2388] Load 1 rules from c:/redir3/banlists/avp/urls.cache
2005-06-08 08:00:22 [2388] Load 0 pattern from AVP pcre
2005-06-08 08:00:22 [2388] Load 1 rules from c:/redir3/banlists/raz/urls.cache
2005-06-08 08:00:22 [2388] Load 0 pattern from RAZ pcre
2005-06-08 08:00:22 [2388] Load 2 rules from c:/redir3/banlists/limit/urls.cache
2005-06-08 08:00:22 [2644] Load 3 rules from c:/redir3/banlists/media/urls.cache
2005-06-08 08:00:22 [2644] Load 1 pattern from MEDIA pcre
2005-06-08 08:00:22 [2644] Load 11 rules from c:/redir3/banlists/porno/urls.cache
2005-06-08 08:00:22 [2644] Load 3 pattern from PORNO pcre
2005-06-08 08:00:22 [2388] Load 0 pattern from LIMIT pcre
2005-06-08 08:00:22 [2388] Redirector start and working
2005-06-08 08:00:22 [2644] Load 0 rules from c:/redir3/banlists/mp3/urls.cache
2005-06-08 08:00:22 [2644] Load 16 pattern from MP3 pcre
2005-06-08 08:00:22 [2644] Load 1 rules from c:/redir3/banlists/avp/urls.cache
2005-06-08 08:00:22 [2644] Load 0 pattern from AVP pcre
2005-06-08 08:00:22 [2644] Load 1 rules from c:/redir3/banlists/raz/urls.cache
2005-06-08 08:00:22 [2696] Run make-cache
2005-06-08 08:00:22 [2596] Waiting for make-cache finished
2005-06-08 08:00:22 [2644] Load 0 pattern from RAZ pcre
2005-06-08 08:00:22 [2644] Load 2 rules from c:/redir3/banlists/limit/urls.cache
2005-06-08 08:00:22 [2644] Load 0 pattern from LIMIT pcre
2005-06-08 08:00:22 [2644] Redirector start and working
2005-06-08 08:00:23 [2892] Waiting for make-cache finished
2005-06-08 08:00:23 [2696] Make-cache finished
2005-06-08 08:00:23 [2696] Load 659 rules from c:/redir3/banlists/banners/urls.cache
2005-06-08 08:00:23 [2596] Make-cache finished detected, continue
2005-06-08 08:00:23 [2892] Make-cache finished detected, continue
2005-06-08 08:00:23 [2696] Load 9 pattern from BANNER pcre
2005-06-08 08:00:23 [2892] Load 659 rules from c:/redir3/banlists/banners/urls.cache
2005-06-08 08:00:23 [2596] Load 659 rules from c:/redir3/banlists/banners/urls.cache
2005-06-08 08:00:23 [2892] Load 9 pattern from BANNER pcre
2005-06-08 08:00:23 [2596] Load 9 pattern from BANNER pcre
2005-06-08 08:00:23 [2892] Load 3 rules from c:/redir3/banlists/media/urls.cache
2005-06-08 08:00:23 [2596] Load 3 rules from c:/redir3/banlists/media/urls.cache
2005-06-08 08:00:23 [2892] Load 1 pattern from MEDIA pcre
2005-06-08 08:00:23 [2892] Load 11 rules from c:/redir3/banlists/porno/urls.cache
2005-06-08 08:00:23 [2892] Load 3 pattern from PORNO pcre
2005-06-08 08:00:23 [2696] Load 3 rules from c:/redir3/banlists/media/urls.cache
2005-06-08 08:00:23 [2892] Load 0 rules from c:/redir3/banlists/mp3/urls.cache
2005-06-08 08:00:23 [2696] Load 1 pattern from MEDIA pcre
2005-06-08 08:00:23 [2696] Load 11 rules from c:/redir3/banlists/porno/urls.cache
2005-06-08 08:00:23 [2696] Load 3 pattern from PORNO pcre
2005-06-08 08:00:23 [2696] Load 0 rules from c:/redir3/banlists/mp3/urls.cache
2005-06-08 08:00:23 [2596] Load 1 pattern from MEDIA pcre
2005-06-08 08:00:23 [2892] Load 16 pattern from MP3 pcre
2005-06-08 08:00:23 [2696] Load 16 pattern from MP3 pcre
2005-06-08 08:00:23 [2696] Load 1 rules from c:/redir3/banlists/avp/urls.cache
2005-06-08 08:00:23 [2696] Load 0 pattern from AVP pcre
2005-06-08 08:00:23 [2696] Load 1 rules from c:/redir3/banlists/raz/urls.cache
2005-06-08 08:00:23 [2596] Load 11 rules from c:/redir3/banlists/porno/urls.cache
2005-06-08 08:00:23 [2696] Load 0 pattern from RAZ pcre
2005-06-08 08:00:23 [2696] Load 2 rules from c:/redir3/banlists/limit/urls.cache
2005-06-08 08:00:23 [2892] Load 1 rules from c:/redir3/banlists/avp/urls.cache
2005-06-08 08:00:23 [2892] Load 0 pattern from AVP pcre
2005-06-08 08:00:23 [2596] Load 3 pattern from PORNO pcre
2005-06-08 08:00:23 [2596] Load 0 rules from c:/redir3/banlists/mp3/urls.cache
2005-06-08 08:00:23 [2596] Load 16 pattern from MP3 pcre
2005-06-08 08:00:23 [2596] Load 1 rules from c:/redir3/banlists/avp/urls.cache
2005-06-08 08:00:23 [2596] Load 0 pattern from AVP pcre
2005-06-08 08:00:23 [2696] Load 0 pattern from LIMIT pcre
2005-06-08 08:00:23 [2596] Load 1 rules from c:/redir3/banlists/raz/urls.cache
2005-06-08 08:00:23 [2696] Redirector start and working
2005-06-08 08:00:23 [2892] Load 1 rules from c:/redir3/banlists/raz/urls.cache
2005-06-08 08:00:23 [2892] Load 0 pattern from RAZ pcre
2005-06-08 08:00:23 [2892] Load 2 rules from c:/redir3/banlists/limit/urls.cache
2005-06-08 08:00:23 [2892] Load 0 pattern from LIMIT pcre
2005-06-08 08:00:23 [2596] Load 0 pattern from RAZ pcre
2005-06-08 08:00:23 [2596] Load 2 rules from c:/redir3/banlists/limit/urls.cache
2005-06-08 08:00:23 [2892] Redirector start and working
2005-06-08 08:00:23 [2596] Load 0 pattern from LIMIT pcre
2005-06-08 08:00:23 [2596] Redirector start and working
Все заработало
<LIMIT>
work_ip f:c:/redir3/banlists/limit/users.limit
ban_dir c:/redir3/banlists/limit
url http://213.130.22.112:8080/www/
reverse
В общем все заработало! Вот только понять не могу почему видь только строки местами поменялись и слешь убрал
work_ip f:c:/redir3/banlists/limit/users.limit
ban_dir c:/redir3/banlists/limit
url http://213.130.22.112:8080/www/
reverse
В общем все заработало! Вот только понять не могу почему видь только строки местами поменялись и слешь убрал
Re: Все заработало
А reverse было в неработающем варианте?biglz писал(а):<LIMIT>
work_ip f:c:/redir3/banlists/limit/users.limit
ban_dir c:/redir3/banlists/limit
url http://213.130.22.112:8080/www/
reverse
В общем все заработало! Вот только понять не могу почему видь только строки местами поменялись и слешь убрал
PS: слеш в никсах все равно, что c:/ в винах
Большое спасибо!
Reverse я ставил и убирал в нерабочем!
Главное что все заработало! Большое спасибо! За помощь!
Главное что все заработало! Большое спасибо! За помощь!