[pmwiki-users] URL/host based configuration

Tamara Temple tamouse.lists at tamaratemple.com
Thu Dec 1 10:28:46 CST 2011

Simon <nzskiwi at gmail.com> wrote:
> Thanks, firstly I am currently using IIS.

Okay, I've never used IIS, so I'm not sure what difference it makes.

> Secondly I can use index.php, but what difference would it make, PmWiki will still interpret the
> URL in the same way.

pmwiki will use the directory that index.php is in to look for the
various wiki-specific directories: local, wiki.d, uploads, cookbook,
pub ( maybe others, this is off the top of my head ). So you should have
a separate DocumentRoot for each subdomain, with it's own index.php file
and the above wiki directories.

> I have tried using Apache, but it didn't work there 

What did you set up in Apache?

> I think that there needs to be an internal change to PmWiki somewhere

Not at all. I use it with different URLs and a single installation of
pmwiki just fine as it is. No modifications necessary at all.

> thanks
> Simon
> On 30 November 2011 22:28, Tamara Temple <tamouse.lists at tamaratemple.com> wrote:
>     Simon <nzskiwi at gmail.com> wrote:
>     > I have thanks, but prerequisite is
>     >
>     >   • each wiki will have a unique URL, such as http://www.example.com/wiki1/, http://
>     www.example.com
>     >     /wiki2/
>     >
>     > but PmWiki chokes when I give it a URL such as http://a.example.com/pmwiki.php/My/HomePage
>     and 
>     > http://b.example.com/pmwiki.php/My/HomePage
>     Yes, I can see where specifying the pmwiki.php file itself would be
>     problematic. Is there a specific reason you need to do that? Is there
>     some reason you can't instead specify index.php for each site
>     DocumentRoot which includes the common pmwiki.php script, or use
>     rewriting?
>     Also, do have a look at
>     http://www.pmwiki.org/wiki/Cookbook/WikiFarmAlternative. I'm developing
>     a starting package for something similar to what is described
>     there. Look at https://github.com/tamouse/pmwikifarm for my latest
>     version of that.
> --
> ____
> http://kiwiwiki.co.nz

More information about the pmwiki-users mailing list