ok ... so i took advice from Carl, and also changed DocumentRoot back
to '/opt/apache2215/htdocs' and in my enthusiasm went a little extra
and changed this also to the original, <Directory
"/opt/apache2215/htdocs"> </Directory>.

and renamed index.wsgi to myapp.wsgi and

https://192.168.1.6

403 Forbidden

You don't have permission to access / on this server.

.... well need more thinking and analysis. But now the config is now
the original what it was working ....

and in vhost setting of Alias is back to original

    WSGIScriptAlias / /home/dev/wsgi-scripts/myapp.wsgi


The following contents have remain the same in both 'index.wsgi' or in
'myapp.wsgi'

d...@dev-desktop:~/wsgi-scripts$ cat myapp.wsgi

def application(environ, start_response):
    status = '200 OK'
    output = 'Hello World!, This file is in /home/dev/wsgi-scripts directory'

    response_headers = [('Content-type', 'text/html'),
                        ('Content-Length', str(len(output)))]
    start_response(status, response_headers)

    return [output]

d...@dev-desktop:~/wsgi-scripts$

Any suggestion pl?

Thanks

Nitin


On Wed, Sep 29, 2010 at 9:08 PM, Carl Nobile <[email protected]> wrote:
> Other than what I mentioned before I see nothing wrong with your
> config Graham may find something I missed. Are you sure you haven't
> changed the contents of the index.wsgi file and broke it? Have you
> checked the paths leading up to and including your wsgi-scripts dir to
> have the execute and read bits set?
>
> ~Carl
>
> On Wed, Sep 29, 2010 at 10:52 AM, nitin chandra <[email protected]> 
> wrote:
>> Thanks Carl,
>>
>> but it did not work ...  :(
>>
>> Nitin
>>

-- 
You received this message because you are subscribed to the Google Groups 
"modwsgi" 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/modwsgi?hl=en.

Reply via email to