Contenu | Rechercher | Menus

Annonce

Si vous avez des soucis pour rester connecté, déconnectez-vous puis reconnectez-vous depuis ce lien en cochant la case
Me connecter automatiquement lors de mes prochaines visites.

À propos de l'équipe du forum.

#1 Le 21/01/2008, à 18:08

slasher_fun

Script ... resolving to ... not within configured docroot

Bonjour smile

Je configure en ce moment tant bien que mal un système cacti sur un serveur LAMP sous Ubuntu 7.10. Tout fonctionne bien depuis quelques jours (enfin on peut accéder à  cacti depuis l'interface web à  l'adresse http://l'ipdelamachine/cacti/ ), mais là  aujourd'hui, Internal Server Error, et le log me renvoie ceci :

[Mon Jan 21 16:50:37 2008] [error] [client 192.168.1.3] SoftException in Application.cpp:199: Script "/usr/share/cacti/site/index.php" resolving to "/usr/share/cacti/site/index.php" not within configured docroot
[Mon Jan 21 16:50:37 2008] [error] [client 192.168.1.3] Premature end of script headers: index.php

J'ai bien redémarré apache, sans succès, et il ne me semble pas avoir touché à  la conf d'apache...

Mon /etc/apache2/sites-available/default

NameVirtualHost *
<VirtualHost *>
        ServerAdmin webmaster@localhost

        DocumentRoot /var/www/
        <Directory />
                Options FollowSymLinks
                AllowOverride None
        </Directory>
        <Directory /var/www/>
                Options Indexes FollowSymLinks MultiViews
                AllowOverride None
                Order allow,deny
                allow from all
                # This directive allows us to have apache2's default start page
                # in /apache2-default/, but still have / go to the right place
                #RedirectMatch ^/$ /apache2-default/
        </Directory>

        ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/
        <Directory "/usr/lib/cgi-bin">
                AllowOverride None
                Options  +ExecCGI -MultiViews +SymLinksIfOwnerMatch
                Order allow,deny
                Allow from all
        </Directory>

        ErrorLog /var/log/apache2/error.log

        # Possible values include: debug, info, notice, warn, error, crit,
        # alert, emerg.
        LogLevel warn

        CustomLog /var/log/apache2/access.log combined
        ServerSignature On

    Alias /doc/ "/usr/share/doc/"
    <Directory "/usr/share/doc/">
        Options Indexes MultiViews FollowSymLinks
        AllowOverride None
        Order deny,allow
        Deny from all
        Allow from 127.0.0.0/255.0.0.0 ::1/128
    </Directory>

</VirtualHost>

Une idée ? smile
Merci d'avance !

Hors ligne