[pmwiki-users] using several domains

jdd jdd at dodin.org
Sat Mar 25 06:02:22 CDT 2017


Le 25/03/2017 à 11:44, Petko Yotov a écrit :
> 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

great, thanks

jdd




More information about the pmwiki-users mailing list