Il est bien présent :/
root@raspberrypi:~# cat /etc/apache2/ports.conf
# If you just change the port or add more ports here, you will likely also
# have to change the VirtualHost statement in
# /etc/apache2/sites-enabled/000-default
# This is also true if you have upgraded from before 2.2.9-3 (i.e. from
# Debian etch). See /usr/share/doc/apache2.2-common/NEWS.Debian.gz and
# README.Debian.gz
NameVirtualHost *:443
Listen 443
<IfModule mod_ssl.c>
# If you add NameVirtualHost *:443 here, you will also have to change
# the VirtualHost statement in /etc/apache2/sites-available/default-ssl
# to <VirtualHost *:443>
# Server Name Indication for SSL named virtual hosts is currently not
# supported by MSIE on Windows XP.
Listen 443
</IfModule>
<IfModule mod_gnutls.c>
Listen 443
</IfModule>
Edit :
Probleme résolu, en tentant de relancer apache2 j'ai eu l'erreur
root@raspberrypi:~# service apache2 restart
[....] Restarting web server: apache2(98)Address already in use: make_sock: could not bind to address 0.0.0.0:443
no listening sockets available, shutting down
Unable to open logs
Action 'start' failed.
The Apache error log may have more information.
failed!
root@raspberrypi:~#
après avoir ajouté dans mon fichier /etc/hosts
192.168.0.108 owncloud
127.0.0.1 localhost
::1 localhost ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
127.0.1.1 raspberrypi
192.168.0.108 owncloud
Je me suis donc penché sur le
Restarting web server: apache2(98)Address already in use: make_sock
Je suis tombé sur ce
site ou il est dit
Apache gives this same error message when you have two Listen directives that target the same IP/port combination. The first one succeeds without error, the second one finds that something is already listening on that port and aborts.
It's not uncommon to find these directives in different files, such as vhost files or top-level files such as ports.conf or ssl.conf.
You can find them with grep -r Listen /etc/apache2 or grep -r Listen /etc/httpd depending on whether you are using a Debian-based distro or a RedHat-based distro.
en lancent la commande grep -r Listen /etc/apache2/ J'ai eu ceci :
root@raspberrypi:~# grep -r Listen /etc/apache2/
/etc/apache2/ports.conf:Listen 443
/etc/apache2/ports.conf: Listen 443
/etc/apache2/ports.conf: Listen 443
Et j'ai donc juste changé la première ligne par 448
nano /etc/apache2/ports.conf
par la suite relancé apache2 et
root@raspberrypi:~# service apache2 restart
[ ok ] Restarting web server: apache2 ... waiting .
root@raspberrypi:~#
(reste plus qu'a trouver comment faire pour que ce soir accessible en local sur 192.168.0.108 au lieu de 192.168.0.108/owncloud/index.php)
Merci a vous pour l'aide de de m'avoir orienté correctement !! 😃