[wikka-community] Redirect
ddevine
ddevine
Wed Feb 6 20:34:02 GMT 2008
Brian Koontz wrote:
>> 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
>
This did it. Moving to above that caused the redirect to actually
process :) Thanks for the added help! :D
--
Derrick Devine, Technical Writer
phone: (919) 851-3984 x2151
fax: (919) 851.3985
rPath, Inc., The Software Appliance Company
701 Corporate Center Drive
Raleigh, NC 27607
www.rPath.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: OpenPGP digital signature
Url : http://mail.wikkawiki.org/pipermail/community_wikkawiki.org/attachments/20080206/8e2794d6/attachment.bin
More information about the community
mailing list