Dear All, sorry for writing again, but I've configured digest in the list and didn't receive the response from Roberto.
It seems that both mod_proxy_uwsgi and the old module have problems in the <LocationMatch> and <Directory> or maybe I need to set some modifier1/2. The apache socket proxy syntax is pretty stable right now. I use it for PHP-FPM in this way: <Directory "/path/to/website"> # This is to forward all PHP to php-fpm. <FilesMatch \.php$> SetHandler "proxy:unix:/path/to/sock/php55.sock|fcgi://website.it" </FilesMatch> </Directory> I can't use a Location for PHP, because it's not considering .htaccess files and doesn't serve correctly static files. The ProxyPass socket syntax is the one, correctly documented in the uWSGI docs and it works. My problem is that when I declare uWSGI in a LocationMatch, the URL path is not correctly passed to the uWSGI vassal. # for all urls except /blog/ <LocationMatch "^/(?!blog/).*$"> ... </LocationMatch> *Apache passes the URL to uWSGI correctly but there must be some strange interpretation of the header that apache sends because Django doesn't interpret the URL correcly.* I've tried also using the combination LocationMatch, and fastcgi-socket with mod_proxy_fcgi, and I have the same problem. *Is there a Modifier I need to set maybe?* Francesco
_______________________________________________ uWSGI mailing list [email protected] http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi
