Thanks Graham for everything. I feel like an idiot. Only 1 hour before your post i realized that i was using the wrong URL.\ I didnt seee it because up until now i was writing cgi apps without flask, not wsgi with flask.
One last thing. I want to move the directives from httpd.conf to httpd-vhosts.conf but without using a subdomain, can i just tell apache to look there for extra config for superhost.gr:80 I want this file httpdp-vhosts.cong to store the extra info for superhost.gr Στις Παρ, 7 Σεπ 2018 στις 11:59 μ.μ., ο/η Graham Dumpleton < [email protected]> έγραψε: > > > On 8 Sep 2018, at 2:48 am, Νίκος Βέργος <[email protected]> > wrote: > > i have this mod_wsgi configuration but onlly web.py runs normally my other > 2 separate wsgi apps give a NOT found when they are tried to run through > the browser. > > <Directory /home/nikos/public_html> > AllowOverride None > Require all granted > </Directory> > > WSGIDaemonProcess downloads user=nikos group=nikos threads=5 > home=/home/nikos/public_html > WSGIScriptAlias /downloads /home/nikos/public_html/downloads.py > process-group=downloads application-group=%{GLOBAL} > > WSGIDaemonProcess clientele user=nikos group=nikos threads=5 > home=/home/nikos/public_html > WSGIScriptAlias /clientele /home/nikos/public_html/clientele.py > process-group=clientele application-group=%{GLOBAL} > > WSGIDaemonProcess app user=nikos group=nikos threads=5 > home=/home/nikos/public_html > WSGIScriptAlias / /home/nikos/public_html/app.py process-group=app > application-group=%{GLOBAL} > > for example if i try: > http://superhost.gr/clientele.py > > > You are using the wrong URL. > > Because you have: > > WSGIScriptAlias /clientele /home/nikos/public_html/clientele.py > process-group=clientele application-group=%{GLOBAL} > > The first argument to WSGIScriptAlias of '/clientele' says that is the > path you should use: > > http://superhost.gr/clientele > > If you haven't already, I would suggest perhaps read through the mod_wsgi > documentation. > > https://modwsgi.readthedocs.io/en/develop/user-guides.html > > https://modwsgi.readthedocs.io/en/develop/configuration-directives/WSGIScriptAlias.html > > to get a better understand of how things work. > > > > Not Found > The requested URL was not found on the server. If you entered the URL > manually please check your spelling and try again. > > -- > 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. > > > -- > You received this message because you are subscribed to a topic in the > Google Groups "modwsgi" group. > To unsubscribe from this topic, visit > https://groups.google.com/d/topic/modwsgi/dAAP1mz_ekI/unsubscribe. > To unsubscribe from this group and all its topics, 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. > -- 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.
