Mailing List Archive

Re: Davical & lighttpd
Hi,

I have installed the Davical packages distributed through the
davical-repository on a Debian 6.0 system. I have lighttpd version
1.4.28 and php5-cgi installed from the Debian repositories.

I am using php over cgi-interface because I use that for my other
virtual hosts and I did not want to have the same permissions and
restrictions for davical as these php processes. But it should also be
possible to use it via fcgi, as described here:
http://redmine.lighttpd.net/projects/lighttpd/wiki/Docs%3AModFastCGI#FastCGI-and-Programming-Languages

This is my config:

server.modules += ( "mod_cgi" )

$SERVER["socket"] == "<my-IP>:8443" {
ssl.engine = "enable"
ssl.pemfile = "/etc/ssl/lighttpd.pem"
server.document-root = "/usr/share/davical/htdocs"

url.rewrite = (
"^/.well-known(.*)$" => "/caldav.php/.well-known$1",
"^/principals/users(.*)$" => "/caldav.php$1"
)

cgi.assign = ( ".php" => "/usr/bin/php5-cgi" )
}

$SERVER["socket"] == "<my-ip>:8008" {
server.document-root = "/usr/share/davical/htdocs"

url.rewrite = (
"^/.well-known(.*)$" => "/caldav.php/.well-known$1",
"^/principals/users(.*)$" => "/caldav.php$1"
)

cgi.assign = ( ".php" => "/usr/bin/php5-cgi" )
}


On 17.01.12 07:10, VR wrote:
> Dear Sebastian,
>
> I came across a davical posting of yours
> (http://lists.morphoss.com/pipermail/davical-dev/2011/000163.html) discussing
> getting davical to work with lighttpd.
>
> Do you have any of these steps you can share with me? I am following the
> guide at: http://wiki.davical.org/w/Using_Lighttpd_rather_than_Apache
>
> but it seems there are some steps not clearly shown such as getting fastcgi
> working and making the symbolic link.
>
> Any additional steps you could share would be helpful.
>
> Thank you,
> VR.
_______________________________________________
DAViCal-dev mailing list
DAViCal-dev@lists.davical.org
http://lists.davical.org/listinfo/davical-dev