[pmwiki-users] using several domains

Petko Yotov 5ko at 5ko.fr
Sat Mar 25 05:44:53 CDT 2017


On 2017-03-25 11:29, jdd wrote:
> apache2 is setup to accept any tld (org, info or me), but some of the
> addresses in pmwiki (external ones) are not
> 
> is there a variable that gives only the domain name?

Yes: $_SERVER['HTTP_HOST']

Petko

---
Change log     :  http://www.pmwiki.org/wiki/PmWiki/ChangeLog
Release notes  :  http://www.pmwiki.org/wiki/PmWiki/ReleaseNotes
If you upgrade :  http://www.pmwiki.org/wiki/PmWiki/Upgrades




More information about the pmwiki-users mailing list