bonjour,
dans une vm j’ai installé [quote]sudo apt-get install apache2 php5 mysql-server libapache2-mod-php5 php5-mysql[/quote]
mais il ne reconnait pas la commande a2dissite
pourquoi a votre avis ???
bonjour,
dans une vm j’ai installé [quote]sudo apt-get install apache2 php5 mysql-server libapache2-mod-php5 php5-mysql[/quote]
mais il ne reconnait pas la commande a2dissite
pourquoi a votre avis ???
a2dissite est bien dans /usr/sbin ?
Le site que tu veux désactiver existe il bien ?
Quel est le message d’erreur ?
Salut,
[quote=“katian”] j’ai installé
[mono]sudo apt-get install apache2 php5 mysql-server libapache2-mod-php5 php5-mysql[/mono]
mais il ne reconnait pas la commande a2dissite [/quote]
[mono]$ man a2dissite[/mono]
[quote]A2ENSITE(8) A2ENSITE(8)
NAME
a2ensite, a2dissite - enable or disable an apache2 site / virtual host
SYNOPSIS
a2ensite [site]
a2dissite [site]
DESCRIPTION
This manual page documents briefly the a2ensite and a2dissite commands.
a2ensite is a script that enables the [b]specified site (which contains a <VirtualHost> block[/b]) within the apache2 configuration. It does this by creating symlinks within
/etc/apache2/sites-enabled.
Likewise, a2dissite disables a site by removing those symlinks. It is not an error to enable a site which is already enabled, or to dis‐
able one which is already disabled.
The default site is handled specially: The resulting symlink will be called 000-default in order to be loaded first.
EXAMPLES
a2dissite default
Disables the default site.
FILES
/etc/apache2/sites-available
Directory with files giving information on available sites.
[b]/etc/apache2/sites-enabled[/b]
Directory with links to the files in sites-available for enabled sites.[/quote]