python - Adding custom header on serving static files with Apache -


is possible send additional custom headers (for example wsgi app) before apache serves static content (image/js/css) ?

use apache mod_headers module.

http://httpd.apache.org/docs/2.2/mod/mod_headers.html

no way of doing using mod_wsgi.

you mod_python if had to, better off trying builtin apache modules.


Comments

Popular posts from this blog

android - Spacing between the stars of a rating bar? -

html - Instapaper-like algorithm -

c# - How to execute a particular part of code asynchronously in a class -