try adding something like this to your httpd.conf in the virtual host block

AddOutputFilterByType DEFLATE text/html text/plain text/xml image/svg+xml
text/javascript text/css application/vnd.mozilla.xul+xml
application/x-javascript application/vnd.mozilla.xul+xml
application/octet-stream
BrowserMatch ^Mozilla/4 gzip-only-text/html
BrowserMatch ^Mozilla/4\.0[678] no-gzip
BrowserMatch \bMSIE !no-gzip !gzip-only-text/html
DeflateFilterNote ratio
DeflateFilterNote Input instream
DeflateFilterNote Output outstream
DeflateFilterNote Ratio ratio



On 16/11/2007, Bjoern Hoehrmann <[EMAIL PROTECTED]> wrote:
>
>   * André M. Winter - Carto.net wrote:
> >is there a way of linking a compressed javascript file into an svg
> >document that way under Firefox3?
> >
> ><script type="text/ecmascript" xlink:href="compressedData.js" />
> >
> >or do i have to tell someting more to the browser? file is compressed
> >and should also work locally if possible).
>
> You have to tell the browser that it's compressed, the only method
> Firefox supports is by setting the Content-Encoding header properly
> on the web server (sometimes it's sufficient to call the file e.g.
> example.js.gz). Making it work locally requires different methods,
> if that is possible at all.
> --
> Björn Höhrmann · mailto:[EMAIL PROTECTED] <bjoern%40hoehrmann.de> ·
> http://bjoern.hoehrmann.de
> Weinh. Str. 22 · Telefon: +49(0)621/4309674 · http://www.bjoernsworld.de
> 68309 Mannheim · PGP Pub. KeyID: 0xA4357E78 · http://www.websitedev.de/
>  
>



-- 
Brian Modra   Land line: +27 23 5411 462
Mobile: +27 79 183 8059
6 Jan Louw Str, Prince Albert, 6930
Postal: P.O. Box 2, Prince Albert 6930
South Africa


[Non-text portions of this message have been removed]



-----
To unsubscribe send a message to: [EMAIL PROTECTED]
-or-
visit http://groups.yahoo.com/group/svg-developers and click "edit my 
membership"
---- 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/svg-developers/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/svg-developers/join
    (Yahoo! ID required)

<*> To change settings via email:
    mailto:[EMAIL PROTECTED] 
    mailto:[EMAIL PROTECTED]

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 

Reply via email to