Сервер работает 5.4.3 PHP с FastCGIУстановка CodeIgniter в параллелей PLESK сервере
Для Cpanel, он отлично работает, однако, не в состоянии в PLESK сервере.
Вот .htaccess используется:
RewriteEngine on
DirectoryIndex index.php
RewriteCond $1 !^(index\.php|assets|upload|robots\.txt)
RewriteRule ^(.*)$ /my_folder/index.php/$1 [L]
В конфигурационном файле:
$config['base_url'] = '';
$config['index_page'] = '';
Когда я вхожу на домашней странице, он показывает:
Welcome to Parallels!
If you are seeing this message, the website for kotechweb.com is not available at this time.
If you are the owner of this website, one of the following things may be occurring:
You have not put any content on your website.
Your provider has suspended this page.
Если я не» t использовать .htaccess, то это страница с кодомignign 404 не найдена. И он может пойти (хотя и с большой ошибкой)
mydomin.com/my_folder/index.php/welcome/
например.
Message: is_dir(): open_basedir restriction in effect. File(/var/lib/php/session) is not within the allowed path(s): (/var/www/vhosts/my_domain.com/:/tmp/)
Filename: drivers/Session_files_driver.php
Line Number: 115
И много MkDir, ошибка сеанса ...
также не может пойти другой контроллер, он показывает 404 CodeIgniter не найдена страница
Любой способ отладки и исправить это? Спасибо
это страница домена по умолчанию, когда я вхожу на главную страницу, спасибо – user782104