On 8 Sep 2018, at 2:48 am, Νίκος Βέργος <nikos.at....@gmail.com> 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 NoneRequire all granted</Directory>WSGIDaemonProcess downloads user=nikos group=nikos threads=5 home=/home/nikos/public_htmlWSGIScriptAlias /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_htmlWSGIScriptAlias /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_htmlWSGIScriptAlias / /home/nikos/public_html/app.py process-group=app application-group=%{GLOBAL}for example if i try:
Not FoundThe 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 modwsgi+u...@googlegroups.com.
To post to this group, send email to mod...@googlegroups.com.
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 modwsgi+u...@googlegroups.com.
WSGIDaemonProcess downloads user=nikos group=nikos 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 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 home=/home/nikos/public_html/
WSGIScriptAlias /app /home/nikos/public_html/app.py process-group=app application-group=%{GLOBAL}So to make wsgi listen for URL routes from '/app' and then had an index.html redirect there.
Althogh it wokrs i don't like this approache with redirection.
After reading the link iam trying to
<Directory /home/nikos/public_html>
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ /superhost.gr/$1 [QSA,PT,L]
Require all granted
</Directory>
WSGIDaemonProcess downloads user=nikos group=nikos 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 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 home=/home/nikos/public_html/
WSGIScriptAlias / /home/nikos/public_html/app.py process-group=app application-group=%{GLOBAL}The wsgi apps load but NOT /phpmyadmin.
phpmyadmin is a directory under /home/nikos/public_html/
[root@superhost public_html]# ls -las total 72 4 drwxr-xr-x 6 nikos nikos 4096 Sep 9 11:04 . 4 drwx--x--x 12 nikos nikos 4096 Sep 9 01:28 .. 16 -rwxr-xr-x 1 nikos nikos 13235 Sep 9 11:31 app.py 16 -rwxr-xr-x 1 nikos nikos 14901 Sep 8 16:17 clientele.py 12 -rwxr-xr-x 1 nikos nikos 9439 Sep 8 16:17 downloads.py 4 drwxr-xr-x 11 nikos nikos 4096 Sep 9 00:11 phpmyadmin 4 drwxr-xr-x 4 nikos nikos 4096 Sep 8 09:47 private 4 -rw------- 1 nikos nikos 1408 Sep 8 09:47 sftp-config.json 4 drwxr-xr-x 6 nikos nikos 4096 Sep 8 09:52 static 4 drwxr-xr-x 2 nikos nikos 4096 Sep 8 09:52 templates
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 modwsgi+u...@googlegroups.com.
On 9 Sep 2018, at 10:37 pm, Νίκος @ SuperHost <nikos.at....@gmail.com> wrote:what must i do to make the location directive to work as it is clearer for me this way?