<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META name=GENERATOR content="MSHTML 11.00.9600.16521"></HEAD>
<BODY topMargin=5 leftMargin=5 style="COLOR: #000000; FONT: 12pt Times New Roman"><DIV style="COLOR: #000000; FONT: 12pt Times New Roman"><FONT size=3></FONT>Hello,</DIV>
<DIV style="COLOR: #000000; FONT: 12pt Times New Roman"> </DIV>
<DIV style="COLOR: #000000; FONT: 12pt Times New Roman">I am trying to set up MS4W 3.1.4 on Windows Server 2008 R2 Standard as a WMS Server for internal use of the WMS. I have successfully installed Apache, created a mapfile with a layer and I am able to post requests to Mapserver. My mapfile has the following content:</DIV>
<DIV style="COLOR: #000000; FONT: 12pt Times New Roman"> </DIV>
<DIV style="COLOR: #000000; FONT: 12pt Times New Roman"># Mapfile fuer die autarke Darstellung von Rasterdaten fuer den Katastrophenschutz im Landkreis Elbe-Elster</DIV>
<DIV> </DIV>
<DIV style="COLOR: #000000; FONT: 12pt Times New Roman">MAP<BR> EXTENT 345000 5682322 440000 5754034<BR> FONTSET "D:\ms4w\Apache\Fonts\fonts.list"<BR> IMAGECOLOR 255 255 255<BR> IMAGETYPE png<BR> SYMBOLSET "D:\ms4w\Apache\Symbols\symbol.sym"<BR> SIZE 600 500<BR> STATUS ON<BR> UNITS METERS<BR> NAME "Rasterdaten autark"</DIV>
<DIV> </DIV>
<DIV style="COLOR: #000000; FONT: 12pt Times New Roman"> DEBUG ON<BR> OUTPUTFORMAT<BR> NAME png<BR> MIMETYPE image/png<BR> DRIVER GD/PNG<BR> EXTENSION png<BR> IMAGEMODE RGB<BR> TRANSPARENT FALSE<BR> END</DIV>
<DIV> </DIV>
<DIV style="COLOR: #000000; FONT: 12pt Times New Roman"> PROJECTION<BR> "init=epsg:25833"<BR> END<BR> LEGEND<BR> IMAGECOLOR 255 255 255<BR> KEYSIZE 25 15<BR> KEYSPACING 5 5<BR> LABEL<BR> ANGLE 0.000000<BR> ANTIALIAS TRUE<BR> FONT arial<BR> MAXSIZE 256<BR> MINSIZE 4<BR> SIZE 10<BR> TYPE TRUETYPE<BR> BUFFER 0<BR> COLOR 0 0 0<BR> FORCE FALSE<BR> MINDISTANCE -1<BR> MINFEATURESIZE -1<BR> OFFSET 0 0<BR> PARTIALS TRUE<BR> END<BR> POSITION LL<BR> STATUS ON<BR> END</DIV>
<DIV> </DIV>
<DIV style="COLOR: #000000; FONT: 12pt Times New Roman"> QUERYMAP<BR> COLOR 255 255 0<BR> SIZE 300 300<BR> STATUS ON<BR> STYLE HILITE<BR> END</DIV>
<DIV> </DIV>
<DIV style="COLOR: #000000; FONT: 12pt Times New Roman"> REFERENCE<BR> COLOR -1 -1 -1<BR> EXTENT 3.35726e+06 5.68232e+06 3.42886e+06 5.75403e+06<BR> IMAGE "D:\ms4w\Apache\images\reference.png"<BR> OUTLINECOLOR 255 0 0<BR> SIZE 150 150<BR> STATUS ON<BR> MARKER 0<BR> MARKERSIZE 0<BR> MINBOXSIZE 3<BR> MAXBOXSIZE 0<BR> END</DIV>
<DIV> </DIV>
<DIV style="COLOR: #000000; FONT: 12pt Times New Roman"> SCALEBAR<BR> BACKGROUNDCOLOR 255 255 255<BR> COLOR 0 0 0<BR> IMAGECOLOR 255 255 255<BR> INTERVALS 4<BR> LABEL<BR> SIZE MEDIUM<BR> TYPE BITMAP<BR> BUFFER 0<BR> COLOR 0 0 0<BR> FORCE FALSE<BR> MINDISTANCE -1<BR> MINFEATURESIZE -1<BR> OFFSET 0 0<BR> PARTIALS TRUE<BR> END<BR> OUTLINECOLOR 0 0 0<BR> POSITION LL<BR> SIZE 300 5<BR> STATUS ON<BR> STYLE 0<BR> UNITS METERS<BR> END</DIV>
<DIV> </DIV>
<DIV style="COLOR: #000000; FONT: 12pt Times New Roman"> WEB<BR> EMPTY "D:\ms4w\Apache\html\emptytemplate.html"<BR> FOOTER "D:\ms4w\Apache\html\footer.html"<BR> HEADER "D:\ms4w\Apache\html\header.html"<BR> IMAGEPATH "D:\ms4w\Apache\tmp"<BR> IMAGEURL "D:\ms4w\Apache\tmp"<BR> LOG "D:\ms4w\Apache\logs"<BR> METADATA<BR> "wms_onlineresource" "<A href="http://10.224.160.25:8080/cgi-bin/mapserv.exe?map=D:\ms4w\Apache\cgi-bin\mapfile.map">http://10.224.160.25:8080/cgi-bin/mapserv.exe?map=D:\ms4w\Apache\cgi-bin\mapfile.map</A>&"<BR> "ows_schemas_location" "<A href="http://10.224.160.25/cgi-bin">http://10.224.160.25/cgi-bin</A>"<BR> "wms_title" "Rasterdaten autark"<BR> "wms_enable_request" "*"<BR> "ows_enable_request" "*"<BR> END<BR> QUERYFORMAT text/html<BR> TEMPLATE "D:\ms4w\Apache\html\lkee.html"<BR> END</DIV>
<DIV> </DIV>
<DIV style="COLOR: #000000; FONT: 12pt Times New Roman"> LAYER<BR> NAME "dtk10far"<BR> OFFSITE 255 255 255<BR> SIZEUNITS PIXELS<BR> STATUS ON<BR> TILEINDEX "D:\Disma5\geodaten\TKs\TKs2009\DTK10\DTK10FAR\25833\dtk10far.shp"<BR> TILEITEM "location"<BR> TOLERANCE 0<BR> TOLERANCEUNITS PIXELS<BR> TYPE RASTER<BR> UNITS METERS<BR> CLASS<BR> NAME "dtk10far"<BR> METADATA<BR> END<BR> STYLE<BR> END<BR> END<BR> END<BR>END<BR> </DIV>
<DIV style="COLOR: #000000; FONT: 12pt Times New Roman">This file is a modified copy of an older mapfile that was used on a linux system and worked well as WMS server.</DIV>
<DIV style="COLOR: #000000; FONT: 12pt Times New Roman"> </DIV>
<DIV style="COLOR: #000000; FONT: 12pt Times New Roman">When I send the request</DIV>
<DIV style="COLOR: #000000; FONT: 12pt Times New Roman"> </DIV>
<DIV style="COLOR: #000000; FONT: 12pt Times New Roman"><A href="http://disma:8080/cgi-bin/mapserv.exe?map=D:\ms4w\Apache\cgi-bin\mapfile.map&SERVICE=WMS&REQUEST=Getmap&VERSION=1.1.1&LAYERS=dtk10far&SRS=EPSG:25833&BBOX=360575,5688787,425797,5752560&FORMAT=PNG&WIDTH=600&HEIGHT=600">http://disma:8080/cgi-bin/mapserv.exe?map=D:\ms4w\Apache\cgi-bin\mapfile.map&SERVICE=WMS&REQUEST=Getmap&VERSION=1.1.1&LAYERS=dtk10far&SRS=EPSG:25833&BBOX=360575,5688787,425797,5752560&FORMAT=PNG&WIDTH=600&HEIGHT=600</A></DIV>
<DIV style="COLOR: #000000; FONT: 12pt Times New Roman"> </DIV>
<DIV style="COLOR: #000000; FONT: 12pt Times New Roman">I get a map image as I expected. So far so good.</DIV>
<DIV style="COLOR: #000000; FONT: 12pt Times New Roman"> </DIV>
<DIV style="COLOR: #000000; FONT: 12pt Times New Roman">But I want to use Mapserver as Mapserver for use in the intranet. It will be requested by a single client on the same host that has a WMS interface. Now, when I send a GetCapabilities request</DIV>
<DIV style="COLOR: #000000; FONT: 12pt Times New Roman"> </DIV>
<DIV style="COLOR: #000000; FONT: 12pt Times New Roman"><A href="http://disma:8080/cgi-bin/mapserv.exe?map=D:\ms4w\Apache\cgi-bin\mapfile.map&request=GetCapabilities">http://disma:8080/cgi-bin/mapserv.exe?map=D:\ms4w\Apache\cgi-bin\mapfile.map&request=GetCapabilities</A></DIV>
<DIV style="COLOR: #000000; FONT: 12pt Times New Roman"> </DIV>
<DIV style="COLOR: #000000; FONT: 12pt Times New Roman">I simply get nothing, a white page, no error message, no entry in error.log</DIV>
<DIV style="COLOR: #000000; FONT: 12pt Times New Roman"> </DIV>
<DIV style="COLOR: #000000; FONT: 12pt Times New Roman">I wonder if the somewhat ugly wms_onlineresource is responsible ("wms_onlineresource" "<A href="http://10.224.160.25:8080/cgi-bin/mapserv.exe?map=D:\ms4w\Apache\cgi-bin\mapfile.map">http://10.224.160.25:8080/cgi-bin/mapserv.exe?map=D:\ms4w\Apache\cgi-bin\mapfile.map</A>&"). But when I comment this line out, the result is unchanged.</DIV>
<DIV style="COLOR: #000000; FONT: 12pt Times New Roman"> </DIV>
<DIV style="COLOR: #000000; FONT: 12pt Times New Roman">What do I have to change to make Mapserver work as a WMS server?</DIV>
<DIV style="COLOR: #000000; FONT: 12pt Times New Roman"> </DIV>
<DIV style="COLOR: #000000; FONT: 12pt Times New Roman">Sincerely</DIV>
<DIV style="COLOR: #000000; FONT: 12pt Times New Roman">Erwin</DIV>
<DIV style="COLOR: #000000; FONT: 12pt Times New Roman"> </DIV>
<DIV style="COLOR: #000000; FONT: 12pt Times New Roman">Erwin Bimüller</DIV>
<DIV style="COLOR: #000000; FONT: 12pt Times New Roman">GIS-Verantwortlicher im Landkreis Elbe-Elster<BR> </DIV></BODY></HTML>