Revision 17 - 2012-08-05 at 21:47:25


After you've installed MojoMojo, you will want to configure the web server. The guides below should help.

Deployment without a web server

Since MojoMojo is a Catalyst application, you can use Catalyst's built-in HTTP server for standalone deployment. Catalyst::Engine::HTTP::Prefork is a high-performance pre-forking Catalyst engine and recommended:

CATALYST_ENGINE='HTTP::Prefork' script/

Deployment with nginx

Catalyst versions prior to 5.8 are limited in that your application can only reside at / (more details and a workaround at Catalyst and nginx). An alternative is to create a subdomain for your wiki. Here is an example nginx configuration for my wiki: Jasa SEO Jasa SEO Murah Jasa SEO Murah Jasa SEO Jasa Adwords Jasa Google Adwords Google Adwords Sepatu Online Toko Sepatu Online Sepatu Sepatu Murah Sepatu Safety Sepatu Futsal Cheapes Hostgator Coupon Link Booking Televisori offerte Notebook Offerte Berita Terkini Internet Marketer Muda Internet Marketer Indonesia Portatile Apple RDAnet Lorks Karikatur Bisnis Modal Kecil Bisnis UKM Berita Terbaru Iklan Baris Jasa SEO Jasa SEO Murah SEO Indonesia Konsultan SEO SEO Belajar SEO Kursus SEO Kursus SEO Murah Jam Tangan Casio Jam Tangan Casio Jam Tangan Murah Jam Tangan Grosir Baju Terbaru Grosir Baju Baju Terbaru Grosir Baju Murah Bisnis Online Belajar SEO Kerupuk Kerupuk kulit Social Bookmark Dofollow Social Bookmark Kumpulan Puisi Kirim Puisi Penumbuh Rambut Penumbuh Rambut timbangan WBC Wonogiri Jasa SEO Murah Jasa SEO Jam Tangan Murah Jam Tangan Murah Kata Gaul

Cupu Berita Terbaru Android Store Upinson Berita Terkini Edo Ziedo Aplikasi Symbian Sepatu Safety Upin Upin Tablet Android Sepatu Murah Upinson Blogger Radio Streaming SEO Star Upinson Cinta EDU Jasa SEO Sepatu Murah Sepatu Murah Sepatu Murah Penumbuh Rambut Penumbuh Rambut Penumbuh Rambut Penumbuh Rambut Penumbuh Rambut Penumbuh Rambut Penumbuh Rambut server { server_name;

    access_log logs/wiki.access;
    error_log logs/wiki.error error;

    location /robots.txt {
        alias /home/dan/;

    location / {
        include fastcgi_params;

    location /.static/ {
        alias /home/dan/;
        access_log off;

The fastcgi_params nginx config file should contain:

fastcgi_param  PATH_INFO          $fastcgi_script_name;

If the file doesn't have this parameter, all URLs within the wiki may redirect to the root path (as of nginx 1.0.4).

The fastcgi_params nginx config file also should NOT contain:

fastcgi_param  SCRIPT_NAME        $fastcgi_script_name;

If your file has both settings, you may see odd behavior with MojoMojo URLs appending over and over (.view/.view/.view). Comment SCRIPT_NAME out. Or, if you see Jam Tangan Murah timbangan Penumbuh Rambut Bisnis Modal Kecil this warning in the error log,

Use of uninitialized value $script_name in regexp compilation at /usr/local/share/perl/5.10.1/Catalyst/Engine/

then assign an empty string to SCRIPT_NAME:

fastcgi_param  SCRIPT_NAME '';

The mojomojo server is, basically, run as an external FastCGI server:

cd /home/dan/
script/ -listen -nproc 5 -keeperr 2>>log/error.log &

For a robust configuration, use the start/stop init script from the lighttpd deployment page.

Deployment with other servers

Since MojoMojo is a Catalyst application, please see the Catalyst deployment page on the Catalyst wiki.

My tags:
Popular tags:
Powered by Catalyst