Pogledajte određenu poruku
Staro 01. 07. 2011.   #1
squirll
Wait, What?
Qualified
 
Datum učlanjenja: 21.03.2010
Poruke: 148
Hvala: 8
188 "Hvala" u 14 poruka
squirll is on a distinguished roadsquirll is on a distinguished road
Default Kohana i 404 problem

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/$[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/$[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
__________________
Svakog dana uvlacim linije pa misle da se drogiram.
squirll je offline   Odgovorite uz citat