dirty solution

set documentroot to /var/users
ln -s /usr/local/apache/htdocs/* /var/users

or the other way around

set documentroot to /usr/local/apache/htdocs
ln -s /var/users/* /usr/local/apache/htdocs/


On 4/1/06, Jay Jesus D. Amorin <[EMAIL PROTECTED]> wrote:
> hellow,
>
> how will i configure apache to serve pages from a certain directory?
>
> like: http://localhost/user1  ----> will be pointing to /var/users/user1
>        http://localhost/user2  ---->  will be pointing to /var/users/user2
>
>        http://localhost ------>  will be pointing to my DocumentRoot
> /usr/local/apache/htdocs
>
>        users directory
>        --  /var/users/user1
>        --  /var/users/user2
>        --  /var/users/user3
>
> help are very much appreciated.
>
> thanks.
>
> --jayam--
>
> _________________________________________________
> Philippine Linux Users' Group (PLUG) Mailing List
> [email protected] (#PLUG @ irc.free.net.ph)
> Read the Guidelines: http://linux.org.ph/lists
> Searchable Archives: http://archives.free.net.ph
>


--
Seek ye first the kingdom of God and all these things shall be added unto you.

Winelfred G. Pasamba
Adventist University of the Philippines
Computer Science Department, AUP Online Information System
_________________________________________________
Philippine Linux Users' Group (PLUG) Mailing List
[email protected] (#PLUG @ irc.free.net.ph)
Read the Guidelines: http://linux.org.ph/lists
Searchable Archives: http://archives.free.net.ph

Reply via email to