Accessing non-Kohana php files

liastonosdic

New Member
I have a Kohana application running in the web root and everything is working fine. But when I try to add a subfolder to the root with non-kohana PHP code, I can't access it. Kohana still tries to find a route for the file..Example:
  • public_html
    • application
    • modules
    • subfolderindex.php
    • test.html
If I try to access /subfolder, I get the following error: Class controller_subfolder does not existBut if I try to access /subfolder/test.html it works fine.My .htaccess file is the default:\[quote\]\[code\]# Turn on URL rewritingRewriteEngine On# Installation directoryRewriteBase /# Protect hidden files from being viewed<Files .*> Order Deny,Allow Deny From All</Files># Protect application and system files from being viewedRewriteRule ^(?:application|modules|system)\b.* index.php/$0 [L]# Allow any files or directories that exist to be displayed directlyRewriteCond %{REQUEST_FILENAME} !-fRewriteCond %{REQUEST_FILENAME} !-d# Rewrite all other URLs to index.php/URLRewriteRule .* index.php/$0 [PT]\[/code\]\[/quote\]
 
Back
Top