I have published file http://www.common-lisp.net/project/fucc/files/fucc-0.1.tar.gz.asc. This is plain text file (PGP signature). But when I open the URL, server sends "Content-Encoding: x-gzip" header, and Firefox displays just empty page failing to decompress plain text file. I attempted to add "RemoveEncoding .gz" to .htaccess in /project/fucc/public_html/, but without success.
You use Apache 1.3, but I have only documentation for Apache 2.0. Perhaps, I should add another directive, or local configuration filename is changed, isn't it?
On 7/12/06, Ivan Boldyrev iboldyrev@common-lisp.net wrote:
You use Apache 1.3, but I have only documentation for Apache 2.0. Perhaps, I should add another directive, or local configuration filename is changed, isn't it?
No overrides were allowed from .htaccess. I have now enabled FileInfo which I think is what you need. Can you try now and let me know?
Thanks, Erik.
On 9534 day of my life Erik Enge wrote:
On 7/12/06, Ivan Boldyrev iboldyrev@common-lisp.net wrote:
You use Apache 1.3, but I have only documentation for Apache 2.0. Perhaps, I should add another directive, or local configuration filename is changed, isn't it?
No overrides were allowed from .htaccess. I have now enabled FileInfo which I think is what you need. Can you try now and let me know?
Same header is here :(
$ curl -D - http://common-lisp.net/project/fucc/files/fucc-0.1.tar.gz.asc HTTP/1.1 200 OK Date: Thu, 13 Jul 2006 01:24:27 GMT Server: Apache/1.3.33 (Debian GNU/Linux) PHP/4.3.10-16 Last-Modified: Wed, 12 Jul 2006 09:27:43 GMT ETag: "453df-ce-44b4c08f" Accept-Ranges: bytes Content-Length: 206 Content-Type: text/plain; charset=iso-8859-1 Content-Encoding: x-gzip <----------- here it is
-----BEGIN PGP SIGNATURE----- .................................................
I will try to figure this out but I'm a little swamped right now with work and this, although an annoying issue, isn't critical. If you figure it out before me please let me know and I'll make the appropriate changes, if not I'll look into this towards next weekend.
Thanks, Erik.
On 7/12/06, Ivan Boldyrev iboldyrev@common-lisp.net wrote:
On 9534 day of my life Erik Enge wrote:
On 7/12/06, Ivan Boldyrev iboldyrev@common-lisp.net wrote:
You use Apache 1.3, but I have only documentation for Apache 2.0. Perhaps, I should add another directive, or local configuration filename is changed, isn't it?
No overrides were allowed from .htaccess. I have now enabled FileInfo which I think is what you need. Can you try now and let me know?
Same header is here :(
$ curl -D - http://common-lisp.net/project/fucc/files/fucc-0.1.tar.gz.asc HTTP/1.1 200 OK Date: Thu, 13 Jul 2006 01:24:27 GMT Server: Apache/1.3.33 (Debian GNU/Linux) PHP/4.3.10-16 Last-Modified: Wed, 12 Jul 2006 09:27:43 GMT ETag: "453df-ce-44b4c08f" Accept-Ranges: bytes Content-Length: 206 Content-Type: text/plain; charset=iso-8859-1 Content-Encoding: x-gzip <----------- here it is
-----BEGIN PGP SIGNATURE----- .................................................
-- Ivan Boldyrev
On 9534 day of my life Erik Enge wrote:
If you figure it out before me please let me know and I'll make the appropriate changes, if not I'll look into this towards next weekend.
I have checked Apache 1.3 manual and found this:
,----[ RemoveEncoding Directive ] | ... | | AddEncoding x-gzip .gz | AddType text/plain .asc | <Files *.gz.asc> | RemoveEncoding .gz | </Files> | | This will cause foo.gz to be marked as being encoded with the gzip | method, but foo.gz.asc as an unencoded plaintext file. `----
So, I need <Files ...> ... </Files> part only, previous directives are already effective. I think this part can be enabled globally, can't it?
On 7/13/06, Ivan Boldyrev iboldyrev@common-lisp.net wrote:
I have checked Apache 1.3 manual and found this:
Great! That did the trick, I enabled it globally.
Thanks, Erik.