Page 1 of 1

Apache config (scalix-deflate.conf)

Posted: Tue Jan 09, 2007 8:38 am
by MHoffmann
Hi,

i'm running Scalix 10 on Redhat Enterprise. Scalix ships with a apache config file named scalix-deflate.conf which adds the DEFLATE filter to specific content type all over the webserver (Location /). Since apache lacks an option like RemoveOutputFilterByType i'm not able to deregister the DEFLATE filter on other subdirectories of my apache.

However it seems to me that the options in scalix-deflate.conf cause some problems with my Wiki application running on the same apache server when used with IE7.
So i would like to change the DEFLATE statement to exclude some subdirectories - or even better just add the scalix relevant urls!?

Finally my question: Is it safe (for scalix) to completely remove the DEFLATE statement, or even better, how must i change it to just use the scalix URL's instead of the whole webservers root???

Thanks in advance for any help!?

Kind Regards, Martin

Posted: Thu Jan 11, 2007 7:26 am
by ScalixSupport
Hi Martin!

Scalix files read from the directory /etc/opt/scalix. Edit the file /etc/httpd/conf.d/scalix-deflate.conf to:

# Configure on-the-fly deflate compression of the pages:

<Directory "/etc/opt/scalix">
AddOutputFilterByType DEFLATE text/xml text/html text/css
AddOutputFilterByType DEFLATE application/x-javascript
</Directory>


Restart httpd service.

See if this resolves your issue.

Thanks,
Subir

Posted: Thu Jan 11, 2007 7:36 am
by MHoffmann
Yes!

That did the trick!

However i also tried this solution on my own:
<Location ~ /webmail|/rw|/sac>

Which also did work, but you solution seems a lot cleaner to me!

Maybe further scalix releases could contain you fix? This way it would be more compatible to third party applications running on apache!??

Thanks,

Martin