Can you post your apache config files?
On Tue, Jan 29, 2013 at 6:31 AM, Megha Vishwanath < megha.vishwan...@gmail.com> wrote: > Hi Mario, > > Sorry, we're only trying this now, after very long. > > And changes suggested here didn't work for us. Do we need to make changes > in the wsgi file as well? > > Yes, they run under the same domain. If we resolve this, will it still be > a problem then? > > -Megha > > > On Fri, Sep 21, 2012 at 12:26 PM, Marios Zindilis <mar...@zindilis.com>wrote: > >> 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<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 >>> <megha.vishwan...@gmail.com >>> <mailto:megha.vishwanath@**gmail.com<megha.vishwan...@gmail.com>>> >>> 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 webpy@googlegroups.com. >>> To unsubscribe from this group, send email to >>> webpy+unsubscribe@**googlegroups.com<webpy%2bunsubscr...@googlegroups.com> >>> . >>> For more options, visit this group at >>> http://groups.google.com/**group/webpy?hl=en<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 webpy@googlegroups.com. >> To unsubscribe from this group, send email to webpy+unsubscribe@** >> googlegroups.com <webpy%2bunsubscr...@googlegroups.com>. >> For more options, visit this group at http://groups.google.com/** >> group/webpy?hl=en <http://groups.google.com/group/webpy?hl=en>. >> >> > -- > You received this message because you are subscribed to the Google Groups > "web.py" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to webpy+unsubscr...@googlegroups.com. > > To post to this group, send email to webpy@googlegroups.com. > Visit this group at http://groups.google.com/group/webpy?hl=en. > For more options, visit https://groups.google.com/groups/opt_out. > > > -- You received this message because you are subscribed to the Google Groups "web.py" group. To unsubscribe from this group and stop receiving emails from it, send an email to webpy+unsubscr...@googlegroups.com. To post to this group, send email to webpy@googlegroups.com. Visit this group at http://groups.google.com/group/webpy?hl=en. For more options, visit https://groups.google.com/groups/opt_out.