Internal Server Error The server encountered an internal error or misconfiguration and was unable to complete your request. Please contact the server administrator, [no address given] and inform them of the time the error occurred, and anything you might have done that may have caused the error. More information about this error may be available in the server error l
Перерыл море информации, во многих источниках обсуждались проблемы кейка и mod_rewrite, предлагались альтернативные варинты htaccess (как напрмер здесь). Все перепробовал, непомогло.
В итоге подправил стандартные файлы .htaccess из корня и /app/webroot на следующие:
cakephpsite/.htaccess:
RewriteEngine on RewriteRule ^$ /app/webroot/ [L] RewriteRule (.*) /app/webroot/$1 [L]
cakephpsite/app/webroot/.htaccess:
RewriteEngine On RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_FILENAME} !-f RewriteRule ^(.*)$ /index.php?url=$1 [QSA,L]
Т.е. добавил перед именами файлов и путями "/".
Комментариев нет:
Отправить комментарий