View Single Post
Old 11-21-2009, 06:42 PM   #1 (permalink)
afraca
The Wanderer
 
Join Date: Sep 2009
Posts: 9
Thanks: 1
afraca is on a distinguished road
Default .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 07:55 PM.
afraca is offline  
Reply With Quote