No messages and yes I did restart. I have been messing all day and
read through the Apache rewrite module. Still getting no where but
here is my config as of now. This doesn't error out but it doesn't
do anything either:
# /etc/httpd/conf/vhosts/site34.include
# user customizations can be added here.
<Directory "/home/.sites/58/site34/web">
AllowOverride All
Options All
</Directory>
.htaccess
Options +FollowSymLinks
RewriteEngine on
RewriteBase /
RewriteRule ^/niihau$ /index.php?topic=Niihau [R=301]
RewriteRule ^/niihau/$ /index.php?topic=Niihau [R=301]
RewriteRule ^/niihau/*(.*)$ /index.php?topic=Niihau [R=301]
At 06:40 PM 7/2/2007, you wrote:
>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
> > >
> > >
> >
> >
> >
> >
*****************************************************************
MuntadaNet Web Hosting and Web Design Services
http://www.muntada.com
Sales - sales (at mark) muntada.com
Support - support (at mark) muntada.com
Billing - billing (at mark) muntada.com
Main Office - 808-689-6092
Fax - (808) 356-0279
*****************************************************************