hi, i'm trying to setup a django application using modwsgi in the daemon mode, and i need to make sure the locale is set up correctly, meaning sys.environment['LANG'] is 'en_US.utf8', and not 'C'.
what is the recommended way to do this? should i do it in my python-wsgi script with " sys.environment['LANG'] = 'en_US.utf8' " or is there a way to do it in the apache config file? in the past i was using mod_fcgid, and there i could set environment variables with something like this: RewriteRule .* - [E=name:value] but it does not seem to work here. thanks, gabor --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
