Jens Körner wrote:
> Got problems to get mediawiki work properly. What I did,
> 1. installed the complete mediawiki to /var/www/wiki/
> 2. made it chown root:www-data as described in that installation
> guide on mediawiki's homepage
> 3. created a file "wiki"in /cherokee/sites-available/ with
>
> Directory /wiki {
> Handler phpcgi
> DocumentRoot /var/www/wiki/
> }
>
> ln -s blah-foo...
Try with this. It should be enough to make it works:
====
Extension php {
Handler phpcgi
}
Directory /wiki {
Handler common
}
====
> Pointing the browser to http://localhost/wiki/index.php I get
> redirected to http://localhost/index.php?title=Mainpage and lots of
> error messages 404 as you can imagine. Where is my fault?
>
> Pointing the browser to
> http://localhost/wiki/index.php?title=Mainpage I see the bare page
> without any decoration because the style file can not be found...
If you specify the extension, you will not have to care any more
about the directory.
As long as the directory is managed with the common handler, it will
send the images inside it.
Ah, you don't need to add the DocumentRoot inside the directory. As
long as your document root is /var/www and the directory is wiki, it
will be mapped automatically.
I hope it will work, good luck Jens! :-)
--
Greetings, alo.
http://www.alobbs.com
_______________________________________________
Cherokee mailing list
[email protected]
http://www.alobbs.com/cgi-bin/mailman/listinfo/cherokee