![]() |
||||
|
|
||||
[Fwd: Re: [Chameleon] configuration problems !]Paul Spencer spencer@dmsolutions.caWed, 27 Aug 2003 20:41:50 -0400
|
||||
This is a multi-part message in MIME format.
--------------070203020905060107050101
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
opps, forgot to cc: mailing list.
--------------070203020905060107050101
Content-Type: message/rfc822;
name="Re: [Chameleon] configuration problems !"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
filename="Re: [Chameleon] configuration problems !"
Message-ID: <3F4D4FA1.9000208@magma.ca>
Date: Wed, 27 Aug 2003 20:41:05 -0400
From: Paul Spencer <pagameba@magma.ca>
Reply-To: spencer@dmsolutions.ca
Organization: DM Solutions Group Inc
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.5b) Gecko/20030723 Thunderbird/0.1
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: Jordy Keighan <jkeighan@cubewerx.com>
Subject: Re: [Chameleon] configuration problems !
References: <3F4B9C13.8010707@cubewerx.com>
In-Reply-To: <3F4B9C13.8010707@cubewerx.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Jordy
I think that your configuration of cwc2_url is incorrect. If you type
in http://jordy/cwc2/ do you see a list of directories like config,
data, htdocs, htdocs_admin or do you see images, js, widgets and some
php files (including cwc2.php)?
If it is the first case, then cwc2_url should be
http://jordy/cwc2/htdocs. If it is the second case, then you should be
attempting to access http://jordy/cwc2/cwc2.php?...
I think, from the other parameters, that it is the first case. This may
be affecting loading of images.
Cheers,
Paul
Jordy Keighan wrote:
> Hello, i'm trying this string ,
>
> http://jordy/cwc2/htdocs/cwc2.php?TEMPLATE=simplest.html&CONTEXT=gmap_context.xml
>
>
> The page apears with broken images. I'm not shure if my config file is
> set wrong or not?
> or what is the problem. Can someone help me.
>
> Here it is:
>
>
> <app-context>
> <context-param>
> <param-name>cwc2_url</param-name>
> <param-value>http://jordy/cwc2/</param-value>
> <description>This is the URL that points to the HTDOCS
> directory of the local cwc2 inst
> allation.</description>
> </context-param>
>
> <context-param>
> <param-name>server_data_path</param-name>
> <param-value>/home/httpd/html/cwc2/data/</param-value>
> <description>This is where cached capabilities and other
> information, common to each se
> ssion, should be. When a user start a new session, all files from that
> directory are copied to
> user_session_tmp_path</description>
> </context-param>
>
> <context-param>
> <param-name>ows_schemas_location</param-name>
> <param-value>http://ogc.dmsolutions.ca</param-value>
> <description>URL pointing to the root of a repository of OGC
> schemas. See http://ogc.d
> msolutions.ca for an example.</description>
> </context-param>
>
> <context-param>
> <param-name>wms_parse_file</param-name>
>
> <param-value>/home/httpd/html/cwc2/htdocs/common/wmsparse/wmsparse</param-value>
>
> <description>Full file path to the binary wms parser executable
> ('/path/to/wmsparse' on
> Unix, '/path/to/wmsparse.exe' on Windows). Leave empty to use the
> built in PHP parser (slower
> ).</description>
> </context-param>
>
> <context-param>
> <param-name>wms_connectiontimeout</param-name>
> <param-value>30</param-value>
> <description>Maximum time in seconds that MapServer will wait
> for an answer from a WMS
> server.</description>
> </context-param>
>
> <context-param>
> <param-name>allow_upload_context</param-name>
> <param-value>true</param-value>
> <description>Enable the "Upload map context" feature? (true or
> false).</description>
> </context-param>
>
> <context-param>
> <param-name>allow_upload_template</param-name>
> <param-value>true</param-value>
> <description>Allow use of the 'TEMPLATE=' parameter when
> calling the CWC2 instance to s
> pecify any CWC2 HTML template url? (true or false) If set to false
> then the value of 'default_
> template' config parameter is always used.</description>
> </context-param>
>
> <context-param>
> <param-name>cache_template</param-name>
> <param-value>true</param-value>
> <description>If template come from a remote server
> (http://....), the template is downl
> oad from that remote server and saved on local server for further
> loading. For performace, it i
> s prefered to set this value to "true". If the remote server template
> is dynamic, this value sh
> ould be set to "false" so the template will be loaded remotely every
> page load.</description>
> </context-param>
>
> <context-param>
> <param-name>validate_template</param-name>
> <param-value>true</param-value>
> <description>Validate the attributes of each tag in the input
> template. This should be
> set to true for debugging but may be set to false in a production
> environment to enhance perfo
> rmance.</description>
> </context-param>
>
> <context-param>
> <param-name>default_language</param-name>
> <param-value>en-CA</param-value>
> <description>Default language specifier. (en-CA or
> fr-CA)</description>
> </context-param>
>
> <context-param>
> <param-name>default_template</param-name>
>
> <param-value>/home/httpd/html/cwc2/htdocs/simplest.html</param-value>
> <description>Default HTML template to use with this CWC2
> instance. Used when TEMPLATE=
> parameter not set, or when allow_upload_template config parameter is
> set to false.</descriptio
> n>
> </context-param>
>
> <context-param>
> <param-name>default_context</param-name>
>
> <param-value>/home/httpd/html/cwc2/htdocs/gmap_context.xml</param-value>
> <description>Default map context to load when starting this
> application</description>
> </context-param>
>
> <context-param>
> <param-name>map_template</param-name>
>
> <param-value>/home/httpd/html/cwc2/htdocs/template.map</param-value>
> <description>Default MapServer mapfile template to use when
> uploading a context file.</
> description>
> </context-param>
>
> <context-param>
> <param-name>mapscript_module</param-name>
> <param-value>php_mapscript_40.so</param-value>
> <description>Mapscript module name (i.e. php_mapscript_40.dll
> for Windows installations
> or php_mapscript_40.so for Unix installations).</description>
> </context-param>
>
> <context-param>
> <param-name>log_path</param-name>
> <param-value>/home/httpd/html/cwc2/tmp/</param-value>
> <description>Directory in which to write log files.</description>
> </context-param>
>
> <context-param>
> <param-name>log_level</param-name>
> <param-value>LOG_NONE</param-value>
> <description>Control the application runtime logging level.
> Must be one of LOG_OFF, LO
> G_QUIET, LOG_VERBOSE or LOG_ALL.</description>
> </context-param>
>
> <context-param>
> <param-name>image_type</param-name>
> <param-value>PNG</param-value>
> <description>Output image type (eg: PNG, GIF). Must be
> uppercase. This image format MUS
> T be supported by your browser and GD (on the server). Please don't
> change that value unless yo
> u know what you'r doing.</description>
> </context-param>
>
> <context-param>
> <param-name>button_cache_path</param-name>
>
> <param-value>/home/httpd/html/cwc2/tmp/ms_tmp/buttons/</param-value>
> <description>Directory in which to write image files generated
> for buttons. This direc
> tory must be writable by the web server user and web accessible. For
> performance reasons, this
> directory should not be cleaned out automatically.</description>
> </context-param>
>
> <context-param>
> <param-name>button_cache_web_path</param-name>
> <param-value>/cwc2/tmp/ms_tmp/buttons/</param-value>
> <description>The URL where a browser can find cached button
> images.</description>
> </context-param>
>
> <context-param>
> <param-name>tmp_web_path</param-name>
> <param-value>/cwc2/tmp/ms_tmp/</param-value>
> <description>URL where browser can find temporary files as
> context or images</descripti
> on>
> </context-param>
>
> <context-param>
> <param-name>tmp_img_path</param-name>
> <param-value>/home/httpd/html/cwc2/tmp/ms_tmp/</param-value>
> <description>Directory where temporary image files are
> put.</description>
> </context-param>
>
> <context-param>
> <param-name>context_root</param-name>
> <param-value>/home/httpd/html/cwc2/htdocs/</param-value>
> <description>Absolute root path to context files. All context
> should be in that folder
> (or sub folder).</description>
> </context-param>
>
> <context-param>
> <param-name>context_maxsize</param-name>
> <param-value>1000000</param-value>
> <description>This is the context file max size that a CWC2 user
> can upload on the serve
> r</description>
> </context-param>
>
> <context-param>
> <param-name>template_root</param-name>
> <param-value>/home/httpd/html/cwc2/htdocs/</param-value>
> <description>Absolute root path to template files. All template
> should be in that folde
> r (or sub folder).</description>
> </context-param>
>
> <context-param>
> <param-name>fontlist_file</param-name>
> <param-value>/home/httpd/html/cwc2/etc/fonts.txt</param-value>
> <description>Path and filename of the font list file used by
> MapServer (i.e. /path/to/f
> ile/fonts.txt ).</description>
> </context-param>
>
> <context-param>
> <param-name>symbol_file</param-name>
> <param-value>/home/httpd/html/cwc2/etc/symbols.sym</param-value>
> <description>Path and filename of the symbol file used by
> MapServer (i.e. /path/to/file
> /symbols.sym ).</description>
> </context-param>
>
> <context-param>
> <param-name>textbutton_default_font_size</param-name>
> <param-value>11</param-value>
> <description>Buttons font size in points</description>
> </context-param>
>
> <context-param>
> <param-name>textbutton_default_font_antialiasing</param-name>
> <param-value>true</param-value>
> <description>Text Button font antialiasing (true or
> false)</description>
> </context-param>
>
> <context-param>
> <param-name>gd_version</param-name>
> <param-value>gd2</param-value>
> <description>Version of GD graphic library (gd, gd2)</description>
> </context-param>
>
> <context-param>
> <param-name>freetype_version</param-name>
> <param-value>freetype</param-value>
> <description>Version of Freetype library used (use "ttf" for
> Freetype 1.3 or "freetype"
> for Freetype 2.x)</description>
> </context-param>
>
> <context-param>
> <param-name>execution_timeout</param-name>
> <param-value>120</param-value>
> <description>The amount of time in seconds to allow PHP to
> process a PHP page. This in
> cludes (for now) the time required to draw remote WMS layers which can
> be lengthy.</description>
> </context-param>
>
> </app-context>
>
>
> thxs
>
> Jordy
>
> _______________________________________________
> Chameleon mailing list
> Chameleon@lists.maptools.org
> http://lists.maptools.org/mailman/listinfo/chameleon
>
--
--
Paul Spencer
Applications and Software Development
DM Solutions Group Inc.
http://www.dmsolutions.ca
--------------070203020905060107050101--
This archive was generated by Pipermail. |
MapTools.org -- Hosted by DM Solutions Group |