Index: [Article Count Order] [Thread]

Date:  Tue, 03 Jul 2007 01:40:17 +0300
From:  Arthur Sherman <arturs (at mark) netvision.net.il>
Subject:  [coba-e:10295] Re: .htaccess redirect
To:  coba-e (at mark) bluequartz.org
Message-Id:  <006401c7bcf9$f6ba1fa0$3701a8c0@user33b5201c50>
In-Reply-To:  <C2AE6E4E.19245%webmaster (at mark) muntada.com>
X-Mail-Count: 10295

Anything in /var/log/messages when you made changes?

Have you restarted httpd?


Best,

--
Arthur Sherman
 

> -----Original Message-----
> From: Abdul-Rashid Abdullah [mailto:webmaster (at mark) muntada.com] 
> Sent: Monday, July 02, 2007 3:57 PM
> To: coba-e (at mark) bluequartz.org
> Subject: [coba-e:10288] Re: .htaccess redirect
> 
> 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
> > 
> > 
> 
> 
> 
>