<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.2800.1528" name=GENERATOR></HEAD>
<BODY>
<DIV dir=ltr align=left><SPAN class=sg><FONT color=#0000ff>Pssdal<SPAN
class=222464401-08032006>,</SPAN></FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=sg><SPAN
class=222464401-08032006></SPAN></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=sg><SPAN class=222464401-08032006><FONT
face=Arial color=#0000ff size=2>It will help very much if you can tell us what
your PHP log says. That will tell us where it's going
wrong.</FONT></SPAN></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=sg><SPAN class=222464401-08032006><FONT
face=Arial color=#0000ff size=2></FONT></SPAN></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=sg><SPAN class=222464401-08032006><FONT
face=Arial color=#0000ff size=2>regards,</FONT></SPAN></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=sg><SPAN class=222464401-08032006><FONT
face=Arial color=#0000ff size=2></FONT></SPAN></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=sg><SPAN class=222464401-08032006><FONT
face=Arial color=#0000ff size=2>Jacob</FONT></SPAN></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=sg><SPAN
class=222464401-08032006></SPAN></SPAN> </DIV><BR>
<BLOCKQUOTE
style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #0000ff 2px solid; MARGIN-RIGHT: 0px">
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B> chameleon-bounces@lists.maptools.org
[mailto:chameleon-bounces@lists.maptools.org] <B>On Behalf Of </B>Pssdal
Bakosurtanal<BR><B>Sent:</B> 8 March 2006 09:36<BR><B>To:</B>
chameleon@lists.maptools.org<BR><B>Subject:</B> [Chameleon] Path or Directory
In Chameleon<BR></FONT><BR></DIV>
<DIV></DIV>
<DIV style="DIRECTION: ltr">Dear Expert,<BR><BR>Chameleon has cleared
directory structure like as
:<BR>-web/samples/<BR>|---data/<BR>| |__
50000/<BR>|
|___diox<BR>|
| |___ diox1.shp ,
diox1.dbf
<BR>|
|___gnlh<BR>|___ map/<BR>|___ etc/<BR>|___ htdocs/<BR><BR>My problem is when I
created sub folder under htdocs like as below<BR>-htdocs/<BR>|___
diox/<BR>| |____
diox1.map<BR>| |____
diox1.phtml <BR>| |____
diox1.html<BR>| |____
diox1.xml<BR>|___ gnlh/<BR>|___ etc/<BR><BR>and I want to use this subfolder
to collect files of mapfile, html file, phtml file and also xml.file,<BR>for
example I would like to put diox1.map, diox1.html,diox1.phtml and diox1.xml
under subfolder of "diox".<BR><BR>When I try to to access <A
onclick="return top.js.OpenExtLink(window,event,this)"
href="http://server/map/diox/diox1.phtml"
target=_blank>http://server/map/diox/diox1.phtml</A> I can't see anything?
<BR>Could you help me where is the problem?<BR><BR>Here is detail of my script
:<BR>1. setting httpd.d<BR> httpd_pssdalweb.conf
:<BR>=============================<BR>Alias /pssdalweb/
"/ms4w/apps/pssdalweb/" <BR><Directory
"/ms4w/apps/pssdalweb/"><BR> AllowOverride None<BR> Options
Indexes FollowSymLinks Multiviews <BR> Order allow,deny<BR> Allow
from all<BR></Directory><BR>====================================
<BR> httpd_map.conf
:<BR>========================================<BR>Alias /map/
"/ms4w/apps/pssdalweb/spasial/htdocs/50000/"<BR><Directory
"/ms4w/apps/pssdalweb/spasial/htdocs/50000/"><BR> AllowOverride None
<BR> Options Indexes FollowSymLinks Multiviews <BR> Order
allow,deny<BR> Allow from
all<BR></Directory><BR>=========================================<BR><BR>2.
Mapfiles diox1.map <BR>============================================
<BR>.......<BR> SHAPEPATH
"../data/50000/"<BR> IMAGECOLOR 255 255
255<BR> FONTSET ../etc/fonts.txt <BR>
SYMBOLSET ../etc/symbols.sym<BR>
UNITS dd<BR> <BR>....<BR>
IMAGEPATH "/ms4w/tmp/ms_tmp/" <BR> IMAGEURL
"/ms4w/tmp/ms_tmp/"<BR># LOG
"/MS4W/tmp/gmap.log"<BR>..........<BR> # Start of LAYER DEFINITIONS
---------------------------------------------<BR> <BR>LAYER # Hidrologi
<BR> GROUP "Hidrologi" <BR><BR>
NAME
hidr<BR><BR> METADATA<BR>
"DESCRIPTION" "HIDROLOGI"<BR>
"RESULT_FIELDS" "Keterangan"<BR> "GROUP"
"Hidrologi"<BR> "LAYER" "hidr11"
<BR> END<BR> <BR>
DATA
"hidr/hidr11"<BR> STATUS
ON<BR> TYPE
POLYGON<BR><BR> TEMPLATE "ttt_query.html"<BR>
<BR> TOLERANCE 5<BR> <BR>
TOLERANCEUNITS PIXELS <BR><BR>
PROJECTION<BR>
"init=epsg:4326"<BR> END<BR>
<BR> CLASS<BR>
NAME "Keterangan"<BR>
COLOR 190 198
97<BR> OUTLINECOLOR 0 0 0<BR>
END<BR><BR>.....<BR>END # Dissolved Oxygen Kutim <BR><BR>END # end of map
file<BR>=================================================<BR><BR>3. html file
:
diox1.html<BR>=================================================<BR>.............<BR><div
align="center" id="TitleLayer" name="TitleLayer"> <BR><!-- TITLE -->
<BR><cwc2 type="Title" label="Kutai Timur Propinsi Kalimantan Timur"
labelclass="title"><BR></cwc2><BR><!-- SESSIONEXPIRED
--><BR><cwc2 type="SessionExpired" text="Your session has expired.">
<BR></cwc2><BR></div><BR>......<BR><BR><div align="left"
id="LegendLayer" name="LegendLayer"><BR><table cellspacing="0"
cellpadding="2"><BR> <cwc2 type="XMLThemeLegend" popupwidth="400"
popupheight="400"> <BR>
<selection name="SampleLegend" template="htdocs/50000/diox/diox1.html"
themefile="htdocs/50000/diox/diox1_themes.xml"
contextfile="htdocs/50000/diox/diox1.map"
rendererfile="indonesia_renderer.html"/> <BR>
</cwc2><BR>.......<BR>==========================================================<BR><BR>4.
phtml file diox1.phtml<BR>========================================]
<BR>...<BR>$szTemplate = "./50000/diox/diox1.html";<BR>$szMapFile =
"../htdocs/50000/diox/diox1.map";
<BR>.....<BR>============================================== <BR><BR>5.xml file
diox1.xml<BR>=================================<BR><themes><BR>
<global><BR> <separator
name="Separator" isVisible="yes"
src="http://..."/><BR>
<themeParams bold="true" font="Arial, Helvetica, sans-serif"
size="2" extendAbstract="true" icon="images/unknown.gif"
extendContext="false"/> <BR>
<groupParams bold="false" font="arial" size="8.25"
extendAbstract="true" icon="images/unknown.gif"
visible="true"/><BR>
</global><BR><BR> <theme name="Hidrologi"
type="checkbox"
ABSTRACT="TBA"><BR> <group
name="Hidrologi" ABSTRACT="TBA" visible="true" icon="images/hidro.gif">
<BR>
<layer name="hidr"/><BR>
</group> <BR>
</theme><BR> <BR> <theme
name="Jalan" type="checkbox"
ABSTRACT="TBA"><BR> <group
name="Jalan Kutim" ABSTRACT="TBA" visible="true" icon="images/jalan.gif">
<BR>
<layer name="jln"/><BR>
</group> <BR> </theme><BR><BR>
<theme name="D A S" type="checkbox"
ABSTRACT="TBA"><BR> <group
name="Sungai" ABSTRACT="TBA" visible="true" icon="images/sngl.gif">
<BR>
<layer name="sngl9"/><BR>
</group> <BR>
</theme><BR><BR> <theme name="Analisis"
type="checkbox"
ABSTRACT="TBA"><BR> <group
name="Dissolved Oxygen" ABSTRACT="TBA" visible="true"
icon="images/pnt.gif">
<BR>
<layer name="diox"/><BR>
</group> <BR>
</theme><BR> <BR> <theme
name="Lain" type="checkbox" ABSTRACT="TBA" extralayers="true">
<BR>
</theme><BR></themes>
<BR> ================================================================<BR><BR>regards,<BR></DIV><SPAN
class=sg>Pssdal<BR></BLOCKQUOTE></SPAN></BODY></HTML>