[pmwiki-users] how to make pages in the group 'Project' accessible only from one fixed IP

2009-10-08 Thread Farkas, Illes
Hi, Thanks for your previous help with page editing permissions. This time I would like to make pages in the group 'Project' (for example, Project.Data, Project.Meetings, Project.Deadlines) accessible only to visitors from a fixed IP number. If any other visitor tries to access 'Project' pages,

Re: [pmwiki-users] how to make pages in the group 'Project' accessible only from one fixed IP

2009-10-08 Thread Hans
Thursday, October 8, 2009, 2:25:44 PM, Farkas, Illes wrote: Shall I put something like this into local/config.php ? if ( group is 'Project' -- how to write this? @$_SERVER['REMOTE_ADDR'] != 'selected IP'){ instead of the requested page set page to 'Main.HomePage' } try $group =

[pmwiki-users] Php5 -- MMCache in plain English wanted, for timid webmasters

2009-10-08 Thread Sandy
Do we still need to deactivate MMCache in php.ini to use php5 ? The features page says we do. http://pmwiki.org/wiki/PmWiki/PmWikiFeatures I'm with 4.something on my current host, but am going to make a new site, and it makes sense to start it with the current version of everything. (We won't

[pmwiki-users] Attach ZIP files and downloads

2009-10-08 Thread pmwiki
Hi, I'm using authuser for a wiki. 1. What's the way of having only people with the right password download a ZIP file. 2. I'd rather not assign a user id for each person, just set a read password without a user name for that page. I know that it's not that secure but it's a balance between

Re: [pmwiki-users] Php5 -- MMCache in plain English wanted, for timid webmasters

2009-10-08 Thread DaveG
I'm running on php5, and mmcache is enabled. I've not noticed any issues. If you wanted to disable it, from what I can see on my php settings page, you'd have to set eaccelerator.enable to 0 to disable the cache. It seems like you can do this from htaccess like this: php_flag

Re: [pmwiki-users] how to make pages in the group 'Project' accessible only from one fixed IP

2009-10-08 Thread Farkas, Illes
On Thu, Oct 8, 2009 at 6:15 PM, Hans desi...@softflow.co.uk wrote: try $group = PageVar($pagename, '$Group'); if ($group=='Project') if (@$_SERVER['REMOTE_ADDR'] != 'selected IP') Redirect('Main.HomePage'); thanks, it works, nice cleanilles