Dear All,
I'm trying to configure a virtualhost on Apache 2.4.12 with uWSGI 2.0.9:

I have to map uWSGI on the /

My configuration is using Unix sockets as described in the documentation.

My first attempt is using the ProxyPass:

ProxyPass / unix:/path/to/socket.sock|uwsgi://

When I make a request on http://website.it/path I get the following error
in the apache logs:

AH00898: DNS lookup failure for: path returned by /path

Then I've tried other configurations:

<Location "/">
 SetHandler "proxy:unix:/path/to/socket.sock|uwsgi://"
</Location>

In this case I get a not found error opening the http://website.it/

And I also tried:

<Directory "/path/to/document/root">
 SetHandler "proxy:unix:/path/to/socket.sock|uwsgi://"
</Directory>
The error I have in this case is very weird: The requested URL */pa/it* (coming
from some characters in the real URL) was not found on this server.

Using the old module, I also get a strange not found:

 <Directory "/path/to/document/root">
  SetHandler uwsgi-handler
  uWSGISocket /path/to/socket.sock
</Directory>

Similar error to the previous.

The only working configurations is using the old module with the following:

<Location "/">
 SetHandler uwsgi-handler
 uWSGISocket /path/to/socket.sock
</Location>
Can you help me to find a solution? I need to configure the uWSGI module in
a <Directory>
Thanks
Francesco
_______________________________________________
uWSGI mailing list
[email protected]
http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi

Reply via email to