[eluser]canicasio[/eluser]
The htacces code is:
Code:
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /RCC/
#Removes access to the system folder by users.
#Additionally this will allow you to create a System.php controller,
#previously this would not have been possible.
#'system' can be replaced if you have renamed your system folder.
RewriteCond %{REQUEST_URI} ^/system.*
RewriteRule ^(.*)$ index.php?/$1 [L]
#Checks to see if the user is attempting to access a valid file,
#such as an image or css document, if this isn't true it sends the
#request to index.php
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.+)$ index.php?/$1 [L]
</IfModule>
<IfModule !mod_rewrite.c>
# If we don't have mod_rewrite installed, all 404's
# can be sent to index.php, and everything works as normal.
# Submitted by: ElliotHaughin
ErrorDocument 404 /index.php
</IfModule>
The URL I'm trying to access is:
Code:
http://localhost/RCC/
The proyect is running in my pc, Ubuntu 11.10. (/var/www/RCC) (RCC is my proyect´s name)
the default controller is Portal.php the code is:
Code:
function index() {
$data['estilo'] = site_url() . 'CSS/admin.css';
$data['retroceso'] = site_url() . 'JS/control_retroceso.js';
$data['imagen1'] = site_url() . 'imagenes/logo.png';
$data['imagen2'] = site_url() . 'imagenes/login-icon.png';
$data['logoacap'] = site_url() . 'imagenes/acap.png';
$data['nombre_sistema'] = "Reportes CDC";
$this->load->view('inicio', $data);
}
As i said the apache error log only present the next: favico.ico was not found.
I have this code on my config:
Code:
$config['base_url'] = "http://".$_SERVER['SERVER_NAME']."/RCC/";
$config['index_page'] = "";
$config['uri_protocol'] = "AUTO";
I hope this information could help to help me.