That probably means your web server isn't setting the mime type for XML documents. Look in your Apache mime.types file for text/xml and add the xml extension for it.
Mike Mandy Fleischhauer wrote: > sers > > thanks for the quick answer! > > i changed my tmp dir to: > $outputDir = "C:\Programme\ApacheGroup\Apache2\htw-mapbuilder\wmc"; > > now the script save the wmc file under this dir. > when the mouse is over the "pick up link", this outputdir also shown in the > statusline. > but when i will pic up this file and click the link, the browser breaks with > an popup, that firefox can`t open this file, because he don`t know which > application he should use: > "the protocol(c) is not associated with an programm" > > the same happends, when i take > C:\Programme\ApacheGroup\Apache2\htw-mapbuilder\wmc\cmb102.tmp.xml > at the url field in the browser. > > whe i only take > $outputDir = "Programme\ApacheGroup\Apache2\htw-mapbuilder\wmc\"; > > without c:\, the result pick up links is: > http://kf13/htw-mapbuilder/client/htw-client/%5CProgramme%5CApacheGroup%5CApache2%5Chtw-mapbuilder%5Cwmc%5Ccmb10F.tmp.xml > > that`s also incorrect :) > > and finally the tmp dir > $outputDir = "\htw-mapbuilder\client\htw-client\wmc"; > results in the windows directory on c:\windows\temp. > > i don`t understand this and i`m confused :( > > please help me :) > > have a nice evening, > mandy > > > -------- Original-Nachricht -------- > Datum: Thu, 16 Aug 2007 17:21:33 +0200 > Von: "olivier.terral" <[EMAIL PROTECTED]> > An: Mandy Fleischhauer <[EMAIL PROTECTED]> > CC: [email protected] > Betreff: Re: [Mapbuilder-users] save wmc model to disc > > >> Sorry Mandy , a big mistake >> >> If you want save into the webapps you must specified the entire url >> to your webapps for example replace "/temp" by "c:\www\mapbuilder\". >> >> >> >> >> >> >> olivier.terral a écrit : >> >>> Hi Mandy, >>> >>> Without the '/', context would be saved in the "tmp" folder (if you have >>> one ) of the root directory of your webapp . >>> >>> For example, with a mapbuilder webapp, you should be able to access to >>> th context with this url: >>> >>> http://localhost/mapbuilder/tmp/YourContext.xml >>> >>> Mandy Fleischhauer a écrit : >>> >>> >>>> sers, >>>> >>>> i`ve got a little question about the save directory, where the >>>> >> mapbuilder serialize.php save the xml wmc model to the disc. >> >>>> in my serialize.php this is the /tmp order. >>>> >>>> >>>> >>>> >>>>> // Set save directory. This should be set to a writable, >>>>> >> web-accessible > directory. >> >>>>> $outputDir = "/tmp"; >>>>> >>>>> >>>>> >>>> but mapbuilder saves the model under the directory c:/windows/temp and >>>> >> the link to load this xml file fails. >> >>>> other attempts, to set another tmp order, were in vain. >>>> >>>> please, where can i set the correct tmp dir in mapbuilder? >>>> >>>> thanks, >>>> mandy >>>> >>>> >>>> >>>> >>>> >>> >>> >> ------------------------------------------------------------------------- >> >>> This SF.net email is sponsored by: Splunk Inc. >>> Still grepping through log files to find problems? Stop. >>> Now Search log events and configuration files using AJAX and a browser. >>> Download your FREE copy of Splunk now >> http://get.splunk.com/ >>> _______________________________________________ >>> Mapbuilder-users mailing list >>> [email protected] >>> https://lists.sourceforge.net/lists/listinfo/mapbuilder-users >>> >>> >>> > > ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Mapbuilder-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/mapbuilder-users
