Re: [Mediawiki-l] Short URL using rewriterule without rename wiki to w

2012-05-29 Thread Chee-Yang Chau
You are right... On Mon, May 28, 2012 at 9:17 AM, Krinkle wrote: > On Mon, May 28, 2012 at 2:57 AM, Chee-Yang Chau wrote: > > > I found the solution, in .htaccess: > > > > RewriteEngine On > > > > RewriteCond %{SCRIPT_FILENAME} -f [OR] > > RewriteCond %{SCRIPT_FILENAME} -d > > RewriteRule .* -

Re: [Mediawiki-l] Short URL using rewriterule without rename wiki to w

2012-05-27 Thread Krinkle
On Mon, May 28, 2012 at 2:57 AM, Chee-Yang Chau wrote: > I found the solution, in .htaccess: > > RewriteEngine On > > RewriteCond %{SCRIPT_FILENAME} -f [OR] > RewriteCond %{SCRIPT_FILENAME} -d > RewriteRule .* - [L] > > RewriteRule ^wiki/(.+)$ wiki/index.php/$1 [L,QSA] > > This means you can't ha

Re: [Mediawiki-l] Short URL using rewriterule without rename wiki to w

2012-05-27 Thread Chee-Yang Chau
I found the solution, in .htaccess: RewriteEngine On RewriteCond %{SCRIPT_FILENAME} -f [OR] RewriteCond %{SCRIPT_FILENAME} -d RewriteRule .* - [L] RewriteRule ^wiki/(.+)$ wiki/index.php/$1 [L,QSA] On Sun, May 27, 2012 at 7:16 AM, Platonides wrote: > On 24/05/12 03:00, Chee-Yang Chau wrote: >

Re: [Mediawiki-l] Short URL using rewriterule without rename wiki to w

2012-05-26 Thread Platonides
On 24/05/12 03:00, Chee-Yang Chau wrote: > Hi, > > Here is my environment: > > 1. Fedora Core 16 > 2. Apache httpd 2.2.22 > 3. MediaWiki 1.19 > > Most of the short url solution provided are using renaming method: e.g.: > wiki to w > > What if I want to stay with wiki directory without renaming?

[Mediawiki-l] Short URL using rewriterule without rename wiki to w

2012-05-23 Thread Chee-Yang Chau
Hi, Here is my environment: 1. Fedora Core 16 2. Apache httpd 2.2.22 3. MediaWiki 1.19 Most of the short url solution provided are using renaming method: e.g.: wiki to w What if I want to stay with wiki directory without renaming? Can I enjoy short url too ? This is what I have tried: File: