![]() |
Horde 5 - Error when communicating with server
Hi All,
Really hoping someone has more experience with Horde than I do :) Current server setup: - ISPConfig3 with Dovecot and Nginx - Debian 6 I installed Horde 5 and I think the install went okay. I just have a feeling that my nginx configuration might be a little off as I get 'Error when communicating with server' whenever I go to check mail or do other IMAP related tasks in Horde. Please see errors from nginx logs below: Code:
2012/11/08 16:24:18 [error] 28297#0: *1 open() "/var/www/horde/services/ajax.php/imp/viewPort" failed (20: Not a directory), client: MY.IP.ADD.RESS, server: example.com, request: "POST /horde/services/ajax.php/imp/viewPort HTTP/1.1", host: "example.com", referrer: "https://example.com/horde/imp/dynamic.php?page=mailbox"Code:
[...]If anyone needs any other outputs or configs from my server please let me know. Thanks, JG |
I have been trying to figure this out some more tonight.
What seems odd to me is that when I log into horde, on the summary page, it lists how many emails I have, so it must be accessing my imap account. Yet, when I look in at the Mail tab of horde, I still get the "Error when communicating with server". JG |
Hi,
Here is my nginx config for Horde. It is working for me. Try it out. Please note that I am not an expert and also please check if the settings are ok for security. ----------------- start ------------------------ location /horde { root /var/www/apps/; index index.php index.html index.htm; location ~ \.php { fastcgi_param PHP_VALUE "cgi.fix_pathinfo=1"; fastcgi_split_path_info ^(.+\.php)(/.+)$; fastcgi_param PATH_INFO $fastcgi_path_info; #fastcgi_param PATH_TRANSLATED $document_root$fastcgi_path_info; #try_files $uri =404; root /var/www/apps/; fastcgi_pass 127.0.0.1:9000; fastcgi_param HTTPS on; fastcgi_index index.php; fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name; include /etc/nginx/fastcgi_params; # pvanthony added this because of timeout problem when # importing addressbook. fastcgi_connect_timeout 300s; fastcgi_send_timeout 300s; fastcgi_read_timeout 300s; fastcgi_buffer_size 128k; fastcgi_buffers 256 4k; fastcgi_busy_buffers_size 256k; fastcgi_temp_file_write_size 256k; fastcgi_intercept_errors on; } location ~* ^/horde/(.+\.(jpg|jpeg|gif|css|png|js|ico|html|xml|txt))$ { root /var/www/apps/; } } ------------------ end ------------------------ P.V.Anthony |
| All times are GMT +2. The time now is 11:35. |
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2013, vBulletin Solutions, Inc.