-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

You can use apache's alias:

eg:

Alias /user1/ "/var/user/user1/"
<Directory "/var/user/user1/">
Options Indexes FollowSymlinks MultiViews
        AllowOverride None
        Order allow,deny
        Allow from all
</Directory>

Alias /user2/ "/var/user/user2/"
<Directory "/var/user/user2">
Options Indexes FollowSymlinks MultiViews
        AllowOverride None
        Order allow,deny
        Allow from all
</Directory>

Alias /user3/ "/var/user/user3/"
<Directory "/var/user/user3/">
Options Indexes FollowSymlinks MultiViews
        AllowOverride None
        Order allow,deny
        Allow from all
</Directory>


regards,

Kenneth P. Oncinian
Network Administrator
Panasonic Communications Philippines Corporation
Information Systems Division - Network and Infrastructure Department
- --
PGP Public Key: http://m.1asphost.com/koncinian/koncinian.gnupg.key



>> 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
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.2 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFEMHgZ9MTaiXoaMBgRAmvoAKCaDVQsXZu2TL8+zEdLF5JmGQSzZQCeL6dB
Vep/3n3OoXGMDgG2p73YVeU=
=Kv2H
-----END PGP SIGNATURE-----

_________________________________________________
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