From: Matt B. <ma...@ma...> - 2006-03-01 19:34:28
|
On Wed, 2006-03-01 at 14:10 +0000, Jim Ford wrote: > I've finally got Phpwiki working O.K.. I've made it visible to users by=20 > making a soft link in the web site directory to my installation=20 > directory /usr/share/phpwiki-1.3.11p1. I understand that this is not the=20 > 'proper' way to do it, and I should use an apache alias. Could someone=20 > tell me how I should make the alias, please? There is some documentation on the wiki at: However so many people have added stuff to that page overtime that it's hideously confusing! So, I'll tell you how I do it in the Debian package (which installs phpwiki to /usr/share/phpwiki), which seems to work well with Apache 1/2=20 Alias /phpwikidata /usr/share/phpwiki/ Alias $docroot /usr/share/phpwiki/index.php <Directory /usr/share/phpwiki/> DirectoryIndex index.php Options +FollowSymLinks AllowOverride None Order allow,deny allow from all </Directory> Where $docroot is the location you want the wiki to appear at (ie. /, /phpwiki, /wiki, etc.) The magic you need to make this work inside the PHPwiki config is simply DATA_PATH=3D/phpwikidata All other path related options should be left commented out at their defaults. HTH. Cheers --=20 Matt Brown ma...@ma... Mob +64 21 611 544 www.mattb.net.nz |