Pozdrav nedavno sam si instalirao Ubuntu 12.10, te posebno apache,mysql i php.
Kada odem na ‘index’ page, mi se pojavi ALI ako stisnem neki od linkova na stranici mi se pojavi 404 error ???
Not Found
The requested URL /.../site/other was not found on this server.
Apache/2.2.22 (Ubuntu) Server at localhost Port 80
dakle npr. preko CodeIgnitera fw.
controllers/site.php
[php]
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
class Site extends CI_Controller {
function __construct() {
parent::__construct();
}
public function index() {
$data["content"] = "site/index_view";
$this->load->view("template/layout", $data);
}
public function other() {
$data["content"] = "site/other_view";
$this->load->view("template/layout", $data);
}
}
[/php]
views/site/index_view.php
[php]
aj ako ti nije problem odi u /etc/apache2 mapu i zipaj je cilu i posalji na mail [email protected] mislim da ti je problem u konfiguraciji virtualnog hosta