SV: [Pmwiki-users] ChangePmWikiURL / mod_rewrite

Hugo Fjelsted Alrøe Hugo.Alroe
Mon Mar 15 03:32:37 CST 2004


I am not sure where the information should go, but I think the feature of making simpler URLs is important. My thoughts on this is that URL's are media for information (in cooperative web work, URLs are used a lot for referencing), and that there should be as little unnecessary (with respect to the receiver) information as possible.

I use mod_rewrite on ecowiki.org and I would be happy to help out with the testing and documentation if I can. (Our setup is pretty standard, apart from the mod_rewrite thing, except that I placed the uploads directory in root and not inside the pmwiki directory - again, to have more clean URLs to the files).

Kind regards
Hugo

> -----Oprindelig meddelelse-----
> Fra: Patrick R. Michaud [mailto:pmichaud at pobox.com]
> Sendt: 12. marts 2004 19:16
> Til: pmwiki-users at pmichaud.com
> Emne: [Pmwiki-users] ChangePmWikiURL / mod_rewrite
> 
> 
> Just a note to PmWiki users in general--
> 
> A lot of configuration issues have come across
> the listserv lately that come down to problems with
> the mod_rewrite modification suggested by
> http://www.pmichaud.com/wiki/PmWiki/ChangePmWikiURL .
> 
> First, some background:  PmWiki has never been fully
> tested with the mod_rewrite feature, and I wasn't the
> one who wrote that particular section of the page--it
> was contributed by someone else.  
> 
> In order to make initial installation of PmWiki simpler, 
> pmwiki.php makes some pretty good guesses about the 
> location of the pub/ and uploads/ directories based 
> on the URL used to access the pmwiki.php script.  However,
> if the URL that is used to access pmwiki.php changes
> (e.g., by using something like mod_rewrite), then PmWiki
> loses its ability to do this automatic detection and
> the relevant variables have to be explicitly set in
> config.php.
> 
> So, I'm trying to figure out how to resolve the current
> set of problems.  My ideas thus far are:
> 
> 1.  Move the information in ChangePmWikiURL into one
> or more Cookbook pages where the configuration details
> can be more easily specified.
> 
> 2.  Leave the information in the PmWiki documentation
> but have a more thorough testing and documentation of
> all of the configuration variables that must be changed/set
> in order for this customization to work.
> 
> Any comments, ideas, suggestions?
> 
> Pm
> 
> -- 
> Pmwiki-users mailing list
> Pmwiki-users at pmichaud.com
> http://pmichaud.com/mailman/listinfo/pmwiki-users_pmichaud.com
> 
> 



More information about the pmwiki-users mailing list