I have tried removing WSGIScriptAlias for /clientele and /download enirely 
as well as putting them beneath '/' alias but i'm still getting the same 
waiting and waiting when i try for example to invoke superhost.gr/downloads 
request from within.py

I understand the logic of python we apps.
Before moving to flask and mod_wsgi i was using the same approach for my 3 
script when i was using cgi mode.

Let's say i have 10 mod_wsgi applications than need to be opened from 
within 'app.py' via requests.get and then take the html output of those and 
add my counter data to that, how do you suggest i woud do it?

Its not practical to take all of the ohter sapps code and place it into 
app.py code.


Τη Τρίτη, 11 Σεπτεμβρίου 2018 - 3:22:36 π.μ. UTC+3, ο χρήστης Graham 
Dumpleton έγραψε:
>
> If you are expecting code below in app.py to be invoked when accessing 
> those URLs, it will not. The WSGIScriptAlias for /clientele and /download 
> will intercept those requests and send them direct to the WSGI applications 
> in the separate .pt files.
>
> How are the clientele.py and download.py different/coded?
>
> Sounds like you should only have WSGIScriptAlias for / pointing at app.py 
> and not the others. But then, why even need the HTTP request back onto 
> itself. I sort of think your understanding of how web applications in 
> Python work with WSGI are a bit off.
>

-- 
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