misc changes to get more tests to pass

Status: binding almost passes, carddav and scheduling have some issues,
timezone seems hopeless (dependency on remote URL that is 404)
This commit is contained in:
Florian Schlichting 2017-01-01 20:44:07 +01:00
parent 4ef5730bef
commit 10ed3ffc84
2 changed files with 4 additions and 2 deletions

View File

@ -41,7 +41,7 @@ to /etc/hosts and a VirtualHost to Apache with
RewriteRule ^/\.well-known/(.*)$ /caldav.php/.well-known/$1 [NC,L]
# let caldav.php handle "anything else"
RewriteCond %{REQUEST_URI} !^/$
RewriteCond %{REQUEST_URI} !\.(php|css|png|gif|js|jpg)
RewriteCond %{REQUEST_URI} !\.(php|css|png|gif|js|jpg|ico)
RewriteRule ^(.*)$ /caldav.php$1 [NC,L]
</VirtualHost>
@ -60,6 +60,8 @@ former) with
$c->hide_alarm = true;
// some freebusy queries will be 404 otherwise
$c->public_freebusy_url = true;
// helps with 1035-GET-mashup
$c->get_includes_subcollections = true;
// for ischedule suite; also needs DKIM set up?
$c->enable_scheduling = true;

View File

@ -11,7 +11,7 @@
#
DBNAME=regression
PGPOOL=inactive
HOSTNAME=regression
HOSTNAME=mycaldav
# We need to run the regression tests in the timezone they were written for.
export PGTZ=Pacific/Auckland