Welcome Guest, Not a member yet? Register   Sign In
url problems , system/application/controllers/myindex.php
#1

[eluser]Peter74[/eluser]
Hi all,
i cant resolve this issue, i have 3 files
--controllers
-----front.php
-----inicio.php


--views
-----front_view.php

config.php
Code:
$config['base_url']= "http://www.ejemplo1.local/";
          $config['index_page'] = "";

routes.php
Code:
$route['default_controller'] = "front";

first its generate front.php call his view front_view.php, and print the page corrently
in that page are links like this

Code:
<?= anchor('inicio.php?lang=es', 'Idioma en Espanol');?>

but the browser give me this result
The requested URL /inicio.php was not found on this server.

if i write
Code:
<?= anchor('system/application/controllers/inicio.php?lang=es', 'Idioma en Espanol');?>

work

what iam doing wrong?

any comments helpme, txs


Messages In This Thread
url problems , system/application/controllers/myindex.php - by El Forum - 02-07-2008, 05:26 PM



Theme © iAndrew 2016 - Forum software by © MyBB