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

2009-10-23 Thread Sandy
Farkas, Illes wrote: > > Thanks. What do you precisely mean by "and the like"? Where can I learn > what (:include:) and "the like" are? > > (:include:) includes the text from one page in another page. It's often used for "boilerplates", where you want the same text to appear in several plac

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

2009-10-15 Thread The Editor
Seems the best approach would be to lock down the entire group using normal auth settings, and then use the local Project.php folder to temporarily open it when the ip is right. But then yo would lose all "include and the like" outside the group. Probably better still, is to lock the group down sit

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

2009-10-14 Thread Simon
I imagine "and the like" includes page text variables, page variables, attachments, searches, and page lists 2009/10/15 Farkas, Illes > On Wed, Oct 14, 2009 at 7:27 PM, Patrick R. Michaud wrote: > >> On Thu, Oct 08, 2009 at 05:15:28PM +0100, Hans wrote: >> > Thursday, October 8, 2009, 2:25:44

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

2009-10-14 Thread Farkas, Illes
On Wed, Oct 14, 2009 at 7:27 PM, Patrick R. Michaud wrote: > On Thu, Oct 08, 2009 at 05:15:28PM +0100, Hans wrote: > > Thursday, October 8, 2009, 2:25:44 PM, Farkas, Illes wrote: > > > > > Shall I put something like this into local/config.php ? > > > > > if ( && > > > @$_SERVER['REMOTE_ADDR'] !=

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

2009-10-14 Thread Patrick R. Michaud
On Thu, Oct 08, 2009 at 05:15:28PM +0100, Hans wrote: > Thursday, October 8, 2009, 2:25:44 PM, Farkas, Illes wrote: > > > Shall I put something like this into local/config.php ? > > > if ( && > > @$_SERVER['REMOTE_ADDR'] != ''){ > > > > } > > try > > $group = PageVar($pagename, '$Grou

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 wrote: > try > > $group = PageVar($pagename, '$Group'); > if ($group=='Project') > if (@$_SERVER['REMOTE_ADDR'] != '') > Redirect('Main.HomePage'); > thanks, it works, nice cleanilles ___ pmwiki-users maili

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 ( && > @$_SERVER['REMOTE_ADDR'] != ''){ > > } try $group = PageVar($pagename, '$Group'); if ($group=='Project') if (@$_SERVER['REMOTE_ADDR'] != '') Redi

[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,