Home : Products : Others : Gossamer Community :

Products: Others: Gossamer Community: Re: [pugdog] restrict access with community: Edit Log

Here is the list of edits for this post
Re: [pugdog] restrict access with community
Hi,

We are actually doing this for a client right now. I've uploaded it so people can try it out. It requires mod_perl, but it is a nice mod_perl handler so you can put:

PerlModule Community::ModPerl::Access
PerlAccessHandler Community::ModPerl::Access
PerlSetVar CommunityPrivatePath /home/alex/projects/community/private

in any .htaccess file or in any <Directory> block in httpd.conf and it will only allow people who are logged into Community to get access to those files. If you aren't logged in, it will kick you back to the login page, and once you log in, get automatically kicked back.

Did I mention GossamerHost has mod_perl servers already preconfigured to make this a snap? =)

We will look at expanding this so you can do the normal `require user` syntax to allow only ceartain Community users in.

Cheers,

Alex
--
Gossamer Threads Inc.

Last edited by:

Alex: Feb 20, 2003, 5:11 PM

Edit Log: