Having issues with .htaccess file

Permalink
Okay I have been having this issues for about a month, and I keep telling myself, I'll get around to it later. But later is now here.

-My .htaccess file is not working at all. I tried all sorts of combos and no code worked. I searched through about 10 discussions, tried and did not work for me. So, if you have any ideas, please help. My server DOES allow .htaccess files (just thought I would clear that up already)

Here is a couple of things I tried:
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_URI} !index.php
RewriteCond %{REQUEST_URI} !(.*)/$
RewriteRule ^(.*)$ /$1/ [L,R=301]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^website/(.*)$ index.php/$1 [L]
</IfModule>


RewriteEngine on
RewriteRule ^website.com$ http://www.test.com [r=301,nc]


.htaccess is not my best area, but any help is greatly appreciated.

 
ericwright17 replied on at Permalink Best Answer Reply
ericwright17
This may be a stupid question, but have you made sure that you have the mod_rewrite.c module installed?
codingpenguins replied on at Permalink Reply
First, Thanks for the reply ericwright17. So I took your advice, and started looking into it on the conf file... turns out that my .htaccess file in my folder was not given permissions from the conf file. After given full permissions to that directory, the .htaccess was working just fine.

Thanks again.