From: <art...@vo...> - 2003-01-30 01:27:47
|
Hi,=0D=0A=0D=0AI've just upgraded to phpwiki 1.3.4, and I've some problem= s:=0D=0A=0D=0A1) Wiki Farm=0D=0A=0D=0AI would like to host multiple wikis= with the same phpwiki source code.=0D=0AFor this, I configured index.php= with:=0D=0A$include_path =3D "/home/http/phpwiki/";=0D=0Aif (!defined('D= ATA_PATH')) define('DATA_PATH', '/wiki/');=0D=0Aif (!defined('USE_PATH_IN= FO')) define('USE_PATH_INFO', true);=0D=0A=0D=0AI created a 'wiki' file:=0D= =0Adefine('WIKI_NAME', "wiki");=0D=0Adefine('THEME', 'default');=0D=0A$LA= NG =3D 'fr';=0D=0Ainclude "index.php";=0D=0A$DBParams['dbtype'] =3D 'SQL'= ;=0D=0A$DBParams['dsn'] =3D 'mysql://phpwiki:phpwiki@localhost/phpwiki';=0D= =0Ainclude "lib/main.php";=0D=0A=0D=0Aand I created a .htaccess file for = Apache 2.0.44:=0D=0AAcceptPathInfo on=0D=0A<Files wiki>=0D=0A ForceTyp= e application/x-httpd-php=0D=0A</Files>=0D=0A=0D=0AI created wiki2, wiki3= , etc. from the same model. Everything works.=0D=0A=0D=0ANow, I would lik= e to group the wiki* files into one directory, for easy backup=0D=0Aand u= pdate. I created a /home/http/phpwiki/wikis/ directory, containing the=0D= =0A.htaccess file and the wiki files. I created an Apache alias like this= :=0D=0AAlias /wiki/ /home/http/phpwiki/wikis/=0D=0Ain order to access the= wikis via e.g. .../wiki/wiki1/WikiPage=0D=0A=0D=0Abut it doesn't work. I= just get junk characters.=0D=0A=0D=0AWhat do I need to do to group the w= iki files into one directory ?=0D=0A=0D=0A=0D=0A2) LANG=0D=0A=0D=0A$LANG = =3D 'fr' in the wiki file doesn't change anything.=0D=0AThe only way I ca= n change the language is by editing DEFAULT_LANGUAGE in=0D=0Aindex.php, b= ut I'd like to do it in the wiki files.=0D=0A=0D=0AIs it a bug or the wro= ng way to set the language ?=0D=0A=0D=0A=0D=0A3) HTTP Auth=0D=0A=0D=0AI'd= like to use the auto-login feature via HTTP auth. index.php contains:=0D= =0Aif (!defined('ALLOW_HTTP_AUTH_LOGIN')) define('ALLOW_HTTP_AUTH_LOGIN',= true);=0D=0Aif (!defined('ALLOW_USER_LOGIN')) define('ALLOW_USER_LOGIN',= true);=0D=0Aif (!defined('ALLOW_BOGO_LOGIN')) define('ALLOW_BOGO_LOGIN',= false);=0D=0Aif (!defined('REQUIRE_SIGNIN_BEFORE_EDIT')) define('REQUIRE= _SIGNIN_BEFORE_EDIT', false);=0D=0A=0D=0ABut it doesn't work. It seems to= be work in progress. Do you know if it will=0D=0Abe finished soon ?=0D=0A= =0D=0A=0D=0A4) External Search=0D=0A=0D=0AThe ExternalSearch plugin doesn= 't work. It just creates the "ExternalSearch"=0D=0Awiki page. I'm not the= only one in this situation, for instance=0D=0Ahttp://mingo.ath.cx/phpwik= i/index.php/ExternalSearchPlugin=0D=0Aexperiences the same problem.=0D=0A= =0D=0AIs it a bug or a misconfiguration ?=0D=0A=0D=0A=0D=0A5) Php.ini=0D=0A= =0D=0AIn php.ini, you need "allow_call_time_pass_reference =3D On" or you= 'll get=0D=0APHP warnings. Are there plans to fix this, as "Off" is the r= ecommended value ?=0D=0A=0D=0A=0D=0A6) Compression=0D=0A=0D=0ACompression= isn't working for me. I still need to=0D=0A//ob_start('ob_gzhandler');=0D= =0Ain Request.php.=0D=0A=0D=0AI use Apache 2.0.44 and galeon 1.2.7, never= had problems with other sites.=0D=0A=0D=0AHow can I debug this problem ?= =0D=0A=0D=0A=0D=0AThanks !=0D=0A=0D=0A-----------------------------------= -------=0D=0A=0D=0AFaites un voeu et puis Voila ! www.voila.fr =0D=0A |