Tema: apache...
Ver Mensaje Individual
  #5 (permalink)  
Antiguo 10/03/2002, 16:40
Herminio Heredia San
 
Fecha de Ingreso: septiembre-2001
Ubicación: Monterrey
Mensajes: 663
Antigüedad: 22 años, 7 meses
Puntos: 6
Re: apache...

bueno si quieres usar rutas del tipo http://localhost/~usuario lo que necesitas hacer es descomentar el UserDir posterior a esto necesitas descomentar o crear las siguientes lineas:

Código:
 <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>
Ya que tenags esto reinicias tu apache y luego creas en el home de algun usuario el directorio public_html y tienes que cambiar los permisos de este directorio y el del home del usuario en modalidad de acceso ejem:

Código:
#mkdir public_html
chmod 755 public_html
cd ..
chmod 755 usuario
Es todo ya estas listo para trabajar

Saludos.