[Pmwiki-users] Re: pmwiki-url confusion

Christian Ridderström chr
Sat May 8 16:58:05 CDT 2004


On Fri, 7 May 2004, Patrick R. Michaud wrote:

Just a thought about this... when PmWiki is installed, couldn't it do a 
self-test to determine if it has to use '?pagename=' or not?

Basically PmWiki would just have to make a

	wget http://newly.installed.site/pmwiki.php/PmWiki/SomePage

and check the result. If it works, then it works and '?pagename=' isn't 
necessary. 

Actually, maybe PmWiki could use a set of self-tests working along this 
line that could be used to test the installation?

I do something similar in the PmWiki/InstallationQuickCommands, i.e. the 
bash commands that install PmWiki do a wget to check that the main page is 
rendered properly.

/Christian

-- 
Christian Ridderstr?m                           http://www.md.kth.se/~chr





More information about the pmwiki-users mailing list