<HTML dir=ltr><HEAD><TITLE>Re: [pmwiki-users] Integrating PmWiki and phpBB2 - site aggregation</TITLE>
<META http-equiv=Content-Type content="text/html; charset=unicode">
<META content="MSHTML 6.00.2900.2523" name=GENERATOR></HEAD>
<BODY>
<DIV id=idOWAReplyText60773 dir=ltr>
<DIV dir=ltr><FONT face=Arial color=#000000 size=2>Kathryn,</FONT></DIV>
<DIV dir=ltr><FONT face=Arial size=2></FONT> </DIV>
<DIV dir=ltr><FONT face=Arial size=2>Thanks for your recommendations. Sounds like keeping them separate is best especially combined with your rewrite rule approach. Thanks for that.</FONT></DIV>
<DIV dir=ltr><FONT face=Arial size=2>-Steve.</FONT></DIV></DIV>
<DIV dir=ltr><BR>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B> pmwiki-users-bounces@pmichaud.com on behalf of Kathryn Andersen<BR><B>Sent:</B> Sun 28/01/2007 09:50<BR><B>To:</B> pmwiki-users@pmichaud.com<BR><B>Subject:</B> Re: [pmwiki-users] Integrating PmWiki and phpBB2 - site aggregation<BR></FONT><BR></DIV>
<DIV>
<P><FONT size=2>On Sun, Jan 28, 2007 at 09:11:10AM -0000, Crisp, Steve [UK] wrote:<BR>> I'm still trying to integrate PmWiki and phpBB2 so users think its the<BR>> same site. The site has a simple structure, header, sidebar, content<BR>> and footer. The idea is to use PmWiki as the main site and switch out<BR>> to phpBB2 when users click 'forum' in the sidebar. Sounds simple, but<BR>> the things I've done so far (see below) are not working well and I'm<BR>> looking for advice.<BR><BR>I must admit, I would think that the simplest method, if possible, would<BR>be to make them completely separate, but design identical skins for<BR>them. That's what I did for my own site, www.katspace.org; most of the<BR>pages use a CMS based on Embperl, but some sections of the site use<BR>PmWiki with CleanUrls. I used Apache rewrite to hide the difference<BR>even more, but that was mainly because I didn't want broken links.<BR><BR>For example, the reviews section <A href="http://www.katspace.org/reviews/">http://www.katspace.org/reviews/</A><BR>uses my CMS, but <A href="http://www.katspace.org/reviews/Books/">http://www.katspace.org/reviews/Books/</A> is actually<BR>using PmWiki, with the following Apache rewrite rules to hide its<BR>real location:<BR><BR># rewrite rules /reviews/Books/ -> /revstuff/Books/<BR>RewriteRule ^/reviews/Books$<BR>/var/www/katspace/reviewswiki/index.php?n=Books.Books [QSA] [L]<BR>RewriteRule ^/reviews/Books/$<BR>/var/www/katspace/reviewswiki/index.php?n=Books.Books [QSA] [L]<BR>RewriteRule ^/reviews/Books/(.*)$<BR>/var/www/katspace/reviewswiki/index.php?n=Books.$1 [QSA] [L]<BR><BR>The actual books "wiki" is at<BR><A href="http://www.katspace.org/revstuff/Books/Books">http://www.katspace.org/revstuff/Books/Books</A><BR><BR>using Apache Alias commands to say where the wiki directory actually is:<BR><BR>Alias /revstuff/pub /var/www/katspace/reviewswiki/pub<BR>Alias /revstuff/uploads /var/www/katspace/reviewswiki/uploads<BR>Alias /revstuff /var/www/katspace/reviewswiki/index.php<BR><BR>Anyway, my original point is that <A href="http://www.katspace.org/reviews/">http://www.katspace.org/reviews/</A><BR>*looks* the same as <A href="http://www.katspace.org/revstuff/Books/Books">http://www.katspace.org/revstuff/Books/Books</A><BR>because I made a PmWiki skin which matched the template I was using for<BR>the main reviews page.<BR><BR>Of course, the downside of this approach is that you're going to have<BR>some duplication of effort, since you'll need to create one skin +<BR>sidebar for the PmWiki part of your site, and another skin + sidebar for<BR>the phpBB2 part of the site. Of course, this won't work if it isn't<BR>possible to make a phpBB2 skin that looks like the PmWiki skin, but I<BR>don't get that impression from the looks of your site...<BR><BR>Kathryn Andersen<BR>--<BR> _--_|\ | Kathryn Andersen <<A href="http://www.katspace.com/">http://www.katspace.com</A>><BR>/ \ |<BR>\_.--.*/ | GenFicCrit mailing list <<A href="http://www.katspace.com/gen_fic_crit/">http://www.katspace.com/gen_fic_crit/</A>><BR> v |<BR>------------| Melbourne -> Victoria -> Australia -> Southern Hemisphere<BR>Maranatha! | -> Earth -> Sol -> Milky Way Galaxy -> Universe<BR><BR>_______________________________________________<BR>pmwiki-users mailing list<BR>pmwiki-users@pmichaud.com<BR><A href="http://www.pmichaud.com/mailman/listinfo/pmwiki-users">http://www.pmichaud.com/mailman/listinfo/pmwiki-users</A><BR></FONT></P></DIV></BODY></HTML>