Linux - Server This forum is for the discussion of Linux Software used in a server related context. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
01-04-2009, 09:43 AM
|
#1
|
LQ Newbie
Registered: Jan 2009
Posts: 3
Rep:
|
/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
|
|
|
01-04-2009, 10:03 AM
|
#2
|
LQ Newbie
Registered: Jan 2009
Posts: 3
Original Poster
Rep:
|
OK, it's Apache Module mod_userdir - How do I turn it on/change it to?
Ta
|
|
1 members found this post helpful.
|
01-04-2009, 11:25 AM
|
#3
|
Member
Registered: Dec 2004
Distribution: Slackware, Arch, FreeBSD
Posts: 202
Rep:
|
|
|
1 members found this post helpful.
|
01-04-2009, 10:10 PM
|
#4
|
LQ Newbie
Registered: Jan 2009
Posts: 3
Original Poster
Rep:
|
Don't worry guys...
|
|
|
03-16-2009, 04:18 AM
|
#5
|
LQ Newbie
Registered: Feb 2008
Location: seattle
Distribution: CENTOS
Posts: 5
Rep:
|
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.
|
|
|
01-19-2011, 05:06 AM
|
#6
|
Member
Registered: Aug 2004
Distribution: Lubuntu Live OS
Posts: 432
Rep:
|
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
Last edited by fhleung; 01-20-2011 at 01:23 AM.
|
|
|
01-20-2011, 08:35 PM
|
#7
|
Member
Registered: Aug 2004
Distribution: Lubuntu Live OS
Posts: 432
Rep:
|
To enable the apache module, type that the Debian way, anyone know howto in other distribution like Fedora?
|
|
|
01-27-2011, 03:09 AM
|
#8
|
LQ Newbie
Registered: Feb 2008
Location: seattle
Distribution: CENTOS
Posts: 5
Rep:
|
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
|
|
|
02-21-2011, 09:34 PM
|
#9
|
Member
Registered: Aug 2004
Distribution: Lubuntu Live OS
Posts: 432
Rep:
|
Enable the apache module --- a2enmod
Quote:
Originally Posted by Mat1337
OK, it's Apache Module mod_userdir - How do I turn it on/change it to?
|
To enable the apache module, type
thats the Debian way, anyone know howto in other distribution like Fedora?
|
|
|
02-24-2011, 05:28 AM
|
#10
|
Member
Registered: Aug 2004
Distribution: Lubuntu Live OS
Posts: 432
Rep:
|
bump
|
|
|
02-24-2011, 03:23 PM
|
#11
|
LQ Newbie
Registered: Jan 2011
Location: Roatan Honduras
Distribution: Debian Lenny, Squeeze, Ubuntu Various
Posts: 13
Rep:
|
CentOS enable Apache modules
From the link shown below, I found this:
Quote:
For centos/ fedora and other redhat based distributions, things work different than in Ubuntu/ Debian, you need to modify *.conf file stored in /etc/httpd/conf.d/ directory. So for example if you don`t want to use the module expire, to disable this module, you need to rename expire.conf to mod_expire.bkp and then restart apache.
|
Link
Last edited by tenmei08; 02-24-2011 at 03:24 PM.
|
|
|
All times are GMT -5. The time now is 03:19 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|