Are the two applications running under the same domain? There are some
complications in WSGI function if they are.
I managed to run multiple web.py apps, described in this previous list
message:
https://groups.google.com/forum/#!topic/webpy/CKC5EeXlk_I
On 09/18/2012 10:03 AM, Megha Vishwanath wrote:
Just to add, these are versions for Apache/mod_wsgi/python
*Apache/2.2.22 (Debian) mod_wsgi/3.3 Python/2.7.3rc2
*
On Tue, Sep 18, 2012 at 12:19 PM, Megha Vishwanath
<[email protected] <mailto:[email protected]>> wrote:
Hi,
We've noticed this error in our apache logs. We have two web.py apps
deployed on the same box one at */srv/www_app* and the other at
*/srv/misc/modinterface*
*
*
Their apache configs are separate and they run on different ports
even. Their interaction with each other is limited. When content is
added on www_app, it gets moderated via the modinterface app. They
both talk to a common database where moderation flags get set.
However as you can see below, in a completely unrelated context, the
os path in the www_app is referring to the path of the moderator
interface. Are there any apache/ mod wsgi config guidelines we've
missed in deploying two web.py apps one beside the other on this box.
Tue Sep 18 11:03:51 2012] [error] Traceback (most recent call last):
[Tue Sep 18 11:03:51 2012] [error] File "*/srv/www_app/*klp.wsgi",
line 1298, in GET
[Tue Sep 18 11:03:51 2012] [error]
dirList=os.listdir(os.getcwd() + path + "/demographics/English")
[Tue Sep 18 11:03:51 2012] [error] OSError: [Errno 2] No such file
or directory: *'/srv/misc/modinterface/*reports/demographics/English'
Regards,
Megha
--
You received this message because you are subscribed to the Google
Groups "web.py" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/webpy?hl=en.
--
Sent from my Thunderbird,
Marios Zindilis
--
You received this message because you are subscribed to the Google Groups
"web.py" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/webpy?hl=en.