On Feb 2, 6:40 pm, "Manu Hack" <[EMAIL PROTECTED]> wrote:
> Finally I got the wsgi running with apache.  Thanks all for the help.
> Besides the above links, I also found
>
> http://code.google.com/p/modwsgi/wiki/IntegrationWithTurboGears
>
> useful.
>
> I got one question though.  Does it matter what "DocumentRoot" is set to?

If you are running absolutely everything through TG application
mounted on root of site, not too much. Do ensure it is still a
directory that doesn't contain anything sensitive in case a miss
configuration of your site exposes it. You might also want to still
stick stuff like favicon.ico and robots.txt, or any other static files
in there as well, although you will need to add Alias directives to
map them given TG will take root of site. See section 'Hosting Of
Static Files' of:

  http://code.google.com/p/modwsgi/wiki/ConfigurationGuidelines

That shows static files being placed elsewhere, but for some stuff you
may just as well stick them in DocumentRoot for that site.

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

Reply via email to