|
|
|
| В корневом каталоге стоит .htaccess следующего содержания
RewriteEngine on
RewriteRule ^index.php - [L]
RewriteCond %{REQUEST_URI} !^/robots.txt
RewriteCond %{REQUEST_URI} !^/images/
RewriteCond %{REQUEST_URI} !^/_scripts/
RewriteCond %{REQUEST_URI} !^/stat/
RewriteCond %{REQUEST_URI} !^/admin/
RewriteCond %{REQUEST_URI} !^/download/
RewriteCond %{REQUEST_URI} !^/kcaptcha/
RewriteRule !\.(gif|jpg|css|ico)$ /index.php [L]
RewriteRule ^download/(.+).(xls|csv|doc|rtf)$ /download/index.php?file=$1.$2 [L]
Если при обращении в директорию /admin в адресной строке в значениях параметров есть русские символы, то выдает 500 ошибку. В логах ошибка
[Wed Apr 30 11:41:00 2008] [error] [client 127.0.0.1] (22)Invalid argument: couldn't create child process: 22: php-cgi.exe, referer: http://concord/admin/photogallary/checkimg.php?rasdel=1
[Wed Apr 30 11:41:00 2008] [error] [client 127.0.0.1] (22)Invalid argument: couldn't spawn child process: C:/Web/usr/local/php5/php-cgi.exe, referer: http://concord/admin/photogallary/checkimg.php?rasdel=1 | |
|
|