Nitin, You still need to access the site by using the port.
https://192.168.1.6:8081 <Directory "/home/dev/wsgi-scripts"> Options Indexes FollowSymLinks AllowOverride None Order allow,deny Allow from all </Directory> The above should stay as above, because it is what keeps people out of the wsgi-scripts dir. I'm not sure that you need AllowOverride None, but everything else is okay. ~Carl On Wed, Sep 29, 2010 at 2:53 PM, nitin chandra <nitinchand...@gmail.com> wrote: > 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 <carl.nob...@gmail.com> 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 <nitinchand...@gmail.com> >> 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 modw...@googlegroups.com. > To unsubscribe from this group, send email to > modwsgi+unsubscr...@googlegroups.com. > For more options, visit this group at > http://groups.google.com/group/modwsgi?hl=en. > > -- ------------------------------------------------------------------------------- Carl J. Nobile (Software Engineer) carl.nob...@gmail.com ------------------------------------------------------------------------------- -- You received this message because you are subscribed to the Google Groups "modwsgi" group. To post to this group, send email to modw...@googlegroups.com. To unsubscribe from this group, send email to modwsgi+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/modwsgi?hl=en.