viumden
V2EX  ›  问与答

MoinMoin配置问题

  •  
  •   viumden · Dec 14, 2010 · 6851 views
    This topic created in 5640 days ago, the information mentioned may be changed or developed.
    在主机上做了下面的配置,通过浏览器访问域名显示:

    The page you are looking for is temporarily unavailable.
    Please try again later.

    求教大家!
    我的配置信息如下:
    -------------------------------------------
    ubuntu下安装了uwsgi.
    然后启动之:

    /usr/bin/uwsgi -s /tmp/moin.sock --wsgi-file /srv/moin/moin.wsgi -M -p 4

    nginx里的相关配置:

    server {
    listen 80;
    server_name mysitename;
    access_log /var/log/nginx/wiki.access.log;
    error_log /var/log/nginx/wiki.error_log;

    location / {
    include uwsgi_params;
    uwsgi_pass unix:///tmp/moin.sock;
    }

    MoinMoin文件夹, data文件夹, underlay文件夹, wikiconfig.py, 都放在/srv/moin 内,没有使用setup.py安装。

    moin.wsgi文件里:

    sys.path.insert(0, '/srv/moin/')

    wikiconfig.py里就改了sitename, interwikiname.
    1 replies    1970-01-01 08:00:00 +08:00
    Livid
        1
    Livid  
    MOD
    PRO
       Dec 14, 2010
    解决这样的错误应该首先看看 web server 的 log
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   3088 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 466ea39e · 36ms · UTC 14:12 · PVG 22:12 · LAX 07:12 · JFK 10:12
    ♥ Do have faith in what you're doing.