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 already exists in another conainter and services requests all day. Ultimately what i'm trying to do is take advantage of the Basic Auth, but allow them (after authentication) to have access to python_file.py I have tried this: WSGIScriptAlias /protected/python_file /server/root/python/python_file.py, but this seems to return a 404, seemingly from WSGI b/c its different then apache's 404 page If it call http://example.com/protected/python_file it gives me simply "Could not Find:", which i assume comes from WSGI, if i add .py (http://example.com/protected/python_file.py) i get apache's 404 page. Ultimately the question is, is this set up possible, both to have them authenticate and to execute a python file, via POST, that is not in the /protected/ directory. Hope i explained that OK and thanks for any pointers. -- You received this message because you are subscribed to the Google Groups "modwsgi" group. To view this discussion on the web visit https://groups.google.com/d/msg/modwsgi/-/ao5WQGyab9wJ. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/modwsgi?hl=en.
