LiteSpeed Support Forums

LiteSpeed Support Forums (http://www.litespeedtech.com/support/forum/index.php)
-   Bug Reports (http://www.litespeedtech.com/support/forum/forumdisplay.php?f=9)
-   -   Problem with KML files (http://www.litespeedtech.com/support/forum/showthread.php?t=5489)

tech-nova 11-18-2011 02:52 PM

Problem with KML files
 
Hi,

I've got a problem with some KML files that become invalid when I use Litespeed (and are valid when I use Apache).

My goal is to insert them in Google map.

For example, this file :
http://code.google.com/apis/kml/docu...te_example.kml

-> I first copy it (with wget) on an Apache server :
http://dev.tech-nova.fr/animatedupdate_example.kml
Then I can paste this url into Google map -- cf. the result : http://g.co/maps/78yv9

-> If I copy this file on a LiteSpeed server :
http://www.reseaupaysage.com/IMG/kml...te_example.kml
I can't use it in Google Map because the KML file appears to be invalid -- cf. the result : http://g.co/maps/74zwt

The only difference I see in the http header of the result is the Etag value, and the order of the other parameters. Something strange too is that GMaps waits a long time to return the error.

Do you see where can be the problem ?



Thanks for any tip,

.Gilles
---
My Version is lsws-4.1.7 - ent - x86_64

mistwang 11-18-2011 03:00 PM

You can try turning off keepalive of LSWS, google may have difficulty with reading keepalive response from LSWS. I guess.

tech-nova 11-18-2011 03:53 PM

It doesn't work
- Configuration > Tuning : Smart Keep-Alive : No + Keep-Alive Timeout (secs) : 0

As I'm using cPanel, I've also defined the KeepAliveTimeout : 0 into the Apache conf. - But I think that it doesn't interfere.

As you suggest, I'll also ask for support in the forums for Google Map API.

But am I the only one where a KML readed from LSWS isn't considered a valid by this api ?

tech-nova 11-19-2011 06:13 AM

Problem with KML files [SOLVED]
 
Hi,

it works now, I don't know why.
Maybe a conflict between the KeepAliveTimeOut for apache.conf and the configuration of Litespeed used with cPanel.

Thanks for the tip,

.Gilles


All times are GMT -7. The time now is 08:28 PM.