This:

*For App 1*
<VirtualHost *:80>
    ServerName www.domain.com

    RewriteEngine On
    RewriteCond %{THE_REQUEST} /schoolpage/
    RewriteRule ^(.*)\/(\?.*)?$ $1$2 [R=301,L]

    CustomLog /srv/domwww/logs/access.log common
    ErrorLog /srv/domwww/logs/error.log

    Alias /css /srv/domwww/css
    Alias /images /srv/domwww/images
    Alias /reports /srv/reports
    Alias /rawdata /srv/rawdata
    Alias /uploaded_images /srv/uploaded_images
    Alias /js /srv/domwww/js
    Alias /yui /srv/domwww/yui
    Alias /flot /srv/domwww/flot
    Alias /sslc /srv/domwww/sslc
    Alias /robots.txt /srv/domwww/robots.txt

    <Directory /srv/domwww/>
    WSGIApplicationGroup %{GLOBAL}
    AddHandler wsgi-script .wsgi
    allow from all
   </Directory>
</VirtualHost>

*For App 2*
<VirtualHost *:8005>
    ServerName www.domain.com

    LogLevel debug

    CustomLog /srv/domMisc/modinterface/logs/access.log common
    ErrorLog /srv/domMisc/modinterface/logs/error.log


    Alias /css /srv/domMisc/modinterface/css
    Alias /js /srv/domMisc/modinterface/js
    Alias /images /srv/domMisc/modinterface/images
    Alias /templates /srv/domMisc/modinterface/templates
    Alias /favicon.ico /srv/domMisc/modinterface/favicon.ico
    Alias / /srv/domMisc/modinterface/modinterface.wsgi

    <Directory /srv/domMisc/modinterface>
        AddHandler wsgi-script .wsgi
        WSGIApplicationGroup %{GLOBAL}
        Allow from all
    </Directory>
</VirtualHost>

Regards,
Megha
neoWarli.com | 
dreamSchoolForum.blogspot.com<http://dreamschoolforum.blogspot.com>
|
www.klp.org.in



On Tue, Jan 29, 2013 at 5:04 PM, Jason Macgowan <jasonmacgo...@gmail.com>wrote:

> 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>
>>>
>>>

-- 
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.


Reply via email to