On y est presque !
Quand je vais sur http://infodium j’obtiens la page d’accueil de Apache2 for Ubuntu.
D’après les paramètres ajoutés je devrais avoir la page d’accueil de mon site infodium.
Voici le contenu du répertoire /etc/apache2/sites-available :
papa@VAIO-UBUNTU:~$ ls -la /etc/apache2/sites-available
total 28
drwxrwxrwx 2 root root 4096 mai 20 13:00 .
drwxrwxrwx 8 root root 4096 mai 20 11:43 ..
-rw-r--r-- 1 root root 1332 janv. 7 2014 000-default.conf
-rw-r--r-- 1 root root 6437 janv. 7 2014 default-ssl.conf
-rw-r--r-- 1 papa papa 2175 mai 20 13:00 infodium.conf
-rw-r--r-- 1 papa papa 1852 mai 20 12:11 philippines.conf
et voici le contenu de mon infodium.conf :
papa@VAIO-UBUNTU:~$ cat /etc/apache2/sites-available/infodium.conf
<Directory "/intranet.apache2/">
AllowOverride FileInfo AuthConfig Limit
Options MultiViews Indexes SymLinksIfOwnerMatch IncludesNoExec
<Limit GET POST OPTIONS PROPFIND>
Order allow,deny
Allow from all
</Limit>
<LimitExcept GET POST OPTIONS PROPFIND>
Order deny,allow
Deny from all
</LimitExcept>
</Directory>
<Directory "/intranet.apache2/infodium/">
AllowOverride FileInfo AuthConfig Limit
Options MultiViews Indexes SymLinksIfOwnerMatch IncludesNoExec
<Limit GET POST OPTIONS PROPFIND>
Order allow,deny
Allow from all
</Limit>
<LimitExcept GET POST OPTIONS PROPFIND>
Order deny,allow
Deny from all
</LimitExcept>
</Directory>
<VirtualHost 192.168.1.100:80>
# The ServerName directive sets the request scheme, hostname and port that
# the server uses to identify itself. This is used when creating
# redirection URLs. In the context of virtual hosts, the ServerName
# specifies what hostname must appear in the request's Host: header to
# match this virtual host. For the default virtual host (this file) this
# value is not decisive as it is used as a last resort host regardless.
# However, you must set it for any further virtual host explicitly.
ServerName infodium
ServerAdmin contact@infodium.org
DocumentRoot /intranet.apache2/infodium
# Available loglevels: trace8, ..., trace1, debug, info, notice, warn,
# error, crit, alert, emerg.
# It is also possible to configure the loglevel for particular
# modules, e.g.
#LogLevel info ssl:warn
ErrorLog "/MesLogs/Intranet/infodium/error.log"
CustomLog "/MesLogs/Intranet/infodium/custom.log" combined
# For most configuration files from conf-available/, which are
# enabled or disabled at a global level, it is possible to
# include a line for only one particular virtual host. For example the
# following line enables the CGI configuration for this host only
# after it has been globally disabled with "a2disconf".
#Include conf-available/serve-cgi-bin.conf
<IfModule mod_dir.c>
DirectoryIndex index.php
</IfModule>
</VirtualHost>
# vim: syntax=apache ts=4 sw=4 sts=4 sr noet
et voici le contenu de mon répertoire /intranet.apache2/infodium (c’est là où se trouvent les fichiers de mon site infodium) :
papa@VAIO-UBUNTU:~$ ls -la /intranet.apache2/infodium
total 160
drwxrwxr-x 20 papa papa 4096 mai 15 14:46 .
drwxrwxrwx 15 root root 4096 mai 15 14:52 ..
drwxrwxr-x 5 papa papa 4096 oct. 15 2013 3ds
drwxrwxr-x 7 papa papa 4096 oct. 15 2013 admin
drwxrwxr-x 5 papa papa 4096 oct. 15 2013 bordeaux
drwxrwxr-x 2 papa papa 4096 oct. 15 2013 chereline
drwxrwxr-x 4 papa papa 4096 oct. 15 2013 classes
drwxrwxr-x 2 papa papa 4096 oct. 15 2013 courrier
drwxrwxr-x 3 papa papa 4096 mai 13 16:09 Duanyan
drwxrwxr-x 2 papa papa 4096 oct. 15 2013 flash3
-rwxrwx--- 1 papa papa 32 avril 30 2007 get_defined_functions.php
drwxrwxr-x 3 papa papa 4096 oct. 15 2013 images
drwxrwxr-x 2 papa papa 4096 oct. 15 2013 include
-rwxrwx--- 1 papa papa 746 nov. 13 2005 index_entravaux.php
-rwxrwx--- 1 papa papa 12657 févr. 4 2008 index.old
-rwxrwx--- 1 papa papa 12657 mars 10 2008 index.php
-rwxrwx--- 1 papa papa 20780 nov. 4 2005 infodium_accueil.jpg
drwxrwxr-x 3 papa papa 4096 oct. 15 2013 linux
drwxrwxr-x 2 papa papa 4096 oct. 15 2013 music
drwxrwxr-x 3 papa papa 4096 oct. 15 2013 neuf_planetes
drwxrwxr-x 5 papa papa 4096 oct. 15 2013 paris
-rwxrwx--- 1 papa papa 18 oct. 5 2005 php4info.php
-rwxrwx--- 1 papa papa 21 avril 30 2007 phpinfo.php
drwxrwxr-x 3 papa papa 4096 oct. 15 2013 stellaire
drwxrwxr-x 3 papa papa 4096 oct. 15 2013 telescope
-rwxrwx--- 1 papa papa 6656 nov. 23 2011 Thumbs.db
drwxrwxr-x 3 papa papa 4096 oct. 15 2013 vient
drwxrwxr-x 4 papa papa 4096 oct. 15 2013 vrml
Pour accèder à mon site avec cette configuration, il faut tapper http://infodium/infodium.
La solution résolu va sans nul doute tombée !
Olivier.