From: Jim F. <ja...@wa...> - 2006-03-02 13:36:45
|
Matt Brown wrote: >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 >>making a soft link in the web site directory to my installation >>directory /usr/share/phpwiki-1.3.11p1. I understand that this is not the >>'proper' way to do it, and I should use an apache alias. Could someone >>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 > >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=/phpwikidata > >All other path related options should be left commented out at their >defaults. > > > Thanks Matt - it works fine now. Jim Ford |