PDA

View Full Version : Problem with .htaccess



Second Globe
02-11-2008, 05:40 AM
My Folder structure:

app

webroot

index.php


.htaccess


in the .htaccess i have:
RewriteEngine on
RewriteBase app/webroot/
RewriteRule (.*) $1 [L]

So when i go to: domain.com/index.php the .htaccess should return me app/webroot/index.php but it doesn't. It returns a 500 interal error.

the index.php:
<?php
// Nothing special, just a test for the .htaccess
echo 'test';
?>

Anyone an idea why this wouldn't work?

Thanks in advance

Second Globe
02-11-2008, 08:17 AM
Oké i fixed the problem.

The .htaccess created an infinitive redirect + my file permissions were wrong.
bluehost doesn't like write rights for groups :D