|
|
mod_rewrite or PATH_INFOIf you dedicate a complete directory for your wiki, you should keep in mind, that some of the generated URLs contain slashes (for example "edit/WikiPage+"), and will look like subdirectories and thus confuse browsers. So you should either set EWIKI_SCRIPT to the absolute directory containing your wiki wrapper script: define(EWIKI_SCRIPT, "http://myserver/wiki/"); or else put a <BASE HREF="..."> into the generated pages. Take this precaution because some of the generated links contain additional slashes (like "edit/ThisPage+") and thus may make browsers believe in a changed subdirectory. This applies to mod_rewrite usage and if you call your wiki wrapper with the page name as PATH_INFO (like "/wiki/index.php/WikiPage+"). Do not forget to enable EWIKI_USE_PATH_INFO+, as it is per default disabled for Apache servers! Also check, if EWIKI_URLENCODE and _URLDECODE suit your needs, else you will find it useful that all URL generation is encapsulated in our ewiki_script() function (so you can easily adjust it).prev << "mod_rewrite or PATH_INFO" next >> "use with the 404 trick" You cannot modify the README file, but anyhow any ideas or suggestion should as usually get filed on BugReports, UserSuggestions or even better the README.Discussion. |