Index: [Article Count Order] [Thread]

Date:  Mon, 02 Jul 2007 08:56:46 -0400
From:  Abdul-Rashid Abdullah <webmaster (at mark) muntada.com>
Subject:  [coba-e:10288] Re: .htaccess redirect
To:  "coba-e (at mark) bluequartz.org" <coba-e (at mark) bluequartz.org>
Message-Id:  <C2AE6E4E.19245%webmaster (at mark) muntada.com>
In-Reply-To:  <C2AD2D61.191EB%webmaster (at mark) muntada.com>
X-Mail-Count: 10288

Thanks Nick for your suggestion.

I added the below with the correct modifications.

<Directory "/home/.sites/XX/site#/web">
   AllowOverride All
   Options All
</Directory>

That didn't work.  I modified my .htaccess file to have the following now:

RewriteEngine On
RewriteBase /
Options +FollowSymLinks
Redirect 301 /niihau /index.php?topic=Niihau

That didn't work either.    So I took everything out and just redirect it to
the Redirect line.  I think the Options line will be handy later.  But that
didn't work either.

I then changed the Directory directive to since the .htaccess file was in
the niihau directory.

<Directory "/home/.sites/58/sit34/web/niihau">
   AllowOverride All
   Options All
</Directory>

The .htaccess looked like this:

RewriteEngine On
RewriteBase /
Redirect 301 /niihau /index.php?topic=Niihau

Still no luck?  Any other ideas?






On 7/1/07 10:07 AM, "Abdul-Rashid Abdullah" <webmaster (at mark) muntada.com> wrote:

> I want to redirect a webpage from /kauai/ to /index.php?topic=Kauai.  I
> created a .htaccess file in the directory /kauai/ with the following linke:
> 
> Redirect 301 /kauai /index.php?topic=Kauai
> 
> I am getting the following error:
> 
> Internal Server Error
>     The server encountered an internal error or misconfiguration and was
> unable to complete your request. Your administrator may not have enabled CGI
> access for this directory.
> 
> I believe it is because Apache needs some modification to allow this type of
> activity within the .htaccess.  Can anyone help me out with a quick how to?
> 
> -Rashid
> 
>