[pmwiki-users] Clean URLs (Another question from the newbie)

Sandy sandy at onebit.ca
Tue Jan 8 12:22:19 CST 2008

Steve Glover wrote:
> On Tue, 2008-01-08 at 12:18 -0500, Sandy wrote:
>> Uh, you may be learning a lot, but not necessarily what you need to learn.
>> Is your "real site" the same setup as your home machine? I know just 
>> enough about servers and such to know that 90% of the same, if they look 
>> similar, then they are (and all the experts think I'm paranoid for 
>> triple-checking things), but that last 10% is a doozy.
> Gosh, yes. Even if it's just that the various paths are different on
> home and ISP servers....
> (Thinks: would it make sense to factorise out the machine-specific code
> into an include file, so that when you copy over config.php, say, from
> one machine to another, you don't need to change all the paths?)
> Steve

I think it's possible to move all the path-setting statements to the 
same part of config.php, so at least you can see them all at once. 
Search the text file for "URL" and "$(wildcard)D" to make sure you have 
them all.



More information about the pmwiki-users mailing list