> 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 <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 <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/user-guides.html>
    
https://modwsgi.readthedocs.io/en/develop/configuration-directives/WSGIScriptAlias.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] 
> <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