Odlucio sam da izucim Kohanu, i pratio sam uputstva kako se instalira poslednja verzija 3.x
Napisem novi Controller extendujem ga sa controlerom i sve je to ok. Ali kad hocu da ucitam taj kontroler (
http://localhost/kohana/blog/) meni apache izbaci 404.
kohana mi instlirana u localhost/kohana/ ,
htaccess sam preimenovo stavio sam folder
PHP kôd:
# Turn on URL rewriting
RewriteEngine On
# Installation directory
RewriteBase /kohana/
# Protect hidden files from being viewed
<Files .*>
Order Deny,Allow
Deny From All
</Files>
# Protect application and system files from being viewed
RewriteRule ^(?:application|modules|system)\b.* index.php/$0 [L]
# Allow any files or directories that exist to be displayed directly
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
# Rewrite all other URLs to index.php/URL
RewriteRule .* /kohana/index.php/$0 [PT]
izmenio sam boostrap i tamo sam ubacio folder i dalje nece. ucita samo welcome controller koji je stavljen kao default i to je to.
Premisije sam proverio, fajlovi mogu da se citaju.Apachev module rewrites je ucitan, multiviews isto.
Ceo dan se bahcem sa ovim i vise nemam ideja, ali posto imam jaku zelju da izucim kohanu, necu se okanuti dok ne proradi, molim vas za pomoc
