Quoting Paul Larue <[EMAIL PROTECTED]>: > As I said, people are uploading images to their folder. And I got a web > interface that give them access to those files. > > After some thoughts, mod_alias is not a good option since I'll have to > create an alias for each user. A dynamic stuff would be better, I think > I heard about mod_rewrite that does something like that. You think this > could help? > > Paul
I never used mod_rewrite but I'm sure you can do that. It may be little more complex than mod_userdir though. I'll still prefer mod_userdir as in just three lines I can set it up for all users like Userdir dirname Userdir enabled Userdir disabled root The last line is not needed and now any request for http://server/~user will serve contents from /home/user/dirname I think with mod_rewrite this can also be achieved with something like RewriteRule ^/usr(.*) /home/usr/dirname/$1 I hope (not sure though read the docs on mod_rewrite) this will serve http://server/usr from /home/usr/dirname R'twick -- This is a signature ---------------------------------------------------------------- This message was sent using IMP, the Internet Messaging Program. ____ � The WDVL Discussion List from WDVL.COM � ____ To Join wdvltalk, Send An Email To: mailto:[EMAIL PROTECTED] Send Your Posts To: [EMAIL PROTECTED] To set a personal password send an email to [EMAIL PROTECTED] with the words: "set WDVLTALK pw=yourpassword" in the body of the email. To change subscription settings to the wdvltalk digest version: http://wdvl.internet.com/WDVL/Forum/#sub ________________ http://www.wdvl.com _______________________ You are currently subscribed to wdvltalk as: [EMAIL PROTECTED] To unsubscribe send a blank email to [EMAIL PROTECTED] To unsubscribe via postal mail, please contact us at: Jupitermedia Corp. Attn: Discussion List Management 475 Park Avenue South New York, NY 10016 Please include the email address which you have been contacted with.
