On Sat, 10 Nov 2001 20:29:58 -0800 (PST)
"Derrick Hall" <[EMAIL PROTECTED]> wrote:
> Hi, I have check some of the support questions and can't find the answer to
> this.
>
> I want to allow a virtual domain user access to thier site to make changes
> to thier html content. Is this possible if so how?
First make a dir to put all yours customers.
Sugestion = mkdir /vhosts
Second create all dirs to each customer.
Sugestion =
mkdir /vhosts/domain1.com
mkdir /vhosts/domain1.com/web
mkdir /vhosts/domain1.com/cgi
mkdir /vhosts/domain1.com/log
mkdir /vhosts/domain1.com/private
Now, configure Apache to respond for each domain customer, editing for
this the file "httpd.conf"
Sugestion =
#---------- domain1.com -------------------
<VirtualHost HERE-PUT-YOUR-HOST-IP>
ServerName domain1.com
ServerAlias www.domain1.com
ServerAdmin [EMAIL PROTECTED]
DocumentRoot /vhosts/domain1.com/web
ErrorLog /vhosts/domain1.com/log/error_log
CustomLog /vhosts/domain1.com/log/access_log combined
ScriptAlias /cgi-bin/ /var/www/cgi-bin/
ScriptAlias /cgi-local/ /vhosts/domain1.com/cgi-local/
</VirtualHost>
Next, restart Apache daemon.
Normally = service httpd restart
Now, create a user in the system for this domain have Ftp access and do
it what you wish (have access to site, for do make changes....):
useradd domain1 -M -d /vhosts/domain1.com -s /bin/false
* If * you use Proftpd, in "proftpd.conf" you must put this entries:
DefaultRoot ~
RequireValidShell off
I hope that you can understand me, 'cause my english is terrible !
--
Ana Paula <[EMAIL PROTECTED]>
------------------------- The freeVSD Support List --------------------------
Subscribe: mailto:[EMAIL PROTECTED]?body=subscribe%20freevsd-support
Unsubscribe: mailto:[EMAIL PROTECTED]?body=unsubscribe%20freevsd-support
Archives: http://freevsd.org/support/mail-archives/freevsd-support
-----------------------------------------------------------------------------