HERE IS THE SECOND WEBSITE CONFIGURATION
####################################################################
<VirtualHost *:80>
ServerName yyyyyy.xxxxxos.com
ServerAlias www.yyyyy.xxxxxos.com
DocumentRoot /home/erwin/public_html
ErrorDocument 403 /403.html
ErrorDocument 404 /404.html
ScriptAlias /cgi-bin/ "/home/erwin/public_html/cgi-bin/"
<Directory "/home/erwin/public_html/cgi-bin/">
AllowOverride None
Options None
Order allow,deny
Allow from all
</Directory>
</VirtualHost>
####################################################################
HERE what I did for the permissions........................
#####################################################################
[EMAIL PROTECTED] conf]# cd /home/erwin
[EMAIL PROTECTED] conf]# mkdir public_html
[EMAIL PROTECTED] erwin]# chmod 755 public_html
[EMAIL PROTECTED] erwin]# cd public_html
[EMAIL PROTECTED] public_html]# mkdir cgi-bin
[EMAIL PROTECTED] public_html]# chmod 701 cgi-bin
#####################################################################
#######################################################################
I use google and got the tip from here.......
http://www.mjmwired.net/resources/mjm-apache-virtual-sites.html
######################################################################
HERE IS MY ERROR if I go to www.yyyyyy.xxxos.com
##############################################################################
Forbidden
You don't have permission to access / on this server.
Additionally, a 403 Forbidden error was encountered while trying to use
an ErrorDocument to handle the request.
--------------------------------------------------------------------------------
Apache/2.0.54 (Fedora) Server at www.yyyyyyyy.xxxxos.com Port 80
#############################################################################################
MY SECOND WEBSITE WILL WORK fine IF THE CONFIGURATION IS LIKE THIS
################################################################
<VirtualHost *:80>
ServerName yyyyy.xxxos.com
ServerAlias www.yyyyy.xxxos.com
DocumentRoot /var/www/erwin
</VirtualHost>
################################################################
I can use /var/www/.........as the common place for other websites but
I want users later to login and edit their own websites without doing
any harm to the whole server.
So I thought of making /home/username/pubic_html. What did I do wrong
here. Kindly help.
Thanks.
glen
_________________________________________________
Philippine Linux Users' Group (PLUG) Mailing List
[email protected] (#PLUG @ irc.free.net.ph)
Read the Guidelines: http://linux.org.ph/lists
Searchable Archives: http://archives.free.net.ph