-
-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
mod_magick and filters not applied after mod_wsgi app returns from request #1
Comments
Using I suspect what's happening is that the config doesn't apply (to a non directory), the filter(s) isn't inserted, and nothing happens. Looks like we need a debug level message to confirm the MAGICK filter has been inserted, so there isn't a wall of silence. |
Try this to add a debug message: |
I added the header ImageFilter to do a similar thing. |
Building with the debug logline confirms that if the is true then mod_magick is called. So as suspected it;s nothing to do with mod_magick. Just a note, to build (on AWS Linux 2) I needed to autoreconf for a working ./configure |
This may well have nothing to do with mod_magick et al.
I have the following two blocks of config.
In a vanilla site config, with SSL but without WSGIDAEMON etc, this works as advertised. The VARY header is set, the ImageFilter is set and any .tiff is converted. The config is all within the Directory Block aliased on DocumentRoot (/var/www/html)
With the WSGIDAEMON regardless whether it's in a Directory Block or just in the VirtualHost the config is not executed.
As I say this may well have nothing to do with the WSGI and the app but I thought that WSGI passed on the response to the regular chain. That said the only logging I get is if the app breaks. That hasn't concerned me so far I do my own access logging but it may mean the Response is avoiding the regular chain.
If I figure it out in the meantime I'll update.
Otherwise, it's all good.
Ta
S
The text was updated successfully, but these errors were encountered: