• [^] # help maintenant j'ai 404

    Posté par . En réponse au message Wiki fonctionne plus depuis upgrade de ubuntu. Évalué à 1.

    Merci de vos réponses.
    Bon je ne sais pas comment je me suis démerdé mais j'ai maintenant un erreur 404 quand je tappe http://wiki.

    Le message est

    Not Found

    The requested URL /mediawiki/index.php was not found on this server.

    Apache/2.4.7 (Ubuntu) Server at wiki Port 80

    Pourtant le fichier index.php est bien là

    root@dw-wiki:~# ls -l /var/www/mediawiki
    total 416
    -rw-r--r-- 1 www-data root 825 janv. 12 2012 AdminSettings.sample
    -rw-r--r-- 1 www-data root 1316 janv. 12 2012 api.php
    drwxr-xr-x 2 www-data root 4096 janv. 12 2012 bin
    -rw-r--r-- 1 www-data root 17997 janv. 12 2012 COPYING
    drwxr-xr-x 4 www-data root 4096 janv. 12 2012 docs
    drwxr-xr-x 3 www-data root 4096 janv. 12 2012 extensions
    -rw-r--r-- 1 www-data root 162 janv. 12 2012 FAQ
    -rw-r--r-- 1 www-data root 175294 janv. 12 2012 HISTORY
    drwxrwxrwx 21 www-data www-data 4096 sept. 2 2013 images
    -rw-r--r-- 1 www-data root 1925 janv. 12 2012 img_auth.php
    drwxr-xr-x 7 www-data root 24576 mai 18 00:02 includes
    -rw-r--r-- 1 www-data root 1756 janv. 12 2012 index.php
    -rw-r--r-- 1 www-data root 3992 janv. 12 2012 INSTALL
    -rw-r--r-- 1 www-data root 3899 janv. 12 2012 install-utils.inc
    drwxr-xr-x 4 www-data root 4096 janv. 12 2012 languages
    drwxr-xr-x 2 www-data root 4096 janv. 12 2012 locale
    -rw-r--r-- 1 www-data root 4498 sept. 2 2013 LocalSettings.php
    -rw-r--r-- 1 www-data root 4273 janv. 12 2012 LocalSettings.php.ori
    drwxr-xr-x 9 www-data root 4096 janv. 12 2012 maintenance
    -rw-r--r-- 1 www-data root 27 janv. 12 2012 Makefile
    drwxr-xr-x 2 www-data root 4096 janv. 12 2012 math
    -rw-r--r-- 1 www-data root 1532 janv. 12 2012 opensearch_desc.php
    -rw-r--r-- 1 www-data root 6173 janv. 12 2012 profileinfo.php
    -rw-r--r-- 1 www-data root 3535 janv. 12 2012 README
    -rw-r--r-- 1 www-data root 319 janv. 12 2012 redirect.php
    -rw-r--r-- 1 www-data root 91 janv. 12 2012 redirect.phtml
    -rw-r--r-- 1 www-data root 42031 janv. 12 2012 RELEASE-NOTES
    drwxr-xr-x 2 www-data root 4096 janv. 12 2012 serialized
    drwxr-xr-x 9 www-data root 4096 janv. 12 2012 skins
    -rw-r--r-- 1 www-data root 605 janv. 12 2012 StartProfiler.php
    drwxr-xr-x 3 www-data root 4096 janv. 12 2012 t
    drwxr-xr-x 2 www-data root 4096 janv. 12 2012 tests
    -rw-r--r-- 1 www-data root 2393 janv. 12 2012 thumb.php
    -rw-r--r-- 1 www-data root 1270 janv. 12 2012 trackback.php
    -rw-r--r-- 1 www-data root 12816 janv. 12 2012 UPGRADE
    -rw-r--r-- 1 www-data root 88 janv. 12 2012 wiki.phtml

    Le access.log dit pas grand chose de plus

    10.33.75.186 - - [19/May/2016:01:02:59 +0200] "GET /mediawiki/index.php HTTP/1.1" 404 502 "http://wiki/" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/45.0.2454.85 Safari/537.36"
    10.33.75.186 - - [19/May/2016:01:02:59 +0200] "GET /favicon.ico HTTP/1.1" 404 493 "http://wiki/mediawiki/index.php" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/45.0.2454.85 Safari/537.36"

    Mon Vhost est ecrit comme ça:

    # 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 wiki.asso.local

    ServerAdmin webmaster@localhost
    DocumentRoot /var/www/mediawiki
    # 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 ${APACHE_LOG_DIR}/error.log
    CustomLog ${APACHE_LOG_DIR}/access.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

    Au secours ...