Squirrelmail config
Renaud Allard
renaud at llorien.org
Sun Mar 16 11:06:18 MSK 2008
Ian M. Evans wrote:
> 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.
>
>
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;
}
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3291 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://nginx.org/pipermail/nginx/attachments/20080316/b347c945/attachment.bin>
More information about the nginx
mailing list