[Chameleon] 1.99 Installation

Paul Spencer pagameba at magma.ca
Thu Jun 17 08:37:35 EDT 2004


Ken,

sorry, the documentation is sorely out of date and is being actively 
worked on (well, maybe not this minute, but Real Soon Now ;))

answers inline ...

Cheers,

Paul

Ken Sanderson wrote:
> This is my first install of Chameleon and I have a few questions as I go
> through the process:
> 
> 1) I am following the instructions in: CWC2_Installation.txt is this the
> right way to go?

this is probably out of date.  I'll try to take a look at it today and 
post an updated version on the list ...

> 2) It talks about installing geobase and the included files, which are
> not included in the 1.99 package. For 1.99 do I just direct things like
> default_template to a file in the samples folder? If so which file?

a lot of the configuration parameters actually have no meaning to the 
chameleon 1.99 package as it exists in the first beta.  Things like 
default_template are specific to the operation of the Service Instance 
which is not in 1.99.

In the cvs version (hopefully a 1.99 beta 2 will be released shortly), 
the configuration file has been split into two separate files, one for 
configuring chameleon and one for configuring the service instance 
(which will be in beta 2).

The settings that are important to you are:

web_server_path - the URL to chameleon, this can be 
http://<server>/chameleon or just /chameleon/

mapscript_module - the mapscript module you are using, typically 
something like php_mapscript_42.dll or .so

tmp_img_path  - directory to store temp files in, like /tmp/ms_tmp/
tmp_web_path  -URL to the above, typically /ms_tmp/
button_cache_path  - a directory to store cached buttons, its temporary 
but should not be cleaned out regularly on a production server, 
typically /tmp/ms_tmp/buttons/
button_cache_web_path - URL to the above, typically /ms_tmp/buttons/

> 
> 3) How many folders do we need to store data and whats the difference
> between them? Going through the config file to setup the parameters I
> was getting confused. My problem is as a new user I am not sure what
> certain 'terms' mean. For example given the list below, whats is cached
> capabilities? What are the context files and template files?
> 
> server_data_path - This is where cached capabilities and other
> information, common to each session, should be.

not required right now

> log_path - Directory in which to write log files.

no longer used, ignore

> button_cache_path - Directory in which to write image files generated
> for buttons.
> tmp_img_path - Directory where temporary image files are put.

both explained above

> context_root - Absolute root path to context files. All context should
> be in that folder (or sub folder).
> template_root - Absolute root path to template files. All template
> should be in that folder (or sub folder).

these are specific to the service instance mode and can be ignored in 
your installation

> 
> Here is what I am thinking so far. Data is where I would put my GIS data
> and similar, using the data folder. Log path, just created a folder
> under cwc2 called 'logs'. Button and img path, I was just going to
> create one folder for both of these that's web accessable. No idea what
> to say for context and template roots?
>

Anything that is in chameleon is for chameleon's use, not yours :)  You 
can put your GIS data anywhere you like, you configure that on a 
per-application basis in the MAP file used for that application 
(shapepath).


> Thanks for the help,
> 
> Ken
> 
> 
> _______________________________________________
> Chameleon mailing list
> Chameleon at lists.maptools.org
> http://lists.maptools.org/mailman/listinfo/chameleon
> 

-- 
  -----------------------------------------------------------------
|Paul Spencer                           pspencer at dmsolutions.ca   |
|-----------------------------------------------------------------|
|Applications & Software Development                              |
|DM Solutions Group Inc                 http://www.dmsolutions.ca/|
  -----------------------------------------------------------------



More information about the Chameleon mailing list