On Sun, Apr 12, 2009 at 11:13 PM, graeinler <[email protected]> wrote: > Hi everyone, > > I have pmwiki password protected all pages and groups by editing the > config.php file. This works fine, however, I'm wanting to > add in some content (preferrably html) to the login page so that non > members of the site at least has some content to look over. > > I've tried looking over the website on how to do this but I haven't come > around anything. > > If anyone can point me where to start or what I need specifically to > change, that would be most appreciated.
Whoops! Sorry for the top-post, before, and also for my sloppiness in the before-and-after pictures of the .htaccess file. Delete that reply, please, and use this one: There are at least a couple of ways to do this. One would be to create a special version of the skin for your Main/HomePage that doesn't incorporate any of the Site-group or other Main-group pages, then set read-access to Main/HomePage to @nopass. Another way would be to create an all-html version of index.php, with the material you want your visitors to see, just with normal html markup. Where I've done this, I've customized the root-level .htaccess file FROM: RewriteEngine on RewriteRule ^([A-Z].*) /index.php?n=$1 [L,qsappend] RewriteRule ^$ /index.php [L,qsappend] php_flag display_errors off TO: RewriteEngine on RewriteRule ^([A-Z].*) /pmwiki.php?n=$1 [L,qsappend] RewriteRule ^$ /index.php [L,qsappend] php_flag display_errors off (and I've also incorporated an html link somewhere to the site's Main/HomePage for my own convenience.) There are probably other approaches, as well. Ask if you need more information, Tegan Dowling http://twitter.com/wikignome "The future’s here already. It’s just unevenly distributed." -- William Gibson _______________________________________________ pmwiki-users mailing list [email protected] http://www.pmichaud.com/mailman/listinfo/pmwiki-users
