<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 href="http://server/map/diox/diox1.phtml" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
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></span>