Apache config (scalix-deflate.conf)

Discuss the Scalix Server software

Moderators: ScalixSupport, admin

MHoffmann

Apache config (scalix-deflate.conf)

Postby MHoffmann » Tue Jan 09, 2007 8:38 am

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

ScalixSupport
Scalix
Scalix
Posts: 5503
Joined: Thu Mar 25, 2004 8:15 pm

Postby ScalixSupport » Thu Jan 11, 2007 7:26 am

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

MHoffmann

Postby MHoffmann » Thu Jan 11, 2007 7:36 am

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


Return to “Scalix Server”



Who is online

Users browsing this forum: No registered users and 1 guest

cron