Virtual hosts, mod_userdir

This is a discussion on Virtual hosts, mod_userdir within the Apache Web Server forums, part of the Web Server and Related Forums category; Hello, i'm looking for a solution to the following problem, any helpful tips would be greatly appreciated. Problem: I ...


Go Back   Usenet Forums > Web Server and Related Forums > Apache Web Server

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 01-12-2007
S.J. Oh
 
Posts: n/a
Default Virtual hosts, mod_userdir

Hello,

i'm looking for a solution to the following problem, any helpful tips
would be greatly appreciated.

Problem:
I have a webserver running debian and apache2 that is configured for
two virtual hosts, say server1.com and server2.com.

On the same server there is a /home containing the home directories of
users. Each user belongs to either group1 or group2 (default linux
system groups, /etc/groups). All user-directories are located in
/home/{user_1, .. ,user_n}.

Is it possible to have mod_userdir for server1.com serve only the
directories of users belonging to group1, for server2.com those
belonging to group2 (i.e. server1.com/~user_x/ is served if user_x is
in group1)?

I am aware that I could just manually add each user to a "UserDir
disabled/enabled" statement but I'd prefer not to have to update
apache-configurations every time a user is added/deleted as users are
managed centrally via LDAP. Is there a way to do this?

Thank you for tips and pointers!


SJ

 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 08:08 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0