You mean the . files from the login or the (apache?) webserver
configuration files (which do not have to be in the same directory
structure as the site itself)?

In regards to your nonexistant thing, "man shells", then "cat
/etc/shells"

You might want to also look at /etc/ftpchroot (described in "man ftpd").

If you meant the apache config files, you could just have all the web
files like:

/home/username/sitename.ext/htdocs
/home/username/sitename.ext/cgi-bin
/home/username/sitename.ext/logs

And then specify in the apache config something like
ResourceConfig
/usr/local/etc/apache/site_configurations/sitename.ext.srm.conf

Or something of that nature.

John Straiton
[EMAIL PROTECTED]
Clickcom, Inc
704-365-9970x101 

> -----Original Message-----
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf Of Defryn, Guy
> Sent: Monday, March 17, 2003 3:53 PM
> To: [EMAIL PROTECTED]
> Subject: ftp best practices
> 
> 
> 
> 
> I am setting up a webserver and I would like some opinions on this.
> 
> I have created a partition for the sites and create a 
> directory for each site. Then I create a user account and set 
> the website folder as the home directory for that user. The 
> user can now ftp in his directory and upload files.
> 
> 
> One thing I would like to prevent is the visibility of the 
> config files in the directory. I tried setting the shell to 
> nonexistent but ftp does not seem to allow that.
> 
> 
> Cheers
> 
> To Unsubscribe: send mail to [EMAIL PROTECTED]
> with "unsubscribe freebsd-questions" in the body of the message
> 
> 



To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message

Reply via email to