cd /srv/www mkdir bloc chown www_apache2:www bloc chmod 775 bloc
pure-pw useradd bloc -u www_apache2 -d /srv/www/bloc pure-pw mkdb /etc/init.d/pure-ftpd restart
Alias /bloc "/srv/www/bloc" <Directory "/srv/www/bloc"> Options None AllowOverride None Order allow,deny Allow from all </Directory>
Farem el mateix amb l'axiu /etc/apache2/sites-enabled/000-default.
Reiniciar el servei d'apache i MySql
/etc/init.d/apache2 restart /etc/init.d/mysql restart
// ** MySQL settings - You can get this info from your web host ** //
/** The name of the database for WordPress */
define('DB_NAME', '<nom_de_la_base_de_dades>');
/** MySQL database username */
define('DB_USER', '<nom_de_lusuari_daccés_a_la_base_de_dades>');
/** MySQL database password */
define('DB_PASSWORD', '<contrasenya_de_lusuari_de_la_base_de_dades>');