Re: [modwsgi] add WSGIScriptAlias from one directory to another

2012-10-05 Thread Jeff Dyke
Thanks for the response Graham, given your questions i trimmed down and reworked my vhost config and found my mistake. First it ran the script, but did not require authentication to the WSGIScriptAlias target, but did require auth if you requested the directory contents (which it should). As

[modwsgi] add WSGIScriptAlias from one directory to another

2012-10-04 Thread Jeff Dyke
I have a protected directory, say http://example.com/protected This has indexing enabled and people use it to download files and its protected by Basic Authentication I would like to use WSGIScriptAlias to send any requests to /protected/python_file to /server/root/python/python_file.py Which

Re: [modwsgi] add WSGIScriptAlias from one directory to another

2012-10-04 Thread Graham Dumpleton
Can you provide the actual Apache configuration showing mod_wsgi directives and any Alias directives corresponding to the protected directory. Ensure that you preserve the order in which they appear in the file. Graham On 5 October 2012 08:51, Jeff Dyke jeff.d...@gmail.com wrote: I have a