View Single Post
Old 07-07-2008, 04:25 PM   PM User | #1
markosaurus
New Coder

 
Join Date: Jul 2006
Location: Newcastle, england.
Posts: 38
Thanks: 2
Thanked 0 Times in 0 Posts
markosaurus is an unknown quantity at this point
.htaccess for forcetype method giving 500 server error

This is really annoying, I'm sure it's something stupid I've done. If anyone can spot anything I've missed, or just plain overlooked then it would be appreciated. Thanks;

I've just done this site and thought I'd try using the forcetype method to generate more SEF URL's. I wish I hadn't now.

http://durban.directrouter.com/~espresso/

I want it to work when I go to http://durban.directrouter.com/~espressso/ethics/

It should, but doesn't

My htaccess file;

Code:
<files index>
RewriteEngine on

RewriteBase /


# remove .php and THE_REQUEST to prevent loops

RewriteCond %{THE_REQUEST} ^GET\ (.*)\.php\ HTTP

RewriteRule (.*)\.php$ $1 [R=301]



# remove trailling slash

RewriteCond %{REQUEST_FILENAME} !-d

RewriteCond %{REQUEST_URI} /$

RewriteRule (.*)/ $1 [R=301]



# add .php to access file, but don't redirect

RewriteCond %{REQUEST_FILENAME}.php -f

RewriteCond %{REQUEST_URI} !/$

RewriteRule (.*) $1\.php

</files>
HELP!
__________________
http://www.edot3.com
markosaurus is offline   Reply With Quote