It is a four step process to check your configuration, each step must be confirmed to work before there is any point to move to the next step. Full and detailed instructions here:
but in a nutshell:
1. First make sure you have php-cgi (not php) installed and can run it on the command line:
# php-cgi -v
PHP 5.3.3 (cgi-fcgi) (built: Oct 30 2014 19:54:21)
Copyright (c) 1997-2010 The PHP Group
2. Allow php to be run from under surgemail as a webserver.
Add php-cgi to surgemail.ini as:
And check the url using whatever hostname / port you use surgeweb on:
3. Make sure sabredav is installed, running and authenticating. You will need the g_url_alias surgemail.ini entries of:
g_url_alias from="/cal" to="/scripts/cal.php"
g_url_redirect from="/.well-known/caldav" to="/cal"
and surgemail/phplib directories populated (as in theory done by installer) then login to:
4. Once that works try using surgeweb as a caldav client.
The calendar install script should do most of this for you, but somewhere it obviously is not working for you.
Note: Apache in not needed in this process at all as sabredav is installed under the surgemail webserver. Although you could install sabredav under apache instead of surgemail if you really wanted to ofcourse.
On Friday 15/05/2015 at 9:43 pm, surgemailHIDDEN@etwinsite.com wrote:
Surgemail Support (Marijn) wrote:
This provides steps needed to install and verify your install is
working. Let us know if you still have trouble.
I finally got around to install CalDAV yesterday. I run SurgeMail on a
32-bit FreeBSD 9.0 system. I had PHP5 already installed and the
php5_sqlite ports package. I only needed to add php_imap which was no
The installation seems to have gone fine and I saw the same results as
the URL you mentioned. Clicking on any of the test links at the end of
the install results didn't work though. Yes, I did replace <yourserver>
with my actual server address. I copied the phpinfo.php file to one of
my virtual web hosts, and it ran fine. I then copied the netwin.php and
cal.php to the same location, and they don't show any results - just a
white page in the web browser.
Trying to run them from the <myurl>:7080/scripts/netwin.php , the web
browser simply says that no such page exist (and I need to check my
internet connection). Not a 404 error though.
If I then log into SurgeWeb, I see a new calendar, but then get a error
message "can't connect to the server", and then my SurgeMail crashes
and restarts. As long as I have SurgeWeb open, my SurgeMail crashes and
restarts about every 30 seconds. So for now I disabled CalDAV, and the
server crashes stopped - and I have the old calendar back.
Attached is a snippet of the crash log that SurgeMail emailed to me.
Any thoughts on what is going on? Do I need to change Apache and setup
an alias for /scripts/ ? Do I need to set special permissions on