Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8455593
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 10, 20262026-06-10T12:19:25+00:00 2026-06-10T12:19:25+00:00

Here is the error I get in the logs: 2012-08-22 17:20:35 — ERROR: HTTP_Exception_404

  • 0

Here is the error I get in the logs:

2012-08-22 17:20:35 --- ERROR: HTTP_Exception_404 [ 404 ]: Unable to find a route to match the URI: index.php ~ SYSPATH/classes/kohana/request.php [ 1126 ]
2012-08-22 17:20:35 --- STRACE: HTTP_Exception_404 [ 404 ]: Unable to find a route to match the URI: index.php ~ SYSPATH/classes/kohana/request.php [ 1126 ]
--
#0 /var/www/index.php(109): Kohana_Request->execute()
#1 {main}

Here is my nginx configs:

server {
        listen  80;
        server_name     000.000.00.00;

        root    /var/www;
        index   index.php;

        location / {
                try_files $uri $uri/ @kohana;
        }

        location ~ /\. {
                deny  all;
        }

        location ~* \.php$ {
                try_files $uri $uri/ @kohana;

                fastcgi_pass unix:/var/run/php5-fpm.sock;
                fastcgi_index index.php;
                fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
                fastcgi_param PATH_INFO $fastcgi_script_name;
                include /usr/local/nginx/conf/fastcgi_params;
        }

        location @kohana {
                fastcgi_pass 127.0.0.1:9000;
                fastcgi_index index.php;
                include /usr/local/nginx/conf/fastcgi_params;
                fastcgi_param SCRIPT_FILENAME $document_root/index.php;
        }

        #error_page  404              /404.html;

        error_page   500 502 503 504  /50x.html;
        location = /50x.html {
                root    html;
        }
}

In the front page I get:

HTTP_Exception_404 [ 404 ]: Unable to find a route to match the URI: index.php

and

 DOCROOT/index.php [ 109 ] » Kohana_Request->execute()

Thanks in advance for any help!

UPDATE

Kohana::init(array(
    'base_url'   => '/',
));

Route::set('default', '(<controller>(/<action>(/<id>)))')
    ->defaults(array(
            'controller' => 'welcome',
            'action'     => 'index',
    ));
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-10T12:19:26+00:00Added an answer on June 10, 2026 at 12:19 pm

    I had a similar issue and this was the nginx config we ended up with

    server {
    listen       80;
    server_name <<INSERT SERVER NAME>>;
    root   /add/root/directory;
    
    index index.php;
    
    # ROUTING TO KOHANA IF REQUIRED
    location / {
        try_files $uri $uri/ @kohana;
    }
    
    # BLOCKS ACCESS TO . FILES (.svn, .htaccess, ...)
    location ~ /\. {
        deny  all;
    }
    
    # FOR PHP FILES
    location ~* \.php$ {
        # PHP FILES MIGHT BE TO HANDLED BY KOHANA
        try_files $uri $uri/ @kohana;
    
        fastcgi_pass 127.0.0.1:9000;
        fastcgi_index index.php;
        fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
        include fastcgi_params;
    }
    
    # HANDLES THE REWRITTEN URLS TO KOHANA CONTROLLER
    location @kohana
    {
        fastcgi_pass 127.0.0.1:9000;
        fastcgi_index index.php;
        include fastcgi_params;
        fastcgi_param SCRIPT_FILENAME $document_root/index.php;
    }
    
    # CACHE CONTROL FOR STATIC FILES
    location ~* \.css|\.js|\.jpg|\.jpeg|\.png|\.gif|\.swf|\.svg|\.tiff|\.pdf$ {
        expires 30d;
    }
    
    # REDIRECTING MEDIAS TO STATIC
    location ^~ /medias/ {
        rewrite ^/medias/(.*) http://static.xxxx.com/$1 permanent;
        break;
    }
    }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Here is the error I get ArgumentError in External_articles#show Showing app/views/external_articles/show.html.erb where line #3
Here's the error I get: Description: An error occurred during the compilation of a
I do not get any error here but i am failing to display anything
I get the error mentioned here: C++ Templates Error: no matching function for call
Here are the steps I've taken to get this error. move_to_send = Integer.toString(b_id); //
I get this error in xml file very often. here is the code in
Here is the code, any ideas why I get this error? private SQLiteDataAdapter DA_Webfiles;
I want to make functor to generic function, but I get compiler error. Here
Here is the complete error message that I get in the Package Manager Console
I have a pretty nasty error I can't get rid of. Here's the function

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.