LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 08-05-2006, 05:15 PM   #1
generic01
Member
 
Registered: Aug 2006
Posts: 32

Rep: Reputation: 15
ISPConfig question


I am running Mandriva 2006 with ISPConfig setup. When I add new users to host it sets them up with a /home/username home directory. This is what I want. However, I have to add virtualy hosts in my httpd.conf file everytime this occurs. I thought there was a way so that you can setup the documentroot of apache to be defaulted to home/username/www/ but it seems the only way is to set up virual hosts each time. Does anyone have any insight on whether you can globally setup new accounts' document root to be /home/username/www? Thanks in advance.
 
Old 08-05-2006, 05:42 PM   #2
gilead
Senior Member
 
Registered: Dec 2005
Location: Brisbane, Australia
Distribution: Slackware64 14.0
Posts: 4,141

Rep: Reputation: 168Reputation: 168
I haven't used ISPConfig but Apache supports user home-pages with the UserDir directive - typically the public_html directory in their home directory, but this is configurable. It might be useful to look at the docs at http://httpd.apache.org/docs/2.0/howto/public_html.html
 
Old 08-05-2006, 06:16 PM   #3
generic01
Member
 
Registered: Aug 2006
Posts: 32

Original Poster
Rep: Reputation: 15
Thanks for your reply. I did see that walkthrough when I was searching for answers regarding my question. That was a solution, however when you create new users with ISPConfig it defaults them to store websites at /var/www/ but defaults their ftp to /home/username. I can solve this with editing config files but that would be a pain when adding users. Just seeing if there was a way to globally set up so that ISPConfig creates new users with /home/username and ftp account locked into /home/username. Thanks for the quick response.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: How To Run Your Own Name Servers With ISPConfig And GoDaddy LXer Syndicated Linux News 0 06-15-2006 12:21 AM
ISPConfig, postfix, dovecot: incorrect permissions keyF Linux - Software 0 06-13-2006 10:01 AM
Debian 3.1 + ISPConfig + bBlog permissions problem markjones Debian 0 05-22-2006 06:04 AM
LXer: ISPConfig: A hosting control panel LXer Syndicated Linux News 0 01-09-2006 02:46 PM
ISPconfig AUTHORIZATION state command . linutzy Linux - Software 0 09-10-2005 08:52 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:38 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration