Re: user-dir Apache Module and FC4

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Am Di, den 30.08.2005 schrieb CHAT KHODA um 5:28:

> I would appreciate if anyone guides me to use users
> home directories as their web space (in public-html)
> without enabling them to access the files through
> (~)addresses.
> Note: maybe userdir disabled works but I wonder if I
> find what will be lost.

> Kambiz

Simply create a vhost for each user who should get a webspace. That is
trivial. The Apache website has documentation about setting up different
types of vhosts. Point the DocumentRoot to the directory you wish to
use, i.e. /home/<user>/www/html.
Just be aware that you will have to modify the SELinux policy. Else
SELinux will prohibit access to these website with non-standard
DocumentRoot.

Alexander


-- 
Alexander Dalloz | Enger, Germany | GPG http://pgp.mit.edu 0xB366A773
legal statement: http://www.uni-x.org/legal.html
Fedora Core 2 GNU/Linux on Athlon with kernel 2.6.11-1.35_FC2smp 
Serendipity 11:07:21 up 8 days, 7:51, load average: 0.60, 0.27, 0.12 

Attachment: signature.asc
Description: Dies ist ein digital signierter Nachrichtenteil


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux