<div>Hi guys,</div>
<div>&nbsp;</div>
<div>I've been working on this topic for almost two weeks, and I still can not get it work. In last two days, Fernando Simon has helped me a lot to solve this problem, Simon, thank you, I really appreciate it. With his help I stepped forward to solve this problem, but I still can not get it work.
</div>
<div>&nbsp;</div>
<div>according to Fernando Simon's suggestion I made the test with the command:</div>
<div>&nbsp;</div>
<div>C:\ms4w&gt; mapserv.exe &quot;QUERY_STRING=localhost/cgi-bin/mapserv.exe?&amp;mode=map&amp;map=C:\ms4w\apps\Demo\OracleTest.map&quot; ,</div>
<div>&nbsp;</div>
<div>and I get the map image successfully. In the OracleTest.map mapfile, two oracle layers are defined, one with native oracle suppport, one with OGR OCI interface. </div>
<div>&nbsp;</div>
<div>tests with the command mapserv -v and ogrinfo --formats indicate that oracle spatial and OCI are supported. with the &quot;ogrinfo OCI:XX/XX@XXXX&quot; command is also no problem to access the the oracle database, I can even use ogr2ogr command to convert the oracle spatial layer to ESRI Shapefile.
</div>
<div>&nbsp;</div>
<div>but the problem is, if I am trying to access the oracle spatial database in web browse, an Internal Server Error is returned instead of the map image. i really can not figure out what the problem is.</div>
<div>&nbsp;</div>
<div>thanks for any ideas to solve this problem.</div>
<div>&nbsp;</div>
<div>zhonghai</div>
<div>&nbsp;</div>