Hi 

I have a spent week looking online on how to make userdir module 
(www.example.com/~username) work when 
the root page is a wsgi application (WSGIScriptAlias / /path/to/wsgi.py).

I am using Django (1.10.4) with on Apache (2.4.18) with mod-wsgi enabled. 

I have read multiple post written by Graham addressing this but I can't 
wrapped my head on how I would 
implemented as I am just getting started in web development.
I am trying to let apache handle all userdir pages with no wsgi 
capabilities and if possible a set of list of other sub urls 
should be handle by apache and bypass wsgi.

I have seen posts that suggest changes to the wsgiscript but all the post 
involve an application method which is not implemented
when using the django supply script

The wsgi.py is :
"""
WSGI config for website project.
It exposes the WSGI callable as a module-level variable named 
``application``.
For more information on this file, see
https://docs.djangoproject.com/en/1.10/howto/deployment/wsgi/
"""
import os
from django.core.wsgi import get_wsgi_application
os.environ.setdefault("DJANGO_SETTINGS_MODULE", "website.settings")
application = get_wsgi_application()

Thank you any help would be greatly appreciated
Cristian

-- 
You received this message because you are subscribed to the Google Groups 
"modwsgi" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/modwsgi.
For more options, visit https://groups.google.com/d/optout.

Reply via email to