# what type of database do you want the site to run on? postgres/mysql/sqlite dbtype =
# What's the name of the database that this site runs on? dbname =
# ...the database user that can access that database? dbuser =
# ...the password that they use to access the database? dbpass =
# ...the machine that the database is hosted on? (blank if local) dbhost =
# What do you want the script to be called? script_name =
# What directory should I install it in? install_directory =
# what directory should I install the templates in? template_path =
# What URL does the install directory map to? script_url =
# What directory can I use to store indexes in for searching? ***NOTE*** This directory must exist and be writeable by the user that your script will run as. See README for more on this. indexing_directory =
# Do you want to enable page deletion? enable_page_deletion =
# What's the URL of the site's stylesheet? stylesheet_url =
# What's the site called? (should be unique) site_name =
# Do you want the navigation bar included on the home page? navbar_on_home_page =
# What should the home page of the wiki be called? home_name =
# How would you describe the site? site_desc =
# What city is the site based in? default_city =
# What country is the site based in? default_country =
# Do you want to include Ordnance Survey grid coordinates (only relevant to the UK and Ireland) os_coords =
# Do you want to include UTM coordinates (zone, easting, northing) utm_coords =
# Which ellipsoid to use for UTM conversion? (enter ellipsoid name) utm_ellipsoid =
# What do you want the distance finder to base its calculation on? UTM/grid distance_coords =
# What language will the site be in? (Please give an ISO language code.) default_language =
# Contact email address for the site administrator? contact_email =
# What's the name of the node to use for the text formatting rules link? formatting_rules_node =
On Mon, May 10, 2004 at 08:09:28AM +0100, IvorW wrote:
# What directory can I use to store indexes in for searching? ***NOTE*** This directory must exist and be writeable by the user that your script will run as. See README for more on this. indexing_directory =
In my experience this isn't true. It is sufficient to ensure that the indexes are created and then to change the permissions of the index files to that which the script will run as.
As an aside (and I admit I've not looked at the code in this regard) what is the rationale behind these being in a separate database from the rest?
Cheers,
Dominic.
On Mon, May 10, 2004 at 08:09:28AM +0100, IvorW wrote:
# What directory can I use to store indexes in for searching?
On Mon 10 May 2004, Dominic Hargreaves dom@earth.li wrote:
As an aside (and I admit I've not looked at the code in this regard) what is the rationale behind these being in a separate database from the rest?
When I wrote this bit, the only decent search modules on CPAN were DBIx::FullTextSearch, which only worked with MySQL and Search::InvertedIndex, which worked with MySQL and DBM. I wrote an extension to make Search::InvertedIndex work with Postgres, but the core would need to be patched to make it work with SQLite and, well, I sent the patch, and I prodded, but the maintainer was ill and busy. So the only choice was to go with the DBM files.
Long-term I want to move the search over to Plucene - Simon has been working on a CGI::Wiki plugin for it.
Kake
On Monday 10 May 2004 02:09, IvorW wrote:
# Which ellipsoid to use for UTM conversion? (enter ellipsoid name) utm_ellipsoid =
# What do you want the distance finder to base its calculation on? UTM/grid distance_coords =
Some nice defaults or explanations would be neccessary for those of us who don't know an ellipsoid from an egg.
-Chris
openguides-dev@lists.openguides.org