Archivo del día 23 noviembre, 2009

Crear nuevos “VirtualHost” en Apache2 con un simple Script

No existe forma más fácil de crear un Host Virtual en Apache2 bajo Ubuntu que con este Script: #!/bin/bash if [ -z $1 ] then echo "Debe ingresar el nombre del dominio" exit 1 else DOMINIO=$1 fi if [ -z $2 ] then RUTA="/var/www/" else RUTA=$2 fi echo "Configurando dominio "$DOMINIO #CREAMOS LA ENTRADA EN [...]

Más »