httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Lewis Watson" <li...@visionsix.com>
Subject Re: [users@httpd] Apache ~users question
Date Sun, 17 Nov 2002 00:39:39 GMT
> > Hey Apache users,
> > I am using the ~user functionality of apache. Rather than apache
obtaining a
> > list of users from the .passwd file is there a way to point apache to
either
> > a mysql database, or possibly another text file?
>
> Not with mod_userdir.  With mod_rewrite, you could use a text file or a
> dbm type database:
>
> RewriteMap user-dir txt:/path/to/user-dir.txt
> RewriteRule ^/~([a-zA-Z0-9]*)(/?.*)
${user-dir:$1|/usr/local/apache2/htdocs}$2
>
> Or, if you like C programming, you can hack
> mod_userdir to do what you want.
>
> Joshua.


Thanks for the reply. Do you know if anyone has attempted to modify
mod_userdir and made it available already?
Thanks.
Lewis


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message