/var/www & public_html
Hi guys.
I just got a server going, after about 3 days of experimenting. These are the specs below. -------------------- CentOS 5.2 Apache + PHP + MySQL + Webmin + Usermin All via yum, so they're all the latest versions. -------------------- Question: The directory for the website is /var/www/html - How do I get it like cPanel, where each user has there own public_html directory? cPanel: /home/ACCOUNT/public_html Thanks |
OK, it's Apache Module mod_userdir - How do I turn it on/change it to? :p
Ta |
|
Don't worry guys...
|
getting the user/public_html
this is accomplished with USERMIN. using WEBMIN >Usermin Configuration > Available Modules >Apache Options Files. the user logs into {site}:20000 and gets their interface from there. at this time, i am not sure how the public gets to that user webpage but i see there is an .htaccess thing available.
|
I got the same problem and find this post useful. What I want is to let my user account to have their own public_html directory, so that they can access by www.domain.com/~user
How to ensure the userDir module in apache is load/enabled? Am I asking the wrong question? Please help |
To enable the apache module, type
Code:
a2enmod |
username webpage
How to ensure the userDir module in apache is load/enabled?
i use phpinfo - the mods are listed there; i'm sure there is a cli for that but i cant ever remember them Am I asking the wrong question? not sure. havent used it in a long while and cant even recall the address syntax... but usermod of some kind because i believe that webmin runs that show - not the regular server apache thing. here is a link! http://books.google.com/books?id=FyU...ed=0CD4Q6AEwBg also http://doxfer.webmin.com/Webmin/WU-FTPDServer |
Enable the apache module --- a2enmod
Quote:
Code:
a2enmod |
bump
|
CentOS enable Apache modules
From the link shown below, I found this:
Quote:
|
All times are GMT -5. The time now is 12:02 PM. |