TalkPHP
 
 
Account Login
Latest Articles
» The basic usage of PHPTAL, a XML/XHTML template library for PHP
» Vulnerable methods and the areas they are commonly trusted in.
» Simple way to protect a form from bot
» The Basics On: How Session Stealing Works
» How to keep your forms from double posting data
IRC Channel
IRC Speech Bubble Join the friendly bunch on IRC...
(#TalkPHP on Freenode)

...Also available via a web interface.

See this thread for information on the TalkPHP Free Hugs Initiative™. Subject to availability.
Associates
Associates
CSS Tutorials
 
 
LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
Old 11-21-2009, 06:42 PM   #1 (permalink)
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
 



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Problems with .htaccess URL Rewrite TheOnly92 General 0 04-22-2009 10:07 AM
Having trouble!!! KingOfTheSouth General 13 02-06-2009 01:17 AM
Having trouble with md5() code_junkie Advanced PHP Programming 7 02-05-2009 06:41 PM
.htaccess problem with godaddy? sarmenhb General 3 10-09-2008 03:36 PM


All times are GMT. The time now is 06:19 PM.

 
     

Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.1.0
Inactive Reminders By Icora Web Design