<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>utisam</author_name>
  <author_url>https://blog.hatena.ne.jp/utisam/</author_url>
  <blog_title>utisamのブログ</blog_title>
  <blog_url>https://utisam.hateblo.jp/</blog_url>
  <categories>
  </categories>
  <description>Django の wsgi.py は、 os.environ.setdefault(&quot;DJANGO_SETTINGS_MODULE&quot;, &quot;mysite.settings&quot;) となっているので、 Apacheの設定で SetEnv DJANGO_SETTINGS_MODULE mysite.settings.prod って感じに本番環境と開発環境でsettingsを切り替えるというのは、結構よくある手段だったと思う。 しかし、Ubuntu Server 14.04で wsgi-py3 を使うとうまく動かない（2系の方は試してない）。 http://stackoverflow.com/a/9017…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Futisam.hateblo.jp%2Fentry%2F2014%2F11%2F14%2F055613&quot; title=&quot;Ubuntu Server で wsgi を使うと SetEnv が効かない - utisamのブログ&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2014-11-14 05:56:13</published>
  <title>Ubuntu Server で wsgi を使うと SetEnv が効かない</title>
  <type>rich</type>
  <url>https://utisam.hateblo.jp/entry/2014/11/14/055613</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
