Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!


Anybody knows how to install horde 5 with nginx?
New on LowEndTalk? Please Register and read our Community Rules.

All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.

Anybody knows how to install horde 5 with nginx?

dnwkdnwk Member
edited January 2013 in Help

Anybody knows how to install horde 5 with nginx? Right now, I have problems with Rewrite Rules.

Comments

  • Have you tried something like this?

    location / {
        try_files $uri $uri/ /rampage.php?$args;
    }
    
    location ~ \.php {
        fastcgi_pass unix:/var/run/php5-fpm.sock;
        fastcgi_param PHP_VALUE "cgi.fix_pathinfo=1";
        fastcgi_split_path_info ^(.+\.php)(/.+)$;
        fastcgi_param PATH_INFO $fastcgi_path_info;
        fastcgi_index index.php;
        fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
        include /etc/nginx/fastcgi_params;
    }
    
    location ~ /\.ht {
        deny all;
    }
    

    more info: http://www.howtoforge.com/forums/showthread.php?t=58280

  • No, it doesn't work.

    services/ajax.php/imp/listMailboxes" failed (20: Not a directory)

  • Worked fine for me when I tested horde with it a few weeks ago.

  • @dnwk could you post your nginx configuration files? I'll try to help if I can.

  • dnwkdnwk Member
    edited January 2013

    {

    server_name ***************;
    listen 80;
    listen [::]:80;
    index index.php;
    root /var/www/***;
    location /var/www/*** {
    try_files $uri $uri/ /index.php;
    allow all;
    }
    location /var/www/***/webmail{
    try_files $uri $uri/ /webmail/rampage.php?$args;
    }
    location ~ .php$ {
    try_files $uri =404;
    fastcgi_pass 127.0.0.1:9000;
    fastcgi_index index.php;
    fastcgi_param PHP_VALUE "cgi.fix_pathinfo=1";
    fastcgi_split_path_info ^(.+.php)(/.+)$;
    fastcgi_param PATH_INFO $fastcgi_path_info;
    fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_nam$
    include fastcgi_params;
    }
    }
    >
    @marcm here it is my nginx conf.
    Thanks

Sign In or Register to comment.