> On 15 Dec 2016, at 1:46 PM, Jaqen Nki <[email protected]> wrote:
> 
> sorry yea let me clarify, i realized with no net my mac wont be able to comm 
> with the ubuntu server.  so the easiest option for offline work is to operate 
> on the ubuntu vm itself.  I activated venv in site1, ran 
> 
> mod_wsgi-express start-server
> 
> and it shows the malt whiskey test page on localhost:8000.  forgive me but 
> how do i target the flask application in /var/www/site1/FlaskApp/FlaskApp to 
> be able to serve that website running the script?
> 
There are examples in the PyPi documentation, but at a guess based on the Flask 
site you described the configuration of previously:

    cd /var/www/forum1/flaskbb-master
    source venv/bin/activate

    mod_wsgi-express start-server --url-alias /static flaskbb/static wsgi.py

Also see posts about mod_wsgi-express on my blog.

* http://blog.dscpl.com.au/2015/04/introducing-modwsgi-express.html 
<http://blog.dscpl.com.au/2015/04/introducing-modwsgi-express.html>
* http://blog.dscpl.com.au/2015/05/using-modwsgi-express-as-development.html 
<http://blog.dscpl.com.au/2015/05/using-modwsgi-express-as-development.html>
* http://blog.dscpl.com.au/2015/04/integrating-modwsgi-express-as-django.html 
<http://blog.dscpl.com.au/2015/04/integrating-modwsgi-express-as-django.html>
* http://blog.dscpl.com.au/2015/04/using-modwsgi-express-with-django.html 
<http://blog.dscpl.com.au/2015/04/using-modwsgi-express-with-django.html>

Graham

> On Wednesday, December 14, 2016 at 7:18:53 PM UTC-7, Jaqen Nki wrote:
> although i foresee this not working, because if offline my ubuntu VM bridge 
> network adapter doesnt work properly without internet.  maybe you are right, 
> better off running a modwsgi express start from within the activated venv.  
> could i do this without disturbing any current configs?
> 
> -- 
> 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] 
> <mailto:[email protected]>.
> To post to this group, send email to [email protected] 
> <mailto:[email protected]>.
> Visit this group at https://groups.google.com/group/modwsgi 
> <https://groups.google.com/group/modwsgi>.
> For more options, visit https://groups.google.com/d/optout 
> <https://groups.google.com/d/optout>.

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