11-21-2009, 05:42 PM
|
#1 (permalink)
|
|
The Wanderer
Join Date: Sep 2009
Posts: 9
Thanks: 1
|
.htaccess gives some trouble
I have some issues with my website, build with the kohana framework (v3, has some nice features :) ). I first wanted to test it offline, so i put it in my www folder of my Wampserver (beats xampp by far!). All the files have been put in a seperate folder called "thunderbust", and the url given in the browser is therefore localhost/thunderbust . However, I receive a 500 error page.... I suspect my .htaccess is not working properly, here it is:
Code:
# Turn on URL rewriting
RewriteEngine On
# Installation directory
RewriteBase /thunderbust/
# 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 - [F,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 .* index.php/$0 [PT]
Am I being retarded and missing something here? ...
EDIT/UPDATE: Please don't think I'm retarded, it must have had something to do it's saturday evening, but I found out module_rewrite wasn't enabled in apache..... Sorry XD
Last edited by afraca : 11-21-2009 at 06:55 PM.
|
|
|
|