enable ~/public_html/ in RHEL4 and also in Apache
Hi keen buddies,
how to enable public_html for every user in RHEL4. tq. |
Edit httpd.conf
Find UserDir directive and edit it. If you're on SELinux too, set security context. Code:
chcon -R -t httpd_sys_content_t /path/to/public_html |
Quote:
how about the main httpd.conf do I have to edit something inside this file or just create .htaccess file in /home/usr/public_html? tq. |
Yes, and search for UserDir. Change disable to enable
|
Quote:
is it included in .htaccess for every user? how to create a standard format of directory for a certain ssl directory for every user. like /home/user/public_html/www like /home/user/public_html/http like /home/user/public_html/docs like /home/user/public_html/ssldocs etc..etc... thanks |
All times are GMT -5. The time now is 09:30 AM. |