Hi Kenneth!
Distro: Ubuntu Server 10.04

As I said the firs site, ELG is working OK.
I just changed second site (cc4h) WSGI and it worked, printing "Hello
World!"
so domains are redirected OK. (please see code below)
But the website itself is not working, still can't find the template

Regards!

---------------------------------------------------------------------
 /home/django/projects/cc4h/apache/cc4h.wsgi
-----------------------------------------------------------------
#import os, sys
#sys.path.append('/home/django/projects')
#os.environ['DJANGO_SETTINGS_MODULE'] = 'cc4h.settings'
#import django.core.handlers.wsgi
#application = django.core.handlers.wsgi.WSGIHandler()

def application(environ, start_response):
    status = '200 OK'
    output = 'Hello World!'
    response_headers = [('Content-type', 'text/plain'),
                        ('Content-Length', str(len(output)))]
    start_response(status, response_headers)
    return [output]


On Jan 20, 2:46 am, Kenneth Gonsalves <law...@thenilgiris.com> wrote:
> On Wed, 2011-01-19 at 16:20 -0800, Osiaq wrote:
> > It doesnt seems as easy as I thought it will be.
>
> it is as easy as falling of a log! If you can tell us what distro you
> are using we can point the way.
> --
> regards
> KGhttp://lawgon.livejournal.com
> Coimbatore LUG roxhttp://ilugcbe.techstud.org/

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.

Reply via email to