Re: sending pre-compressed content through reverse proxy using mod_rewrite

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Today at 5:20pm, IC=>Igor Cicimov <icicimov@xxxxxxxxx> wrote:

IC> Write your own 404 page? Is that good enough?
IC> 

Hi Igor,

Thanks for your response. I tried adding the following (is that what you 
had in mind?):

# set custom 404 in case .gz is not available
<LocationMatch "^/rxp.+\.(css|js)$">
    ErrorDocument 404 "The requested URL was not found on this server."
</LocationMatch>

but I am still getting (Content-Encoding: gzip and Content-type: 
text/javascript is the problem):

  HTTP/1.1 404 Not Found
  Date: Fri, 20 Nov 2009 15:04:15 GMT
  Server: Sun GlassFish Enterprise Server v2.1
  X-Powered-By: Servlet/2.5
  Content-Type: text/javascript
  Content-Language:
  Content-Length: 1018
  Content-Encoding: gzip
  Keep-Alive: timeout=5, max=100
  Connection: Keep-Alive
2009-11-20 10:04:17 ERROR 404: Not Found.

Ideas?

Cheers,
--
Haroon Rafique
<haroon.rafique@xxxxxxxxxxx>


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx


[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux