[wikka-community] Redirect
Brian Koontz
brian
Tue Feb 5 21:59:32 GMT 2008
> Unfortunately, neither one of these tricks are working. :( I was hoping
> for a way that the wiki could redirect. FYI, I use site5 for my
> hosting. Here's my .htaccess:
>
> AddHandler application/x-httpd-php5 .php
> #RewriteEngine On
> #RewriteCond %{REQUEST_FILENAME} !-f
> #RewriteCond %{REQUEST_FILENAME} !-d
> #RewriteRule ^(.*)$ /index.php?title=$1 [L,QSA]
> #Options +FollowSymLinks
> #RewriteBase /docs
> <IfModule mod_rewrite.c>
> RewriteEngine on
> RewriteCond %{REQUEST_FILENAME} -d
> RewriteRule ^(.*/[^\./]*[^/])$ $1/
> RewriteRule ^(.*)$ wikka.php?wakka=$1 [QSA,L]
> </IfModule>
> RewriteRule ^index.php.*$ HomePage/
> Redirect permanent http://docs.mypclinuxos.com/index.php?title=Main_Page
> http://docs.mypclinuxos.com/
Try moving the last two lines before this line:
> RewriteRule ^(.*)$ wikka.php?wakka=$1 [QSA,L]
I believe your new RewriteRule will never be processed because of the
[L] (last) flag in the rule immediately preceding it.
--Brian
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://mail.wikkawiki.org/pipermail/community_wikkawiki.org/attachments/20080205/800a8c87/attachment.bin
More information about the community
mailing list