[Xerte] toolkits export (solution)

David Goodwin david at palepurple.co.uk
Mon Jan 5 15:42:10 GMT 2009


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Patrick Lockley wrote:
> Thanks David,
> 
> Can  RewriteCond Request_URI export_[0-9]+$ RewriteRule ^(.*)$ $1
> [QSA,E=no-gzip:1,PT,L] be put into a .htaccess?
> 
> Pat
> 

Yes, I believe it can all go in a .htaccess - but obviously you'd only
want the above rewrite rule if you're using the deflate stuff below.

(If you're not using the deflate stuff, it probably all works properly)

thanks
David

> <IfModule mod_deflate.c>
>         SetOutputFilter DEFLATE
>         SetEnvIfNoCase Request_URI \.(?:gif|jpe?g|png)$ no-gzip
> dont-vary
>         SetEnvIfNoCase Request_URI \.(?:exe|t?gz|zip|bz2|sit|rar)$
> no-gzip dont-vary
>         SetEnvIfNoCase Request_URI \.pdf$ no-gzip dont-vary
>         SetEnvIfNoCase Request_URI \.swf$ no-gzip dont-vary </IfModule>
> "
> 
- --
 David Goodwin                          Pale Purple Limited
 Office: 0845 0046746                   Mobile: 07792380669
 http://www.palepurple.co.uk            Company No: 5580814
 'Business Web Application Development and Training in PHP'
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFJYipS/ISo3RF5V6YRAhBTAJsEkHn/N02OR6+SKOk7hmLF6qJBSgCfdC/6
3FNcIWytWC+NXIMx5YNdLqA=
=KdWQ
-----END PGP SIGNATURE-----


More information about the Xerte mailing list