Kohana Framework: "HTTP_Exception_404 [404]: The requested welcome / index URL was not found on this server."

I followed this guide with only one difference. Instead of calling it hello.php, I called it welcome.php. The sources of my files are identical to the sources of the tutorials, and they are on the right paths. What can cause this?

I refer to this using "kohana / index.php / welcome" according to the tutorial.

+3
source share
2 answers

You need to change the controller name to greeting instead of Hello

Class Controller_Welcome extends Controller {
   public function action_index()
  {
      echo 'hello, world!';
  }
}  

I think you forgot to change the name of the controller?

+4
source

I called it welcome.php. Sources my files are identical to my files tutorials

, Controller_Welcome Controller_Hello

+2

All Articles