No i hadn't
Spent several hours figuring that out
I am a newbie in that program, but now i rocks
It could be a real competitor to w2k3sbs if the problem with national chars is solved. As i can see one of the next versions of icalsrv will include full suport of webDAV, so i presume that versions newer than 6.2 of SOGo connector eventualy will work with icalsrv.
To sumarize:
The file /etc/e-smith/templates-custom/etc/httpd/conf/httpd.conf/90egw-syncml shall look like this:
<Location /egroupware/rpc.php>
AddHandler php5-cgi .php
Action php5-cgi /php5-cgi/php
</Location>
<Location /egroupware/icalsrv.php>
Script PUT /opt/egroupware/html/icalsrv.php
AcceptPathInfo On
AddHandler php5-cgi .php
Action php5-cgi /php5-cgi/php
AddHandler ical/ics .ics
Action ical/ics /var/www/egroupware/icalsrv.php
Order allow,deny
Allow from all
</Location>
<Location /egroupware/icalsrv/groupdav.php>
Script PUT /opt/egroupware/html/icalsrv/groupdav.php
AcceptPathInfo On
AddHandler php5-cgi .php
Action php5-cgi /php5-cgi/php
Order allow,deny
Allow from all
</Location>And execute
expand-template /etc/httpd/conf/httpd.conf before editing
/etc/httpd/conf/httpd.conf.
And as a temporary hack, in the file
/etc/httpd/conf/httpd.conf insert in the section
<VirtualHost 0.0.0.0:443> insert the line:
RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization},L]In the two files
icalsrv.php and
groupdav.php insert in the top this line:
list($_SERVER['PHP_AUTH_USER'], $_SERVER['PHP_AUTH_PW']) = explode(':', base64_decode(substr($_SERVER['HTTP_AUTHORIZATION'], 6)));The explanation can be found at
http://www.sslcatacombnetworking.com/articles/http-authentication-php-cgi.htmlThe rewriterule ought to be expanded with two rewritecond's so it only affects the two files icalsrv.php and groupdav.php. If somebody can tell me how to insert these lines in the httpd.conf template system, i will post the final solution here. Until then. Don't do
expand-template /etc/httpd/conf/httpd.conf