Hi Paul,

Quoting Paul Larue <[EMAIL PROTECTED]>:

> Hi all,
> First fo all: I'm TOTALLY new to apache (yep, those people still
> exist!). 
> 
> Here's what I'm doing... I have people uploading files on a linux box.
> Each one has his user name and password and is uploading in his
> /home/user_name/dir1/ dir.
> 
> I need to have a web page where bu username/password they'll be able to
> view their files... I can't send them to http://ip/home/user_name/dir1/
> so I'd like to create virtual dirs for each of them and have them use
> it... Let's say
> 
> http://ip/user1 will show files found in /home/user1/dir1/
I think if you have mod_usrdir installed (this is part of apache distribution)
then you can setup apache so that http://ip/~user will point to the homedir of
user (note the ~ before user). I don't have access to my box right now to give
the exact syntax but mod_usrdir docs at apache.org can tell you exactly how to
set this up. Its pretty easy. probably couple of lines of code. This assuming
you have access to the server to change httpd.conf file.

If the files are in a subdir under the home dir then you can browse it by
http://ip/~usr/dir. If you want http://ip/usr to go to http://ip/~usr/dir then
mod_rewrite can help you there.

HTH
R'twick

If the files are in a subdirectory
-- 
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.

Reply via email to