hosted by liquidweb


Go Back   Web Hosting Talk : Web Hosting Main Forums : Dedicated Server : Pureftp, linux help - default httpdocs directory
Reply

Dedicated Server Current and past experiences with dedicated server providers, bandwidth, and server performance. Review managed and unmanaged dedicated web servers, discuss both Windows and Unix dedicated server solutions, and discuss dedicated hosting providers. If your service is unavailable, please click here.
Forum Jump

Pureftp, linux help - default httpdocs directory

Reply Post New Thread In Dedicated Server Subscription
 
Send news tip View All Posts Thread Tools Search this Thread Display Modes
  #1  
Old 06-14-2009, 08:10 AM
anthwinter anthwinter is offline
New Member
 
Join Date: Jun 2009
Posts: 1

Pureftp, linux help - default httpdocs directory


Hi all.

i have just bought a dedicated linux server, but its all very new to me and im not to sure about everything yet.

i have moved over my domains to my new server. all fine.

however when i loging to one of the FTP accounts i can see alot of folders and files i dont want the user to see when they login.

they have to goto HTTPDOCS to upload there website.. however there are alot of files in here already, im not wanting these.

my question is... when they login to there FTP all they see is a blank directory/folder - so that they upload there website files there, without confusion?

on my last server (managed server) i was able to just create a folder, then change the domain destination to this location on my server...., i am hoping to get the same setup.

i also have plesk 8.6.0.

thanks all

Reply With Quote


Sponsored Links
  #2  
Old 06-14-2009, 08:20 AM
coax coax is offline
renegade
 
Join Date: Feb 2006
Posts: 1,042
I think you have to edit /etc/pure-ftpd.conf to say:


ChrootEveryone=YES

__________________



Reply With Quote
  #3  
Old 06-14-2009, 08:35 AM
Daniel15 Daniel15 is offline
Web Hosting Guru
 
Join Date: Nov 2006
Location: Melbourne, Australia
Posts: 308
Quote:
however when i loging to one of the FTP accounts i can see alot of folders and files i dont want the user to see when they login.

they have to goto HTTPDOCS to upload there website.. however there are alot of files in here already, im not wanting these.
You can delete all the default files from httpdocs, except for plesk-stat (which is used for statistics). "test", "img", "css", and whatever other Plesk junk it puts in there can be deleted. If you don't want these files to come up on newly-created accounts, then delete them from the "Skeleton" directory, which I think is an option in Plesk for administrators (Unfortunately I no longer have a Plesk server set up, so can't check it out for you).

As for the FTP directory root, that's how Plesk sets up FTP. Users might want to upload stuff into their home, instead of their httpdocs folder (for security reasons, PHP includes that are not accessed directly are often uploaded outside the web root. Other things that are not public, like access logs, are also outside the web root. Users might want to download this), and being set up like that allows this. If you still want to change this so the root is the httpdocs directory, you'd need to change how Plesk generates the FTP config. Again, I don't have a Plesk box, but maybe someone else can help with this . Note that the file browser will still show their root (and not the httpdocs directory), so the users might get confused why Plesk shows something different to FTP.

You might want to upgrade to Plesk 9, too

__________________
I'm Daniel15.

Reply With Quote
Sponsored Links
Reply

Related posts from TheWhir.com
Title Type Date Posted
Big Data and Cloud Drive Enterprise Linux Adoption: Report Web Hosting News 2013-03-27 12:54:34
50c21c1c-1d94-4ed4-adac-26fa45a79943 Listing 2013-03-05 18:26:32
50c21c1b-d390-47d6-b61c-26ec45a79943 Listing 2013-03-05 18:22:55
50c21c1b-2fc0-46e3-baa6-26e245a79943 Listing 2013-03-05 18:22:56
Linux Foundation Website Down After Security Breach Last Week Web Hosting News 2011-09-12 20:32:11


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes
Postbit Selector

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

Forum Jump
Login:
Log in with your username and password
Username:
Password:



Forgot Password?
Advertisement:
Web Hosting News:



 

X

Welcome to WebHostingTalk.com

Create your username to jump into the discussion!

WebHostingTalk.com is the largest, most influentual web hosting community on the Internet. Join us by filling in the form below.


(4 digit year)

Already a member?