Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 2 > General

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 30th October 2005, 01:37
hairydog2 hairydog2 is offline
Senior Member
 
Join Date: Oct 2005
Posts: 196
Thanks: 9
Thanked 3 Times in 2 Posts
Default ftp login is to below web server root

This is the problem: I create a new user called test2, and create a website for test2.com. I create a webuser login called test2user. When I log in using the webftp or a separate ftp program as tes2user, it takes me to

/home/www/web20/user/test2user/

I upload a file to /home/www/web20/user/test2user/web/ then when I open a browser to look at test2.com I see the default index page.

And it is easy to see why: if I look in /etc/apache2/vhosts/Vhosts_ispconfig.conf

the relevant part of the file says:

ServerName www.test2.com:80
ServerAdmin webmaster@test2.com
DocumentRoot /home/www/web20/web

This means that the directory being set up for the user is lower down the path than the webroot; the user can't put files into webroot.

I followed the Debian 3.1 perfect setup, and I'm running v2.1.0

What do I change to make it fit together?
Reply With Quote
Sponsored Links
  #2  
Old 30th October 2005, 11:13
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,060
Thanks: 826
Thanked 5,395 Times in 4,239 Posts
Default

You have to check the "Administrator" checkbox in the settings of the user test2user.
Reply With Quote
  #3  
Old 30th October 2005, 13:12
hairydog2 hairydog2 is offline
Senior Member
 
Join Date: Oct 2005
Posts: 196
Thanks: 9
Thanked 3 Times in 2 Posts
 
Default

Thanks. That sorted it out. I hadn't worked out why each user has a subdirectory called web.

I now realise that it is so that each user can have their own web space with the url

http://www.test2.com/~username/

If that's in the documentation, I missed it!
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Postfix error dianer Installation/Configuration 22 8th May 2006 00:31
Details on problem /mailuser login and more (long) linutzy Installation/Configuration 11 15th February 2006 18:45
FTP access problem... ctroyp General 7 12th October 2005 17:07
mail bounces back to myself Ovidiu Installation/Configuration 9 23rd September 2005 02:48
Total Frustration-HELP palkat Installation/Configuration 17 3rd September 2005 17:28


All times are GMT +2. The time now is 16:22.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.