Hallelujah, you saved my accidental post delete!!
And your suggestion was spot-on!
With front-end Apache as:
<VirtualHost *:80>
ServerName deptserver.city.micron.com
ProxyPass /ndapps http://localhost:8001/ndapps
ProxyPassReverse /ndapps http://localhost:8001/ndapps
RequestHeader set X-Forwarded-Port 80
</VirtualHost>
And with backend mod_wsgi-express setup as
mod_wsgi-express setup-server ndapps.wsgi --port=8001 --user apache --group
apache
--server-root=/etc/mod_wsgi-express-8001
--trust-proxy-header X-Forwarded-Host
--trust-proxy-header X-Forwarded-Port
--trust-proxy-header X-Forwarded-For
--trust-proxy-header X-Forwarded-Scheme
--document-root static
--url-alias /static static
--mount-point /ndapps
The page is working exactly as desired, including proper redirection to
/ndapps/display, addition of trailing slashes (perhaps due to one of the
three flask app updated enumerated above? I will try removing those later
to test) , and serving static files of "style.css", "klarity.png", and
another that is downloaded via a link.
I suspect one of "--document-root" or "--url-alias" is redundant, but I
will not update that until I think it becomes an issue. I just tested
removing both, and static files are still being delivered properly.
I am very very grateful for your work!
Thanks, Neil
--
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.