Is the Apache server set-up to handle kml?

Server: Apache/2.2.8 (Unix) FrontPage/5.0.2.2635
X-Powered-By: PHP/5.2.6
Connection: close
Content-Type: text/html

http://groups.google.com/group/Google-Maps-API/web/more-info-kml-on-google-maps

For Apache, add these lines to the httpd.conf file or a .htaccess file
in the same folder (if your host only allows htaccess rather than
httpd.conf access):

    * AddType application/vnd.google-earth.kml+xml .kml
    * AddType application/vnd.google-earth.kmz .kmz

just check that it set correctly first.

Mapperz
http://mapperz.blogspot.com/



On Apr 24, 10:34 am, dlgreene <[email protected]> wrote:
> This link 
> works:http://maps.google.com/maps?geocode=&q=http://www.dlgreene.com/gmap_d...
> Microsoft Server.
> Much more info and view the kml in IE (firefox won't) and code that
> made the kml from xslt:http://www.dlgreene.com/code_info.aspx
>
> This link 
> fails:http://maps.google.com/maps?geocode=&q=http://www.phsalumni1971.net/p...
>
> I'm highly confident both kml's are the same. Both kml's are generated
> from the same xslt. Again same code info and viewing 
> at:http://www.phsalumni1971.net/phptest/code_info.php
>
> Both sites are mine. The php site (phsalumni1971) seem's to force all
> browsers to download instead of viewing the kml(xml). You can add ?
> displaycode=true to view the xslt and xml that generated the xhtml.
> All pages verify at W3C.
> You can view the aspx C# and the php code at the code_info page at
> either site. The code info page is available on any page via the code
> link top and bottom left then code info.
>
> I've seen many posts about this similar problem. This case might be a
> good study because IE responds differently to the same kml on
> differing servers. I wonder how much is it the browsers and how much
> is the servers? And more important... Anyone know how to fix this?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Maps API" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/Google-Maps-API?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to