Squirrelmail config

Does anyone have a location example for Squirrelmail?

I’m trying to get it running directly under nginx (it’s currently
running fine with an Apache backend).

Under ngix and fastcgi I’m able to login fine and read a message, but
when I try some of the links, instead of pointing to /src/whatever.php,
they’re pointing to /src/src/whatever.

The only reference I can find to this on the SM list referred to some
version fixed back in 2002.

Ian M. Evans wrote:

version fixed back in 2002.

It works great on my servers with a quite basic default configuration:

    location ~ .*\.php$ {
             include         /usr/local/nginx/conf/fastcgi_params;
             fastcgi_pass    unix:/var/nginx/php.sock;
             fastcgi_index   index.php;
             fastcgi_param   SCRIPT_FILENAME

$document_root$fastcgi_script_name;
}
location /attachments {
deny all;
}
location /plugins/squirrelspell/modules {
deny all;
}

Renaud Allard wrote:

It works great on my servers with a quite basic default configuration:

Renaud, thanks for the email. The site’s already working under nginx,
the situation I’m having is different. The internal urls are acting
weird – /src/src instead of /src – so this may be a way that php is
handling some of the variables under CGI. I guess I’ll check on the SM
list.

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs