2011/4/27 Hanson Johnson <[email protected]>: > Hello Graham, thank you. I discovered my mistake, I added .so again to the > LoadModule, when I removed it, apache is running fine. I am proceeding to > the next step now. > > WSGIScriptAlias /myapp /usr/local/www/wsgi-scripts/myapp.wsgi > > This directive can only appear in the main Apache configuration files. The > directive can be used at server scope but would normally be placed within > the VirtualHost container for a particular site. > > Please where is theĀ VirtualHost container?
Look at the <VirtualHost> Directive in the Apache manual. Also make more use of a search engine and use this list for specific mod_wsgi questions because although Graham is extremely patient there are other people subscribed who are not so tolerant with such very easily found and out of topic questions. Regards, Clodoaldo > Thank you. > > > On Wed, Apr 27, 2011 at 3:46 AM, Graham Dumpleton > <[email protected]> wrote: >> >> On 27 April 2011 20:37, Hanson <[email protected]> wrote: >> > Please I have read the Quick Configuration Guide on >> > http://code.google.com/p/modwsgi/wiki/QuickConfigurationGuide but I >> > seem not to understand. I have downloaded and copied mod_wsgi-win32- >> > ap22py27-3.3.so to the modules directory in my apache installation >> > path. >> > >> > Please how do I edit my httpd.conf, what and what will I add and where >> > will I add them? >> > >> > I will be very grateful if you help me succeed in this task. >> > Thank you. >> >> Where to put Windows binary and what to call it detailed in: >> >> http://code.google.com/p/modwsgi/wiki/InstallationOnWindows >> >> What to put in Apache configuration to have module loaded detailed in >> section: >> >> >> http://code.google.com/p/modwsgi/wiki/QuickInstallationGuide#Loading_Module_Into_Apache >> >> Once you have that LoadModule line in place and Apache appears to >> restart okay, then use hello world WSGI program in: >> >> http://code.google.com/p/modwsgi/wiki/QuickConfigurationGuide >> >> along with the WSGIScriptAlias directive as explained to test simple >> script works. >> >> For your actual application, how you configure things will depend on >> what it is and how you want to expose it. Further guidelines in: >> >> http://code.google.com/p/modwsgi/wiki/ConfigurationGuidelines >> >> If this doesn't help, you will need to be more explicit about the >> actual problem you are having. >> >> Remember, the Apache error log is your friend and you should keep a >> close eye on it for any sort of error message when you are having >> problems. Also ensure to increase the Apache error log level to get >> additional information out of mod_wsgi about what it is doing while >> you sort things out. See: >> >> http://code.google.com/p/modwsgi/wiki/DebuggingTechniques >> >> Graham >> >> -- >> 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. >> > > -- > 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. > -- 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.
