Hello everybody !
I want to create some pages to share only with one friend, using the features of my wiki (extensions I made).
Here is my idea, but it doesn't work properly. Do you see something wrong ?
1) Create all article as subpage, i.e. Private/article1, Private/article2... no problem 2) Create a directory called Private, with .htaccess and .htpasswd to protect it, it works good, my browser ask me for login and password, once entered, I see the empty folder Private.
BUT I use URL rewriting rules to make pretty URL like mysite.com/Articleinstead of mysite.com/index.php?title=Article
Here is my root .htaccess file : # test if rewrite should stop for # special directories RewriteRule ^(images|skins|stats|extensions)/ - [L] # others... RewriteRule .ico|sitemap.xml|robots?.txt$ - [L]
# uncomment this rule if you want Apache to redirect from www.mysite.com/ to # www.mysite.com/wiki/Main_Page RewriteRule ^/$ /Accueil [R]
# do the rewrite RewriteRule ^/?(.*)$ /index.php?title=$1 [L,QSA]
So when I call mysite.com/Private/article1, my browser see that there is a Private folder, and asks the login/pass => oh yessss ! that's OK ...and after it does the redirect => ERROR 500 ! Aaaargh !
What causes the 500 error ?
mediawiki-l@lists.wikimedia.org