Configuration/settings/domain name

From Davical
< Configuration‎ | settings
Revision as of 22:18, 21 March 2010 by Karora (talk) (New page: $c->domain_name = 'your.domain.name'; default: the domain name under which the site is being accessed This is most useful in situations where you have a proxy cache in front of the webs...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search
$c->domain_name = 'your.domain.name';

default: the domain name under which the site is being accessed

This is most useful in situations where you have a proxy cache in front of the website, and so the domain name calculated is the one which the proxy cache uses to access DAViCal, and not the 'real' domain name which client software uses to access the site.

This could also be used in cases where you wanted to make your host available under a number of domain names, but canonicalise them all to a particular one, but that sort of thing should really be solved through the use of mod_rewrite or simple redirects.

Available from DAViCal version: 0.0.0 and later