Go to the FreeLists Home Page Home Signup Help Login
 



[dokuwiki] || [Date Prev] [09-2006 Date Index] [Date Next] || [Thread Prev] [09-2006 Thread Index] [Thread Next]

[dokuwiki] generating .htaccess from Dokuwiki ACL for advanced dokumentation feature

  • From: "Andreas Benzler" <benzolo@xxxxxx>
  • To: <dokuwiki@xxxxxxxxxxxxx>
  • Date: Wed, 6 Sep 2006 21:15:09 +0200
I am thinking about a new interesting feature, I think Dokuwiki should have.
Maybe someone out there has already done something similar to the problem I
have...

Here is my scenario:
I am running Dokuwiki on a web server secured per ssl and am using the ACL
to manage the wiki Access. Because we get quite regular additional
documentation CD's (conference proceedings, ...) with html content, I would
like to copy this content to my web server and link to this content in my
wiki. Because I have to restrict the access to this content I would like to
use the .htaccess files to secure these folders on the server. Because
adding users to a certain group in Dokuwiki is much easier than doing that
directly with Apache I would like to have a .htaccess file generated from
the dokuwiki ACL files. Lets say only a certain dokuwiki user group can
access the folder protected by a certain .htaccess file. Just using .htacces
and not the ACL in combination with one of the .htaccess -> dokuwiki ACL
mods like it is discribed in some tips on the dokuwiki site is not what I
want...

It would be great if someone already has done such a job...

At the moment I am not really into php so I am not able to do that task
myself. Because I don not have a lot of users and nearly no change in users,
it would be a start for the beginning if I could use the usernames and the
password hashes stored in the ACL files and copy them by hand into the
.htaccess files. Does anyone knows if this is feasible? Are the hashes from
dokuwiki compatible with the ones in .htaccess files?

If someone likes to work on something like that, this
http://rs.rhapsodyk.net/devel/apache-admin-config/ might be a starting point
to access apache config files in a easy way. But maybe it is easier to make
a .htaccess template and simply add users to that text file using php..

I hope I could inspire someone out there with my idea to make dokuwiki even
better...


Andreas Benzler


-- 
DokuWiki mailing list - more info at
http://wiki.splitbrain.org/wiki:mailinglist




[ Home | Signup | Help | Login | Archives | Lists ]

All trademarks and copyrights within the FreeLists archives are owned by their respective owners.
Everything else ©2007 Avenir Technologies, LLC.