From: Marc T. <to...@un...> - 2003-03-21 17:15:55
|
Hello, I've tried to do this 1- put a .htaccess to restrict access in phpwiki directory 2- switch to postgresql 3- Because the connection requires a password, I change a little bit the connection in lib/pgsql.php $connectstring = $pg_dbhost?"host=$pg_dbhost ":""; $connectstring .= $pg_dbport?"port=$pg_dbport ":""; $connectstring .= $WikiDataBase?"dbname=$WikiDataBase ":""; $connectstring .= $WikiDataBase?"password=xxxx":""; (I should add a variable in the general conf file...) The connexion is successful. Problems: 1) I obtain standard wiki pages, but it seems that I am not able to edit pages. 2) I cannot access admin.php (It loop forever and tries to open admin.php either with the admin passwd or with the login defined in .htaccess) Any idea ? Marc. |