Новости | Документация | Download | Webboard | FAQ | Поиск | Контакты

Apache.RU - Webboard



Вернуться
Не срабатывает проверка на существование файл (Дмитрий) 10/01 - 11:52:29
      Re: Не срабатывает проверка на существование файл ( Дмитрий ) 10/01 - 12:12:33

> Original message text:
> From: > Дмитрий - 10/01 - 11:52:29
> Subject:Не срабатывает проверка на существование файл
> -----------------
> Файл всегда выходит недоступен
>
> <IfModule mod_rewrite.c>
> RewriteEngine on
> RewriteBase /
> RewriteCond %{REQUEST_URI} ^/mcskins
> RewriteCond D:/Servers/Apache/Apache7/htdocs/mcskins/%{REQUEST_FILENAME} !-F
> RewriteRule ^.*/(.*)\.png$ http://s3.amazonaws.com/MinecraftSkins/$1.png [L,QSA]
> </IfModule>
>
> rewritelog:
>
> 127.0.0.1 - - [10/Jan/2012:11:12:39 +0300] [localhost/sid#995148][rid#a47848/initial] (5) RewriteCond file (-F) check: path=D:/Servers/Apache/Apache7/htdocs/mcskins/fedyei.png -> file=http://s3.amazonaws.com/MinecraftSkins/fedyei.png status=302
> 127.0.0.1 - - [10/Jan/2012:11:12:39 +0300] [localhost/sid#995148][rid#a47848/initial] (4) [perdir D:/Servers/Apache/Apache7/htdocs/] RewriteCond: input='D:/Servers/Apache/Apache7/htdocs/mcskins/fedyei.png' pattern='!-F' => matched
> 127.0.0.1 - - [10/Jan/2012:11:12:39 +0300] [localhost/sid#995148][rid#a47848/initial] (2) [perdir D:/Servers/Apache/Apache7/htdocs/] rewrite 'mcskins/fedyei.png' -> 'http://s3.amazonaws.com/MinecraftSkins/fedyei.png'
> 127.0.0.1 - - [10/Jan/2012:11:12:39 +0300] [localhost/sid#995148][rid#a47848/initial] (2) [perdir D:/Servers/Apache/Apache7/htdocs/] implicitly forcing redirect (rc=302) with http://s3.amazonaws.com/MinecraftSkins/fedyei.png
> 127.0.0.1 - - [10/Jan/2012:11:12:39 +0300] [localhost/sid#995148][rid#a47848/initial] (2) [perdir D:/Servers/Apache/Apache7/htdocs/] trying to replace prefix D:/Servers/Apache/Apache7/htdocs/ with /
> 127.0.0.1 - - [10/Jan/2012:11:12:39 +0300] [localhost/sid#995148][rid#a47848/initial] (1) [perdir D:/Servers/Apache/Apache7/htdocs/] escaping http://s3.amazonaws.com/MinecraftSkins/fedyei.png for redirect
> 127.0.0.1 - - [10/Jan/2012:11:12:39 +0300] [localhost/sid#995148][rid#a47848/initial] (1) [perdir D:/Servers/Apache/Apache7/htdocs/] redirect to http://s3.amazonaws.com/MinecraftSkins/fedyei.png [REDIRECT/302]
>


From: Дмитрий - 10/01 - 12:12:33
Subject:Не срабатывает проверка на существование файл
-----------------
Точнее так


127.0.0.1 - - [10/Jan/2012:11:12:39 +0300] [localhost/sid#995148][rid#a47848/initial] (3) [perdir D:/Servers/Apache/Apache7/htdocs/] strip per-dir prefix: D:/Servers/Apache/Apache7/htdocs/mcskins/fedyei.png -> mcskins/fedyei.png
127.0.0.1 - - [10/Jan/2012:11:12:39 +0300] [localhost/sid#995148][rid#a47848/initial] (3) [perdir D:/Servers/Apache/Apache7/htdocs/] applying pattern '.' to uri 'mcskins/fedyei.png'
127.0.0.1 - - [10/Jan/2012:11:12:39 +0300] [localhost/sid#995148][rid#a47848/initial] (4) [perdir D:/Servers/Apache/Apache7/htdocs/] RewriteCond: input='/mcskins/fedyei.png' pattern='/sites' => not-matched
127.0.0.1 - - [10/Jan/2012:11:12:39 +0300] [localhost/sid#995148][rid#a47848/initial] (3) [perdir D:/Servers/Apache/Apache7/htdocs/] strip per-dir prefix: D:/Servers/Apache/Apache7/htdocs/mcskins/fedyei.png -> mcskins/fedyei.png
127.0.0.1 - - [10/Jan/2012:11:12:39 +0300] [localhost/sid#995148][rid#a47848/initial] (3) [perdir D:/Servers/Apache/Apache7/htdocs/] applying pattern '^.*/(.*)\.png$' to uri 'mcskins/fedyei.png'
127.0.0.1 - - [10/Jan/2012:11:12:39 +0300] [localhost/sid#995148][rid#a47848/initial] (4) [perdir D:/Servers/Apache/Apache7/htdocs/] RewriteCond: input='/mcskins/fedyei.png' pattern='^/mcskins' => matched
127.0.0.1 - - [10/Jan/2012:11:12:39 +0300] [localhost/sid#995148][rid#a45840/subreq] (3) [perdir D:/Servers/Apache/Apache7/htdocs/] strip per-dir prefix: D:/Servers/Apache/Apache7/htdocs/mcskins/fedyei.png -> mcskins/fedyei.png
127.0.0.1 - - [10/Jan/2012:11:12:39 +0300] [localhost/sid#995148][rid#a45840/subreq] (3) [perdir D:/Servers/Apache/Apache7/htdocs/] applying pattern '^.*/(.*)\.png$' to uri 'mcskins/fedyei.png'
127.0.0.1 - - [10/Jan/2012:11:12:39 +0300] [localhost/sid#995148][rid#a45840/subreq] (4) [perdir D:/Servers/Apache/Apache7/htdocs/] RewriteCond: input='/mcskins/fedyei.png' pattern='^/mcskins' => matched
127.0.0.1 - - [10/Jan/2012:11:12:39 +0300] [localhost/sid#995148][rid#a45840/subreq] (4) [perdir D:/Servers/Apache/Apache7/htdocs/] RewriteCond: input='D:/Servers/Apache/Apache7/htdocs/mcskins/fedyei.png' pattern='!-F' => matched
127.0.0.1 - - [10/Jan/2012:11:12:39 +0300] [localhost/sid#995148][rid#a45840/subreq] (2) [perdir D:/Servers/Apache/Apache7/htdocs/] rewrite 'mcskins/fedyei.png' -> 'http://s3.amazonaws.com/MinecraftSkins/fedyei.png'
127.0.0.1 - - [10/Jan/2012:11:12:39 +0300] [localhost/sid#995148][rid#a45840/subreq] (2) [perdir D:/Servers/Apache/Apache7/htdocs/] implicitly forcing redirect (rc=302) with http://s3.amazonaws.com/MinecraftSkins/fedyei.png
127.0.0.1 - - [10/Jan/2012:11:12:39 +0300] [localhost/sid#995148][rid#a45840/subreq] (2) [perdir D:/Servers/Apache/Apache7/htdocs/] trying to replace prefix D:/Servers/Apache/Apache7/htdocs/ with /
127.0.0.1 - - [10/Jan/2012:11:12:39 +0300] [localhost/sid#995148][rid#a45840/subreq] (1) [perdir D:/Servers/Apache/Apache7/htdocs/] escaping http://s3.amazonaws.com/MinecraftSkins/fedyei.png for redirect
127.0.0.1 - - [10/Jan/2012:11:12:39 +0300] [localhost/sid#995148][rid#a45840/subreq] (1) [perdir D:/Servers/Apache/Apache7/htdocs/] redirect to http://s3.amazonaws.com/MinecraftSkins/fedyei.png [REDIRECT/302]
127.0.0.1 - - [10/Jan/2012:11:12:39 +0300] [localhost/sid#995148][rid#a47848/initial] (5) RewriteCond file (-F) check: path=D:/Servers/Apache/Apache7/htdocs/mcskins/fedyei.png -> file=http://s3.amazonaws.com/MinecraftSkins/fedyei.png status=302
127.0.0.1 - - [10/Jan/2012:11:12:39 +0300] [localhost/sid#995148][rid#a47848/initial] (4) [perdir D:/Servers/Apache/Apache7/htdocs/] RewriteCond: input='D:/Servers/Apache/Apache7/htdocs/mcskins/fedyei.png' pattern='!-F' => matched
127.0.0.1 - - [10/Jan/2012:11:12:39 +0300] [localhost/sid#995148][rid#a47848/initial] (2) [perdir D:/Servers/Apache/Apache7/htdocs/] rewrite 'mcskins/fedyei.png' -> 'http://s3.amazonaws.com/MinecraftSkins/fedyei.png'
127.0.0.1 - - [10/Jan/2012:11:12:39 +0300] [localhost/sid#995148][rid#a47848/initial] (2) [perdir D:/Servers/Apache/Apache7/htdocs/] implicitly forcing redirect (rc=302) with http://s3.amazonaws.com/MinecraftSkins/fedyei.png
127.0.0.1 - - [10/Jan/2012:11:12:39 +0300] [localhost/sid#995148][rid#a47848/initial] (2) [perdir D:/Servers/Apache/Apache7/htdocs/] trying to replace prefix D:/Servers/Apache/Apache7/htdocs/ with /
127.0.0.1 - - [10/Jan/2012:11:12:39 +0300] [localhost/sid#995148][rid#a47848/initial] (1) [perdir D:/Servers/Apache/Apache7/htdocs/] escaping http://s3.amazonaws.com/MinecraftSkins/fedyei.png for redirect
127.0.0.1 - - [10/Jan/2012:11:12:39 +0300] [localhost/sid#995148][rid#a47848/initial] (1) [perdir D:/Servers/Apache/Apache7/htdocs/] redirect to http://s3.amazonaws.com/MinecraftSkins/fedyei.png [REDIRECT/302]



[Это сообщение - спам!]

Последние сообщения из форума

 Имя:
 E-mail:
 Тема:
 Текст:
Код подтверждения отправки: Code
34076




  Copyright Apache.ru © 1999-2017, All Rights Reserved Разработка сайта: Inside.ru  
  РЕКЛАМА НА САЙТЕ: |