httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Haroon Rafique <haroon.rafi...@utoronto.ca>
Subject Re: [users@httpd] sending pre-compressed content through reverse proxy using mod_rewrite
Date Fri, 20 Nov 2009 15:12:41 GMT
On Today at 5:20pm, IC=>Igor Cicimov <icicimov@gmail.com> 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@utoronto.ca>


---------------------------------------------------------------------
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@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message