2009/12/12 nitin chandra <nitinchand...@gmail.com>: > Hi All, > > Thanks Graham, > >> There should be no trailing slash. Ie., use: >> >> WSGIScriptAlias /hello /wsgi/static/hello.wsgi >> >> That is why when you go: >> >> http://192.168.1.15/hello >> >> you get a 404 error. > > After correting the trailing '/' error i now get > > Internal Server Error - 500
And what is the error in the Apache error log at that time? If it is a Python error traceback, include all of it. Graham >> No, the extra directories aren't needed and I don't recollect anything >> in the documentation saying to create all these extra directories. > > actually my bad ... yes they were on some other web site ... i am sorry. > >> >>> http://192.168.1.15/wsgi/static/hello.wsgi .... dumps the WSGI script >>> on screen(below). >> >> Which can only be occurring if you have set DocumenRoot to '/'. Doing >> that would be really really bad because you are exposing your whole >> file system for download. >> >> If you access: >> >> http://192.168.1.15/etc/passwd >> >> do you see your user details for your system? > > No i did not see the page getting displayed. Error was 404 ... did not > give me access to the file or directory listing in /etc BUT ... i > guess you are saying that i will be exposing my main '/wsgi' > directory and its sub sirectories .... then Yes. > > when i do http://192.168.1.15/wsgi > > I see the directories and files ... hello.wsgi code. > > >> >> The WSGI script file should not be in any directory underneath the >> directory designated as DocumentRoot. >> > > So I am back to reading the Configuration Guide on line ... > > Even though i have friends who are Apache system adimns ... but when > it comes to WSGI they are cluless and are not much of help .... and > are requesting me learn and teach them. > > Therefore i am left asking on this list .... at time even the basics > and am not very keen on any frameworks....... i am slow in the begning > .... pl do bear me for some time .... > > > Thanks > > 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. > > > -- 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.