[pmwiki-users] Farm configuration : can $ScriptUrl be globally defined ?

Henrik Bechmann henrik.bechmann at sympatico.ca
Wed Oct 4 08:19:07 CDT 2006


AFAIK, as long as $ScriptUrl points to the directory containing 
pmwiki.php (or the launching script file in a farm), all should be fine.

 From http://pmwiki.org/wiki/PmWiki/PathVariables#ScriptUrl:

PmWiki is usually fairly good about "guessing" the correct value for 
|$ScriptUrl| <http://pmwiki.org/wiki/PmWiki/PathVariables#ScriptUrl> on 
its own, but sometimes an admin needs to set it explicitly...

- Henrik

Jean-Fabrice [gmail] wrote:
> Hi,
>
> I would like to know if there's any bad side-effect using  :
> $ScriptUrl = 'http://' . $_SERVER['SERVER_NAME'];
> in farmconfig.php
>
> instead of having
> $ScriptUrl = 'http://field1.domain.com'
> in each field's config.php
>
> since all my fields have a different address ?
>
> JF
>
> _______________________________________________
> pmwiki-users mailing list
> pmwiki-users at pmichaud.com
> http://www.pmichaud.com/mailman/listinfo/pmwiki-users
>
>   

-- 

Henrik Bechmann
www.osscommons.ca
www.bechmannsoftware.com
Webmaster, www.dufferinpark.ca





More information about the pmwiki-users mailing list