From: Carsten K. <car...@ma...> - 2001-11-28 18:54:11
|
Hi Jeff, You've raised some important issues which I didn't consider: security, rootless access and multiple wikis off the same codebase. -rootless access to server I agree, without root access to the server DATA_PATH will still be needed after all. -security Below is another folder layout which I believe takes these issues into consideration. Templates for all the various languages can still be grouped inside a locale folder within a theme, the whole /themes/default/locale/ folder could be excluded from server access. -selection of style sheets independent of themes -muliple style sheets can exist within /themes/default/, independent of language. Moving language specific stuff from index.php is a good idea too. The admin could then specify a default language and a theme and the wiki would be populated with the pgsrc from the default language, and the correct templates and text-messages would automatically be referenced. With this folder layout a new user preference could be added for the language, users could choose any one of the languages available in the current theme and the wiki dynamically serves out the appropriate system text, messages, and menus. Of course the page contents themselves would not change. Carsten /admin .htaccess DENY /docs .htaccess DENY /lib .htaccess DENY /locale (or /data/locale) .htaccess DENY /de /messages -phpwiki.php -phpwiki.mo /pgsrc -MeistBesucht -GuterStil -SeitenErzeugen -GaesteBuch -SeiteFinden -PhpWikiAdministration -WieManWikiBenutzt -SandKiste -PhpWiki -WikiTechnik -KonvertiereLeerzeichenZuTabs -EditiereText -TextFormatierungsRegeln -WabiSabi -WikiWikiWeb -StartSeite /en /messages /pgsrc /es /messages /pgsrc /it /messages /pgsrc /nl /messages /pgsrc /po /messages /pgsrc /sv /messages /pgsrc /schemas .htaccess DENY /tests .htaccess DENY /themes .htaccess ALLOW /default .htaccess ALLOW -default.php (php file here only to define variables for images, css names, and future: optional button graphics, logos etc.) -phpwiki.css -phpwiki-heavy.css -printer-color.css -printer-bw.css -largetext.css -handheld.css -wikibase.png -signature.png -themes.README /locale .htaccess DENY /de /templates -browse.html -editpage.html -message.html /en /templates /es /templates /it /templates /nl /templates /po /templates /sv /templates #eof |