On 9/6/07, DreamEfforts <arvind_pv@xxxxxxxxx> wrote: > > Hi Everyone, > > I just need your help, I did configured Apache Http server as proxy server > and blocked the some mime types in configuration file (removed them from > mime.types), but apache server is not restricting those mime types when any > request is sent through it. > > I'm sending the those blocked mime types using the HttpURLConnection present > in Java. I set the content type to the header of the request, but still > Apache server is not blocking the request. > > Apart from modifying that file, do I need to change any settings in the > configuration files? If you have any idea then please let me know. I can't really figure out what exactly you are trying to do. Certainly changing mime.types does not in any way effect what apache will serve. It only affects that meta-data applied to static files. See the documentation of mod_mime. If you are trying to make apache filter responses from back-end sources based on the content-type, then you probably want to look at something like mod_security. Joshua. --------------------------------------------------------------------- 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