stephen noble wrote:
> i can't get it to work either should
> /home/e-smith/files/users/*/public_html> be
> /home/e-smith/files/users/*/HOME/public_html> that doesn't
> work either

do the permissions matter for public_html, the
> case ? could you e-mail the fragment that works ? i'll make it
> a rpm, e-smith-public_html
well depends. if your putting your public_html dir in /home/e-smith/files/$USER/public_html as I did then no. If however you want them in /home/e-smith/files/$USER/home/public_html as your suggesting (I think) then youll need to change these to
in /etc/e-smith/templates(-custom)/etc/httpd/conf/httpd.conf
cat > 50UserDir00 << EOF
# UserDir: The name of the directory which is appended onto a user's home
# directory if a ~user request is recieved.
UserDir home/public_html
EOF
cat > 90e-smithAccess50userdir << EOF
AllowOverride FileInfo AuthConfig Limit
Options MultiViews Indexes SymLinksIfOwnerMatch IncludesNoExec
Order allow,deny
Allow from all
Order deny,allow
Deny from all
EOF
then
/sbin/e-smith/expand-template /etc/httpd/conf/httpd.conf
service httpd reload
youll need to chmod a+x ~/home and ~/home/public_html
oh and I think someone is already packaging this up to be included, and theres a few other neat little things that go with the above to make things even better, so just hang tight and it will be out soon enough
Regards
--
Damien