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

Apache.RU - Webboard



Вернуться
mod_rewrite не работает (Sergey) 10/10 - 11:31:50
      Re: mod_rewrite не работает (superman) 12/08 - 18:39:13



From: Sergey - 10/10 - 11:31:50
Subject:mod_rewrite не работает
-----------------
Дома писал скрипт все работало. Принес на работу ни в какую не могу заставить работать...
Может где косяк в конфиге апач.
.htaccess
RewriteEngine On
Options +FollowSymlinks
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d

RewriteRule (.*)$ index.php/$1 [QSA]


httpd.conf:
<Directory />
Options Indexes Includes
AllowOverride All

</Directory>

error:
[Mon Oct 09 13:54:44 2006] [info] Invoking CGI Command 'c:\\php\\php.exe '
[Mon Oct 09 13:54:44 2006] [debug] .\main\util_script.c(1101): CGI env[0] = 'COMSPEC=C:\\WINDOWS\\system32\\cmd.exe'
[Mon Oct 09 13:54:44 2006] [debug] .\main\util_script.c(1101): CGI env[1] = 'DOCUMENT_ROOT=d:/t'
[Mon Oct 09 13:54:44 2006] [debug] .\main\util_script.c(1101): CGI env[2] = 'HTTP_ACCEPT=text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5'
[Mon Oct 09 13:54:44 2006] [debug] .\main\util_script.c(1101): CGI env[3] = 'HTTP_ACCEPT_CHARSET=windows-1251,utf-8;q=0.7,*;q=0.7'
[Mon Oct 09 13:54:44 2006] [debug] .\main\util_script.c(1101): CGI env[4] = 'HTTP_ACCEPT_ENCODING=gzip,deflate'
[Mon Oct 09 13:54:44 2006] [debug] .\main\util_script.c(1101): CGI env[5] = 'HTTP_ACCEPT_LANGUAGE=ru-ru,ru;q=0.8,en-us;q=0.5,en;q=0.3'
[Mon Oct 09 13:54:44 2006] [debug] .\main\util_script.c(1101): CGI env[6] = 'HTTP_CACHE_CONTROL=max-age=0'
[Mon Oct 09 13:54:44 2006] [debug] .\main\util_script.c(1101): CGI env[7] = 'HTTP_CONNECTION=keep-alive'
[Mon Oct 09 13:54:44 2006] [debug] .\main\util_script.c(1101): CGI env[8] = 'HTTP_COOKIE=globalUserId=235289285; usrPassword=215d399c3f7e6910'
[Mon Oct 09 13:54:44 2006] [debug] .\main\util_script.c(1101): CGI env[9] = 'HTTP_HOST=t.unicomservice.ru'
[Mon Oct 09 13:54:44 2006] [debug] .\main\util_script.c(1101): CGI env[10] = 'HTTP_KEEP_ALIVE=300'
[Mon Oct 09 13:54:44 2006] [debug] .\main\util_script.c(1101): CGI env[11] = 'HTTP_REFERER=http://t.unicomservice.ru/im/'
[Mon Oct 09 13:54:44 2006] [debug] .\main\util_script.c(1101): CGI env[12] = 'HTTP_USER_AGENT=Mozilla/5.0 (Windows; U; Windows NT 5.2; ru; rv:1.8.0.2) Gecko/20060308 Firefox/1.5.0.2'
[Mon Oct 09 13:54:44 2006] [debug] .\main\util_script.c(1101): CGI env[13] = 'PATH=C:\\WINDOWS\\system32;C:\\WINDOWS;C:\\WINDOWS\\System32\\Wbem'
[Mon Oct 09 13:54:44 2006] [debug] .\main\util_script.c(1101): CGI env[14] = 'REDIRECT_REDIRECT_STATUS=200'
[Mon Oct 09 13:54:44 2006] [debug] .\main\util_script.c(1101): CGI env[15] = 'REDIRECT_STATUS=200'
[Mon Oct 09 13:54:44 2006] [debug] .\main\util_script.c(1101): CGI env[16] = 'REDIRECT_URL=/im/index.php/catalog/'
[Mon Oct 09 13:54:44 2006] [debug] .\main\util_script.c(1101): CGI env[17] = 'REMOTE_ADDR=192.168.1.1'
[Mon Oct 09 13:54:44 2006] [debug] .\main\util_script.c(1101): CGI env[18] = 'REMOTE_PORT=3697'
[Mon Oct 09 13:54:44 2006] [debug] .\main\util_script.c(1101): CGI env[19] = 'SCRIPT_FILENAME=c:/php/php.exe'
[Mon Oct 09 13:54:44 2006] [debug] .\main\util_script.c(1101): CGI env[20] = 'SERVER_ADDR=192.168.1.3'
[Mon Oct 09 13:54:44 2006] [debug] .\main\util_script.c(1101): CGI env[21] = 'SERVER_ADMIN=sergey@unicomservice.ru'
[Mon Oct 09 13:54:44 2006] [debug] .\main\util_script.c(1101): CGI env[22] = 'SERVER_NAME=t.unicomservice.ru'
[Mon Oct 09 13:54:44 2006] [debug] .\main\util_script.c(1101): CGI env[23] = 'SERVER_PORT=80'
[Mon Oct 09 13:54:44 2006] [debug] .\main\util_script.c(1101): CGI env[24] = 'SERVER_SIGNATURE=<ADDRESS>Apache/1.3.33 Server at t.unicomservice.ru Port 80</ADDRESS>\n'
[Mon Oct 09 13:54:44 2006] [debug] .\main\util_script.c(1101): CGI env[25] = 'SERVER_SOFTWARE=Apache/1.3.33 (Win32) PHP/4.3.10'
[Mon Oct 09 13:54:44 2006] [debug] .\main\util_script.c(1101): CGI env[26] = 'SystemRoot=C:\\WINDOWS'
[Mon Oct 09 13:54:44 2006] [debug] .\main\util_script.c(1101): CGI env[27] = 'WINDIR=C:\\WINDOWS'
[Mon Oct 09 13:54:44 2006] [debug] .\main\util_script.c(1101): CGI env[28] = 'GATEWAY_INTERFACE=CGI/1.1'
[Mon Oct 09 13:54:44 2006] [debug] .\main\util_script.c(1101): CGI env[29] = 'SERVER_PROTOCOL=HTTP/1.1'
[Mon Oct 09 13:54:44 2006] [debug] .\main\util_script.c(1101): CGI env[30] = 'REQUEST_METHOD=GET'
[Mon Oct 09 13:54:44 2006] [debug] .\main\util_script.c(1101): CGI env[31] = 'QUERY_STRING='
[Mon Oct 09 13:54:44 2006] [debug] .\main\util_script.c(1101): CGI env[32] = 'REQUEST_URI=/im/catalog/'
[Mon Oct 09 13:54:44 2006] [debug] .\main\util_script.c(1101): CGI env[33] = 'SCRIPT_NAME=/php4/php.exe'
[Mon Oct 09 13:54:44 2006] [debug] .\main\util_script.c(1101): CGI env[34] = 'PATH_INFO=/im/index.php/catalog/'
[Mon Oct 09 13:54:44 2006] [debug] .\main\util_script.c(1101): CGI env[35] = 'PATH_TRANSLATED=d:\\t\\im\\index.php\\catalog\\'


acces:
192.168.1.1 - - [09/Oct/2006:13:54:45 +0700] "GET /im/catalog/ HTTP/1.1" 404 37


где что ни так? никак понять не могу


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

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

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




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