[pmwiki-users] Get rid of "Main"? (CleanUrls)

Mike mike at widowitz.com
Tue Sep 26 09:31:41 CDT 2006


Hi PM! You're really quick :-)


Patrick R. Michaud wrote on 26.09.2006 16:27:
> On Tue, Sep 26, 2006 at 04:09:22PM +0200, Mike wrote:
>>    I hope this question has not been discussed in this list recently: Some
>>    months ago, I was looking for a way to further improve the CleanUrls
>>    recipe by getting rid of the main group - all the items in the "Main"
>>    group should be available, linked, and displayed as if they were in the
>>    root directory. So I'd like to have "www.server.com/Information" instead
>>    of "www.server.com/Main/Information".
>>
>>    As far as I remember, this request could not be fulfilled. Is it possibly
>>    supported by now?
> 
> I think it can be done, 

Good news...

> it just requires some tricky-ish configuration
> of PmWiki (and possibly the webserver).

...less good news, as I could become a typical example of PEBKAC, unless
there's some idiot-proof instructions somewhere...

> But first, one question:  If someone does http://www.server.com/XYZ,
> and both XYZ.XYZ (a group) and Main.XYZ exist, which page should
> come up?

Good question. I'd suggest that the page overrules the group, i.e.
Main.XYZ should come up. Just as on my PC I can have both a file named
"xxx" and a folder "xxx", but not both at the same time...

Thanks and regards,
Mike




More information about the pmwiki-users mailing list