У меня есть файл .htaccess на моем веб-сервере, который удаляет index.php из моих URL.
Проблема возникает, когда я хочу получить доступ к файлу .php, расположенному в подкаталоге моего веб-сервера.
Мой файл htacess выглядит так:
# Turn on URL rewriting
RewriteEngine On
# Installation directory
RewriteBase /
# Protect application and system files from being viewed
RewriteRule ^(?:application|modules|system)\b.* index.php/$0 [L]
# Allow any files or directories that exist to be displayed directly
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
# Rewrite all other URLs to index.php/URL
RewriteRule .* index.php/$0 [PT]
А теперь, если я хочу получить доступ к файлу .php, как это:
http://www.mydomain.com/subfolder/assets/17041f49/tiny_mce/tiny_mce_gzip.php
Сервер вернул ошибку 500.
Что мне сделать, чтобы это исправить?
Спасибо.