I can not run it chroot apache help

kanzer bdk <[email protected]>
Newsgroups gmane.os.openbsd.www
Message-ID <[email protected]>
hello friends I have a vps with openbsd 5.0I want every user has his own web
space example /home/ user/public_html I have the following in
/var/www/conf/httpd.conf:  UserDir /home/*/public_html
below: # Control access to UserDir directories.  The following is an example #
for a site where these directories are restricted to read-only and # are
located under /users/<username> # You will need to change this to match your
site's home directories. # <Directory /home/*/public_html>     AllowOverride
FileInfo AuthConfig Limit     Options MultiViews Indexes SymLinksIfOwnerMatch
IncludesNoExec     <Limit GET POST OPTIONS PROPFIND>         Order allow,deny
Allow from all     </Limit>     <Limit PUT DELETE PATCH PROPPATCH MKCOL COPY
MOVE LOCK UNLOCK>         Order deny,allow         Deny from all     </Limit>
</Directory>
I have this in my virtualhost
<VirtualHost my_IP>     ServerAdmin [email protected]     DocumentRoot
/home/user/public_html    ServerName www.domain.com     ServerAlias domain.com
ErrorLog logs/domain.com-error_log     Options ExecCgi Includes MultiViews
Indexes FollowSymlinks SymLinksIfOwnerMa tch     CustomLog
logs/domain.com-access_log common </VirtualHost>

i changed the file http.conf the following lines: UserDir /var/www/users for
/home/user/public_html
and <Directory /users/*> for <Directory /home/*/public_html>
and DocumentRoot /var/www/users/user for DocumentRoot /home/user/public_html
in directory /home/user/public_html i have a file index.html when I go to
http://www.domain.com I get a 404

What am I doing wrong?

thank you
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.