I installed apache2 in Ubuntu Feisty and tried to setup userdir so that every user can store their files under this directory and can view this by http://hostname/~username. But I couldnt find “Userdir” in apache2.conf file. Then I came to know its very simple in Feisty. Issue the given below command:-
sudo a2enmod userdir
and then restart the apache2. And now its working fine. To enable a module in apache2 use the command “a2enmod” and to disable use “a2dismod”.
I am still trying which package in Sabayon (based on Gentoo) Linux has this tool `a2enmod’ and `a2dismod’. I emerged `Apache-tools’ package too, but it does not seem to have bundle these tools. Any idea on how to get these commands in Sabayon?
a2enmod and a2dismod are only for debian