Доброе времени суток .
2 дня уже занимаюсь с этим . не получаеться самому стыдно . в локале сайт открываеться как надо .
а если загрузить на хост не работает . 404 . дела не в .htaccess просто роутинг не идет . вот мой боотстрап
<?php defined('SYSPATH') or die('No direct script access.');
// Load the core Kohana class
require SYSPATH.'classes/kohana/core'.EXT;
if (is_file(APPPATH.'classes/kohana'.EXT))
{
// Application extends the core
require APPPATH.'classes/kohana'.EXT;
}
else
{
// Load empty core extension
require SYSPATH.'classes/kohana'.EXT;
}
// Set the default time zone.
date_default_timezone_set('Asia/Baku');
// Set the default locale.
setlocale(LC_ALL, 'en_US.utf-8');
// Enable the Kohana auto-loader.
spl_autoload_register(array('Kohana', 'auto_load'));
// Enable the Kohana auto-loader for unserialization.
ini_set('unserialize_callback_func', 'spl_autoload_call');
// Set the default language
I18n::lang('az-az');
/**
* Set the environment string by the domain (defaults to Kohana::DEVELOPMENT).
*/
//Kohana::$environment = ($_SERVER['SERVER_NAME'] !== 'localhost') ? Kohana::PRODUCTION : Kohana::DEVELOPMENT;
Kohana::$environment = Kohana::DEVELOPMENT;
/**
* Initialise Kohana based on environment
*/
Kohana::init(array(
'base_url' => '/aralgroup/',
'index_file' =>false,
'profile' =>true,
'caching' => true,
));
// Attach the file write to logging. Multiple writers are supported.
Kohana::$log->attach(new Log_File(APPPATH.'logs'));
// Attach a file reader to config. Multiple readers are supported.
Kohana::$config->attach(new Config_File);
// Enable modules. Modules are referenced by a relative or absolute path.
Kohana::modules(array(
'auth' => MODPATH.'auth', // Basic authentication
// 'cache' => MODPATH.'cache', // Caching with multiple backends
// 'codebench' => MODPATH.'codebench', // Benchmarking tool
'database' => MODPATH.'database', // Database access
// 'image' => MODPATH.'image', // Image manipulation
'orm' => MODPATH.'orm', // Object Relationship Mapping
// 'unittest' => MODPATH.'unittest', // Unit testing
// 'userguide' => MODPATH.'userguide', // User guide and API documentation
// 'pagination' => MODPATH.'pagination', // Pagination
));
// Cookie salt
Cookie::$salt = '#d7&W0-@6wO%';
// Set the routes. Each route must have a minimum of a name, a URI and a set of
// view route
Route::set('view', '(<lang>(/view(/<action>(/<id>))))',array('id' => '[0-9]+'))
->defaults(array(
'controller' => 'view',
'action' => 'index',
'id' => 0,
));
// pop-up content siler hide route
Route::set('intra', '(<lang>(/intra(/<id>)))',array('id' => '[0-9]+'))
->defaults(array(
'controller' => 'intra',
'action' => 'popupcontent',
'id' => 0,
));
// catching 404 error
set_exception_handler(array('Exceptionhandler', 'handle'));