Am 28.05.2010 22:16, schrieb Lukas Haase:
> Am 28.05.2010 22:03, schrieb OQ:
>> On Fri, May 28, 2010 at 2:58 PM, Lukas Haase<[email protected]>   wrote:
>>> Hi,
>>>
>>> My rewrite rule just maps the address "/" internally to the main page.
>>> The user should NOT be redirected. This is obviously done by MediaWiki.
>>>
>>
>> It can't be both.
>> Either
>> A) You moved mediawiki to /w/ in which accessing / shouldn't ever
>> reach mediawiki
>
> This is obviously done by MediaWiki (I guess with header("Location ...")
>
>> B) Or you didn't move mediawiki to /w/ even though you say you did.
>
> I did:
>
> $ ls -la
> insgesamt 20
> drwxr-xr-x  3 luke www-data  4096 28. Mai 23:44 .
> drwxr-xr-x 18 luke www-data  4096 27. Mai 23:42 ..
> -rw-r--r--  1 luke www-data  335  28. Mai 23:44 .htaccess
> drwxr-xr-x 16 luke www-data  4096 28. Mai 23:32 w
> $ cat .htaccess
> RewriteEngine on
> RewriteRule ^$   /wiki/Main_Page


I think I got it working :-)

$ cat .htaccess
RewriteEngine on
RewriteRule ^$  /w/index.php?title=Main_Page

Maybe the problem was a conflict between the Alias and the RewriteRule ...

Regards,
Luke


_______________________________________________
MediaWiki-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l

Reply via email to