> On 26 Mar 2018, at 5:48 am, vishnu bhand <[email protected]> wrote: > > I'm very new to mod_wsgi and tried with hello world example .But i'm confuse > with what if i have more than one url in my appl. Like,in Django anf flask we > can add url from our application but now i'm not using any one them.How > should i go now? By creating multiple WSGIscriptAlias from apache conf file > itself?
When you use WSGIScriptAlias, you are saying that any URLs which fall below the mount point you specify should be routed through to the WSGI application. You would not usually need to specify additional WSGIScriptAlias directives for additional sub URLs. With those requests being passed through to your WSGI application, any further mapping of URLs to handler code is up to the URL routing system of the web framework such as Django and Flask. So use one WSGIScriptAlias for the URL which is the root of your WSGI application and use the framework to do everything else. Graham -- 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.
