TalkPHP

TalkPHP (http://www.talkphp.com/forums.php)
-   General (http://www.talkphp.com/general/)
-   -   .htaccess gives some trouble (http://www.talkphp.com/general/5126-htaccess-gives-some-trouble.html)

afraca 11-21-2009 06:42 PM

.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

delayedinsanity 11-21-2009 08:29 PM

We have ALL been there, and anybody who tells you otherwise is lying. ;)

It's always a good idea when debugging problems like that (where you can't directly see the error) to remove the possible offender in its entirety, and then replace it piece by piece until you trip the error.


All times are GMT. The time now is 02:11 PM.

Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.1.0