OK, I think I get it now.  Look into the Apache documentation on
virtual hosts.  You create a virtual hosts in the user's home
directory, and Apache responds to the URL request as if it was the
main machine.  This is what we did for Tuxbiz.  You also need to make
certain that the user's public_html directory (or other directory,
specified in the <VirtualHost> command) is world-readable and
world-executable.  

Open up localhost on your machine, and get the documentation on
virtual servers at:
http://localhost/manual/vhosts/index.html

Here's our Tuxbiz virtual host in the httpd.conf file:
<VirtualHost www.tuxbiz.com>
        ServerAdmin [EMAIL PROTECTED]
        DocumentRoot /home/httpd/tuxbiz
        ServerName www.tuxbiz.com
        ErrorLog logs/tuxbiz.com-error_log
        TransferLog logs/tuxbiz.com-access_log
        Options Indexes Includes FollowSymlinks ExecCGI
        AddHandler cgi-script .cgi
        AddType text/html .shtml
        AddHandler server-parsed .shtml
        ScriptAlias /cgi-bin/ /home/httpd/tuxbiz/cgi-bin/
       <Directory "/home/httpd/tuxbiz">
         AllowOverride all
         Options Indexes Includes FollowSymlinks ExecCGI
         Allow from all
       </Directory>
</VirtualHost>


If I understand the documentation right, the DocumentRoot can be
anywhere, including the user's home directory.  However, we saw
similar errors until we set our DocumentRoot read/execute world
We have the ownership of that directory (or i do on my laptop) as
tuxbiz, and it works.

jeff

On Tue, 27 Jun 2000, csmith wrote:

> 
> Let me see if I can make this a little clearer:
>        What I need to do is to allow the web developer access to the web site
> files via ftp so that they can change them on a regular basis.
> 
> The files are being served from /etc/httpd/html
> 
> what I wqant to do is move the files to the web developers home
> directory of /home/tara/html and link them with a sym link to
> /home/httpd/html  so that she can ftp the changes to her home directory.
> 
> Even though I have  "Options FollowSymLinks"
> envoked in the access.comf file under the <Directory /home/httpd/html>
> tag
> and all of the permiossions are set to read by users owners and groups
> the web server displays the message 
> 
> " Access Forbidden:
>        you don't have permission to access /  on this
> server"
>        There are NO error messages generated in the error log when this
> happens.
> 
> any clarification would be appriciated
> 
> thanks 
> 
> chris
> 

------------------------------------------------------------------------
Jeffry Smith      Technical Sales Consultant     Mission Critical Linux
[EMAIL PROTECTED]   phone:603.930.9379   fax:978.446.9470
------------------------------------------------------------------------
Thought for today:  Once it hits the fan, the only rational choice is to sweep it up, 
package it,
and sell it as fertilizer.



**********************************************************
To unsubscribe from this list, send mail to
[EMAIL PROTECTED] with the following text in the
*body* (*not* the subject line) of the letter:
unsubscribe gnhlug
**********************************************************

Reply via email to