[Ilugc] apache server config doubt

  • From: suraj@xxxxxxxxxxx (Suraj Kumar)
  • Date: Thu Jun 24 07:52:08 2004

balachandar wrote: 
,----
|    i want  to create a  web directory for  each user in my  system and
|    want to access their page like this [1]http://localhost/~bala/. how
|    do i do this??
`----

The following is from my working httpd.conf (debian):

<IfModule mod_userdir.c>
    UserDir public_html
#
# Control access to UserDir directories.  The following is an example
# for a site where these directories are restricted to read-only.
#
    <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>
</IfModule>

cheers,

  -Suraj

-- 
,-----------------[http://www.symonds.net/~suraj/]---o
| MK Tyagaraja Bhagavathar starred in the movie Haridas.
`------------------------------[suraj@xxxxxxxxxxx]---o

Other related posts: