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 29/05/2014, à 21:45

Chloros

Finaliser config d'Apache2 (je crois)

Bonsoir tout le monde !
Décidément, depuis que j'ai décidé de mettre à jour mon 10.04, le PC est un peu plus lent et… le mini-site en PHP/SQL/HTML/CSS n'est plus aussi accessible qu'avant. Mon site était dans le dossier /home/chloros/Websites et comportait un dossier "Admin" auquel j'accédais depuis le navigateur comme si c'était un site PHP normal. J'arrive maintenant à afficher la page d'accueil du site, mais impossible d'accéder aux sous-dossiers et j'ai des erreurs d'inclusion.

[Thu May 29 01:41:18.014292 2014] [authz_core:error] [pid 5252] [client 127.0.0.1:40479] AH01630: client denied by server configuration: /home/chloros/Websites/Websites
[Thu May 29 01:41:18.744563 2014] [authz_core:error] [pid 5252] [client 127.0.0.1:40479] AH01630: client denied by server configuration: /home/chloros/Websites/Websites
[Thu May 29 01:42:20.532865 2014] [authz_core:error] [pid 5253] [client 127.0.0.1:40495] AH01630: client denied by server configuration: /home/chloros/Websites/Websites
[Thu May 29 01:42:21.288347 2014] [authz_core:error] [pid 5253] [client 127.0.0.1:40495] AH01630: client denied by server configuration: /home/chloros/Websites/Websites
[Thu May 29 01:43:24.148523 2014] [authz_core:error] [pid 5260] [client 127.0.0.1:40496] AH01630: client denied by server configuration: /home/chloros/Websites/Websites
[Thu May 29 01:43:24.864654 2014] [authz_core:error] [pid 5260] [client 127.0.0.1:40496] AH01630: client denied by server configuration: /home/chloros/Websites/Websites
[Thu May 29 01:43:25.360949 2014] [authz_core:error] [pid 5260] [client 127.0.0.1:40496] AH01630: client denied by server configuration: /home/chloros/Websites/Websites
[Thu May 29 01:43:28.627860 2014] [authz_core:error] [pid 5260] [client 127.0.0.1:40496] AH01630: client denied by server configuration: /home/chloros/Websites/Websites
[Thu May 29 01:43:31.246696 2014] [authz_core:error] [pid 5260] [client 127.0.0.1:40496] AH01630: client denied by server configuration: /home/chloros/Websites/
[Thu May 29 01:43:37.778583 2014] [authz_core:error] [pid 5249] [client 127.0.0.1:40497] AH01630: client denied by server configuration: /home/chloros/Websites/
[Thu May 29 01:43:41.886349 2014] [authz_core:error] [pid 5249] [client 127.0.0.1:40497] AH01630: client denied by server configuration: /home/chloros/Websites/
[Thu May 29 01:43:44.781110 2014] [authz_core:error] [pid 5250] [client 127.0.0.1:40498] AH01630: client denied by server configuration: /home/chloros/Websites/
[Thu May 29 01:53:06.578390 2014] [mpm_prefork:notice] [pid 5245] AH00169: caught SIGTERM, shutting down
[Thu May 29 01:53:07.681363 2014] [mpm_prefork:notice] [pid 5499] AH00163: Apache/2.4.7 (Ubuntu) PHP/5.5.9-1ubuntu4 configured -- resuming normal operations
[Thu May 29 01:53:07.681479 2014] [core:notice] [pid 5499] AH00094: Command line: '/usr/sbin/apache2'
[Thu May 29 01:53:11.491965 2014] [authz_core:error] [pid 5503] [client 127.0.0.1:40649] AH01630: client denied by server configuration: /home/chloros/Websites/
[Thu May 29 01:53:12.376040 2014] [authz_core:error] [pid 5503] [client 127.0.0.1:40649] AH01630: client denied by server configuration: /home/chloros/Websites/
[Thu May 29 01:54:32.398387 2014] [mpm_prefork:notice] [pid 5499] AH00169: caught SIGTERM, shutting down
[Thu May 29 01:54:33.507993 2014] [mpm_prefork:notice] [pid 5560] AH00163: Apache/2.4.7 (Ubuntu) PHP/5.5.9-1ubuntu4 configured -- resuming normal operations
[Thu May 29 01:54:33.508118 2014] [core:notice] [pid 5560] AH00094: Command line: '/usr/sbin/apache2'
[Thu May 29 01:54:37.882002 2014] [authz_core:error] [pid 5564] [client 127.0.0.1:40653] AH01630: client denied by server configuration: /home/chloros/Websites/
[Thu May 29 01:54:38.641234 2014] [authz_core:error] [pid 5564] [client 127.0.0.1:40653] AH01630: client denied by server configuration: /home/chloros/Websites/
[Thu May 29 01:54:39.163966 2014] [authz_core:error] [pid 5564] [client 127.0.0.1:40653] AH01630: client denied by server configuration: /home/chloros/Websites/
[Thu May 29 01:55:21.696109 2014] [mpm_prefork:notice] [pid 5560] AH00169: caught SIGTERM, shutting down
[Thu May 29 01:55:22.860807 2014] [mpm_prefork:notice] [pid 5622] AH00163: Apache/2.4.7 (Ubuntu) PHP/5.5.9-1ubuntu4 configured -- resuming normal operations
[Thu May 29 01:55:22.860922 2014] [core:notice] [pid 5622] AH00094: Command line: '/usr/sbin/apache2'
[Thu May 29 01:55:28.904328 2014] [authz_core:error] [pid 5626] [client 127.0.0.1:40655] AH01630: client denied by server configuration: /home/chloros/Websites/
[Thu May 29 01:55:29.600463 2014] [authz_core:error] [pid 5626] [client 127.0.0.1:40655] AH01630: client denied by server configuration: /home/chloros/Websites/
[Thu May 29 01:58:59.268154 2014] [mpm_prefork:notice] [pid 5622] AH00169: caught SIGTERM, shutting down
[Thu May 29 01:59:00.423955 2014] [mpm_prefork:notice] [pid 5701] AH00163: Apache/2.4.7 (Ubuntu) PHP/5.5.9-1ubuntu4 configured -- resuming normal operations
[Thu May 29 01:59:00.424065 2014] [core:notice] [pid 5701] AH00094: Command line: '/usr/sbin/apache2'
[Thu May 29 01:59:04.765908 2014] [authz_core:error] [pid 5705] [client 127.0.0.1:40661] AH01630: client denied by server configuration: /home/chloros/Websites/
[Thu May 29 01:59:05.406301 2014] [authz_core:error] [pid 5705] [client 127.0.0.1:40661] AH01630: client denied by server configuration: /home/chloros/Websites/
[Thu May 29 02:02:09.552123 2014] [mpm_prefork:notice] [pid 5701] AH00169: caught SIGTERM, shutting down
[Thu May 29 02:02:10.703883 2014] [mpm_prefork:notice] [pid 5771] AH00163: Apache/2.4.7 (Ubuntu) PHP/5.5.9-1ubuntu4 configured -- resuming normal operations
[Thu May 29 02:02:10.704003 2014] [core:notice] [pid 5771] AH00094: Command line: '/usr/sbin/apache2'
[Thu May 29 02:02:50.666140 2014] [:error] [pid 5800] [client 127.0.0.1:40759] PHP Notice:  Undefined variable: i in /home/chloros/Websites/Les_tests/Scripts/bandeau_de_navigation.php on line 28
[Thu May 29 02:02:50.671307 2014] [:error] [pid 5800] [client 127.0.0.1:40759] PHP Notice:  Undefined variable: i in /home/chloros/Websites/Les_tests/Scripts/bandeau_de_navigation.php on line 28
[Thu May 29 02:03:45.102024 2014] [:error] [pid 5779] [client 127.0.0.1:40763] PHP Notice:  Undefined variable: page_en_cours in /home/chloros/Websites/Pages/div_menu_connexion_bis.php on line 39, referer: http://hotmail/
[Thu May 29 02:03:45.243037 2014] [:error] [pid 5779] [client 127.0.0.1:40763] PHP Notice:  Undefined variable: page_en_cours in /home/chloros/Websites/Pages/div_menu_connexion_bis.php on line 39, referer: http://hotmail/
[Thu May 29 02:04:23.348400 2014] [:error] [pid 5787] [client 127.0.0.1:40772] PHP Notice:  Undefined variable: i in /home/chloros/Websites/Les_tests/Scripts/bandeau_de_navigation.php on line 28
[Thu May 29 02:04:23.357984 2014] [:error] [pid 5787] [client 127.0.0.1:40772] PHP Notice:  Undefined variable: i in /home/chloros/Websites/Les_tests/Scripts/bandeau_de_navigation.php on line 28
[Thu May 29 02:06:55.725949 2014] [mpm_prefork:notice] [pid 5771] AH00169: caught SIGTERM, shutting down
[Thu May 29 02:06:56.818966 2014] [mpm_prefork:notice] [pid 5861] AH00163: Apache/2.4.7 (Ubuntu) PHP/5.5.9-1ubuntu4 configured -- resuming normal operations
[Thu May 29 02:06:56.819096 2014] [core:notice] [pid 5861] AH00094: Command line: '/usr/sbin/apache2'
[Thu May 29 02:07:07.698989 2014] [:error] [pid 5866] [client 127.0.0.1:40779] PHP Notice:  Undefined variable: i in /home/chloros/Websites/Les_tests/Scripts/bandeau_de_navigation.php on line 28
[Thu May 29 02:07:07.704588 2014] [:error] [pid 5866] [client 127.0.0.1:40779] PHP Notice:  Undefined variable: i in /home/chloros/Websites/Les_tests/Scripts/bandeau_de_navigation.php on line 28
[Thu May 29 02:07:35.333016 2014] [:error] [pid 5883] [client 127.0.0.1:40790] PHP Notice:  Undefined variable: i in /home/chloros/Websites/Les_tests/Scripts/bandeau_de_navigation.php on line 28
[Thu May 29 02:07:35.343454 2014] [:error] [pid 5883] [client 127.0.0.1:40790] PHP Notice:  Undefined variable: i in /home/chloros/Websites/Les_tests/Scripts/bandeau_de_navigation.php on line 28
[Thu May 29 02:07:53.545943 2014] [:error] [pid 5884] [client 127.0.0.1:40791] PHP Warning:  include(VARIABLES_DETECTIVE_CONAN.php): failed to open stream: No such file or directory in /home/chloros/Websites/Les_tests/Fiche_personnage.php on line 5, referer: http://hotmail/Websites/Les_tests/
[Thu May 29 02:07:53.546073 2014] [:error] [pid 5884] [client 127.0.0.1:40791] PHP Warning:  include(): Failed opening 'VARIABLES_DETECTIVE_CONAN.php' for inclusion (include_path='.:/usr/share/php:/usr/share/pear') in /home/chloros/Websites/Les_tests/Fiche_personnage.php on line 5, referer: http://hotmail/Websites/Les_tests/
[Thu May 29 02:07:53.546153 2014] [:error] [pid 5884] [client 127.0.0.1:40791] PHP Notice:  Undefined variable: table_nom_complet in /home/chloros/Websites/Les_tests/Fiche_personnage.php on line 28, referer: http://hotmail/Websites/Les_tests/
[Thu May 29 02:07:53.546453 2014] [:error] [pid 5884] [client 127.0.0.1:40791] PHP Notice:  Undefined variable: i in /home/chloros/Websites/Les_tests/Scripts/bandeau_de_navigation.php on line 28, referer: http://hotmail/Websites/Les_tests/
[Thu May 29 02:08:23.447744 2014] [:error] [pid 5865] [client 127.0.0.1:40793] PHP Warning:  include(VARIABLES_DETECTIVE_CONAN.php): failed to open stream: No such file or directory in /home/chloros/Websites/Les_tests/Fiche_personnage.php on line 5, referer: http://hotmail/Websites/Les_tests/
[Thu May 29 02:08:23.447847 2014] [:error] [pid 5865] [client 127.0.0.1:40793] PHP Warning:  include(): Failed opening 'VARIABLES_DETECTIVE_CONAN.php' for inclusion (include_path='.:/usr/share/php:/usr/share/pear') in /home/chloros/Websites/Les_tests/Fiche_personnage.php on line 5, referer: http://hotmail/Websites/Les_tests/
[Thu May 29 02:08:23.447937 2014] [:error] [pid 5865] [client 127.0.0.1:40793] PHP Notice:  Undefined variable: table_nom_complet in /home/chloros/Websites/Les_tests/Fiche_personnage.php on line 28, referer: http://hotmail/Websites/Les_tests/
[Thu May 29 02:08:23.448245 2014] [:error] [pid 5865] [client 127.0.0.1:40793] PHP Notice:  Undefined variable: i in /home/chloros/Websites/Les_tests/Scripts/bandeau_de_navigation.php on line 28, referer: http://hotmail/Websites/Les_tests/
[Thu May 29 02:08:27.917134 2014] [:error] [pid 5865] [client 127.0.0.1:40793] PHP Notice:  Undefined variable: i in /home/chloros/Websites/Les_tests/Scripts/bandeau_de_navigation.php on line 28, referer: http://hotmail/Websites/Les_tests/Fiche_personnage.php
[Thu May 29 02:08:27.917295 2014] [:error] [pid 5865] [client 127.0.0.1:40793] PHP Notice:  Undefined variable: notif in /home/chloros/Websites/Les_tests/Variables_statiques.php on line 142, referer: http://hotmail/Websites/Les_tests/Fiche_personnage.php
[Thu May 29 02:08:27.919513 2014] [:error] [pid 5865] [client 127.0.0.1:40793] PHP Warning:  mysql_close(): no MySQL-Link resource supplied in /home/chloros/Websites/Les_tests/Variables_statiques.php on line 181, referer: http://hotmail/Websites/Les_tests/Fiche_personnage.php
[Thu May 29 02:08:42.777871 2014] [:error] [pid 5868] [client 127.0.0.1:40794] PHP Notice:  Undefined variable: i in /home/chloros/Websites/Les_tests/Scripts/bandeau_de_navigation.php on line 28, referer: http://hotmail/Websites/Les_tests/Variables_statiques.php
[Thu May 29 02:08:42.783578 2014] [:error] [pid 5868] [client 127.0.0.1:40794] PHP Notice:  Undefined variable: i in /home/chloros/Websites/Les_tests/Scripts/bandeau_de_navigation.php on line 28, referer: http://hotmail/Websites/Les_tests/Variables_statiques.php
[Thu May 29 02:09:01.010481 2014] [core:alert] [pid 5867] [client 127.0.0.1:40799] /home/chloros/Websites/ZADMIN/.htaccess: Invalid command 'PerlSetVar', perhaps misspelled or defined by a module not included in the server configuration, referer: http://hotmail/Websites/
[Thu May 29 02:14:08.647247 2014] [mpm_prefork:notice] [pid 5861] AH00169: caught SIGTERM, shutting down
[Thu May 29 02:14:09.743787 2014] [mpm_prefork:notice] [pid 5956] AH00163: Apache/2.4.7 (Ubuntu) PHP/5.5.9-1ubuntu4 configured -- resuming normal operations
[Thu May 29 02:14:09.743894 2014] [core:notice] [pid 5956] AH00094: Command line: '/usr/sbin/apache2'
[Thu May 29 02:14:27.047037 2014] [core:alert] [pid 5961] [client 127.0.0.1:40828] /home/chloros/Websites/ZADMIN/.htaccess: Invalid command 'PerlSetVar', perhaps misspelled or defined by a module not included in the server configuration, referer: http://hotmail/Websites/
[Thu May 29 02:24:38.683628 2014] [core:alert] [pid 5962] [client 127.0.0.1:40916] /home/chloros/Websites/ZADMIN/.htaccess: Invalid command 'PerlSetVar', perhaps misspelled or defined by a module not included in the server configuration, referer: http://hotmail/Websites/
[Thu May 29 02:26:13.433890 2014] [core:alert] [pid 5963] [client 127.0.0.1:40917] /home/chloros/Websites/ZADMIN/.htaccess: Invalid command 'PerlSetVar', perhaps misspelled or defined by a module not included in the server configuration
[Thu May 29 02:28:05.769035 2014] [:error] [pid 6701] [client 127.0.0.1:40938] PHP Notice:  Undefined variable: i in /home/chloros/Websites/Les_tests/Scripts/bandeau_de_navigation.php on line 28
[Thu May 29 02:28:05.774895 2014] [:error] [pid 6701] [client 127.0.0.1:40938] PHP Notice:  Undefined variable: i in /home/chloros/Websites/Les_tests/Scripts/bandeau_de_navigation.php on line 28
[Thu May 29 02:28:43.935498 2014] [:error] [pid 5964] [client 127.0.0.1:40939] PHP Notice:  Undefined variable: i in /home/chloros/Websites/Les_tests/Scripts/bandeau_de_navigation.php on line 28
[Thu May 29 02:28:43.935868 2014] [:error] [pid 5964] [client 127.0.0.1:40939] PHP Notice:  Undefined variable: i in /home/chloros/Websites/Les_tests/Scripts/bandeau_de_navigation.php on line 28
[Thu May 29 02:29:12.965134 2014] [:error] [pid 5971] [client 127.0.0.1:40944] PHP Warning:  include(VARIABLES_DETECTIVE_CONAN.php): failed to open stream: No such file or directory in /home/chloros/Websites/Les_tests/Fiche_Episode.php on line 4, referer: http://hotmail/Websites/Les_tests/
[Thu May 29 02:29:12.965259 2014] [:error] [pid 5971] [client 127.0.0.1:40944] PHP Warning:  include(): Failed opening 'VARIABLES_DETECTIVE_CONAN.php' for inclusion (include_path='.:/usr/share/php:/usr/share/pear') in /home/chloros/Websites/Les_tests/Fiche_Episode.php on line 4, referer: http://hotmail/Websites/Les_tests/
[Thu May 29 02:29:12.965458 2014] [:error] [pid 5971] [client 127.0.0.1:40944] PHP Notice:  Undefined variable: table_nom_complet in /home/chloros/Websites/Les_tests/Fiche_Episode.php on line 151, referer: http://hotmail/Websites/Les_tests/
[Thu May 29 02:29:12.965503 2014] [:error] [pid 5971] [client 127.0.0.1:40944] PHP Notice:  Undefined variable: bandeau_de_navigation in /home/chloros/Websites/Les_tests/Fiche_Episode.php on line 158, referer: http://hotmail/Websites/Les_tests/
[Thu May 29 02:29:20.060417 2014] [:error] [pid 6696] [client 127.0.0.1:40945] PHP Warning:  include(VARIABLES_DETECTIVE_CONAN.php): failed to open stream: No such file or directory in /home/chloros/Websites/Les_tests/Fiche_personnage.php on line 5, referer: http://hotmail/Websites/Les_tests/
[Thu May 29 02:29:20.060503 2014] [:error] [pid 6696] [client 127.0.0.1:40945] PHP Warning:  include(): Failed opening 'VARIABLES_DETECTIVE_CONAN.php' for inclusion (include_path='.:/usr/share/php:/usr/share/pear') in /home/chloros/Websites/Les_tests/Fiche_personnage.php on line 5, referer: http://hotmail/Websites/Les_tests/
[Thu May 29 02:29:20.060610 2014] [:error] [pid 6696] [client 127.0.0.1:40945] PHP Notice:  Undefined variable: table_nom_complet in /home/chloros/Websites/Les_tests/Fiche_personnage.php on line 28, referer: http://hotmail/Websites/Les_tests/
[Thu May 29 02:29:20.060866 2014] [:error] [pid 6696] [client 127.0.0.1:40945] PHP Notice:  Undefined variable: i in /home/chloros/Websites/Les_tests/Scripts/bandeau_de_navigation.php on line 28, referer: http://hotmail/Websites/Les_tests/
[Thu May 29 02:29:33.415119 2014] [:error] [pid 6697] [client 127.0.0.1:40947] PHP Notice:  Undefined variable: i in /home/chloros/Websites/Les_tests/Scripts/bandeau_de_navigation.php on line 28, referer: http://hotmail/Websites/Les_tests/Gestionnaire.php
[Thu May 29 02:29:33.415330 2014] [:error] [pid 6697] [client 127.0.0.1:40947] PHP Notice:  Undefined variable: notif in /home/chloros/Websites/Les_tests/Variables_statiques.php on line 142, referer: http://hotmail/Websites/Les_tests/Gestionnaire.php
[Thu May 29 02:29:33.417576 2014] [:error] [pid 6697] [client 127.0.0.1:40947] PHP Warning:  mysql_close(): no MySQL-Link resource supplied in /home/chloros/Websites/Les_tests/Variables_statiques.php on line 181, referer: http://hotmail/Websites/Les_tests/Gestionnaire.php
[Thu May 29 02:32:57.181087 2014] [:error] [pid 6701] [client 127.0.0.1:40993] PHP Notice:  Undefined variable: i in /home/chloros/Websites/Les_tests/Scripts/bandeau_de_navigation.php on line 28
[Thu May 29 02:32:57.181455 2014] [:error] [pid 6701] [client 127.0.0.1:40993] PHP Notice:  Undefined variable: i in /home/chloros/Websites/Les_tests/Scripts/bandeau_de_navigation.php on line 28
[Thu May 29 02:55:33.697263 2014] [core:alert] [pid 6697] [client 127.0.0.1:41215] /home/chloros/Websites/ZADMIN/.htaccess: Invalid command 'PerlSetVar', perhaps misspelled or defined by a module not included in the server configuration, referer: http://hotmail/Websites/
[Thu May 29 03:20:20.973817 2014] [authn_file:error] [pid 5961] (2)No such file or directory: [client 127.0.0.1:41505] AH01620: Could not open password file: /etc/apache2/ZADMIN/htpasswd.txt, referer: http://hotmail/Websites/
[Thu May 29 03:25:11.667247 2014] [core:alert] [pid 5961] [client 127.0.0.1:41538] /home/chloros/Websites/ZADMIN/.htaccess: Invalid command 'PerlSetVar', perhaps misspelled or defined by a module not included in the server configuration, referer: http://hotmail/Websites/
[Thu May 29 03:26:17.879166 2014] [:error] [pid 6697] [client 127.0.0.1:41541] script '/home/chloros/Websites/Les_tests/bandeau_de_navigation.php' not found or unable to stat
[Thu May 29 03:27:38.969270 2014] [core:alert] [pid 5964] [client 127.0.0.1:41548] /home/chloros/Websites/ZADMIN/.htaccess: Invalid command 'PerlSetVar', perhaps misspelled or defined by a module not included in the server configuration, referer: http://hotmail/Websites/
[Thu May 29 03:33:44.605610 2014] [mpm_prefork:notice] [pid 5956] AH00169: caught SIGTERM, shutting down
[Thu May 29 03:33:45.817037 2014] [mpm_prefork:notice] [pid 13681] AH00163: Apache/2.4.7 (Ubuntu) PHP/5.5.9-1ubuntu4 mod_perl/2.0.8 Perl/v5.18.2 configured -- resuming normal operations
[Thu May 29 03:33:45.817181 2014] [core:notice] [pid 13681] AH00094: Command line: '/usr/sbin/apache2'
[Thu May 29 03:34:10.583177 2014] [authn_file:error] [pid 13686] [client 127.0.0.1:41690] AH01619: AuthUserFile not specified in the configuration, referer: http://hotmail/Websites/
[Thu May 29 03:37:22.858555 2014] [authn_file:error] [pid 13687] [client 127.0.0.1:41707] AH01619: AuthUserFile not specified in the configuration
[Thu May 29 04:38:57.840516 2014] [mpm_prefork:notice] [pid 13681] AH00169: caught SIGTERM, shutting down
[Thu May 29 18:20:42.504745 2014] [mpm_prefork:notice] [pid 1289] AH00163: Apache/2.4.7 (Ubuntu) PHP/5.5.9-1ubuntu4 mod_perl/2.0.8 Perl/v5.18.2 configured -- resuming normal operations
[Thu May 29 18:20:42.523922 2014] [core:notice] [pid 1289] AH00094: Command line: '/usr/sbin/apache2'
[Thu May 29 21:22:38.838145 2014] [:error] [pid 1407] [client 127.0.0.1:33013] PHP Notice:  Undefined variable: page_en_cours in /home/chloros/Websites/Pages/div_menu_connexion_bis.php on line 39, referer: http://hotmail/Websites/

Je ne sais trop par où commencer… Le site fonctionnait correctement sous Lucid, et je ne comprends pas d'où sortent ces erreurs d'identification, les signaux d'arrêt… Et l'impératif soudain d'avoir un fichier .htpasswd et un AuthUserFile, l'incapacité de lire la commande PerlSetVar alors que j'ai bien téléchargé libapache2-mod-perl2, ce qui m'amène systématiquement à un Error 500…

Bref, j'aurais besoin d'un petit coup de patte pour remettre en état de marche mon bon vieux site perso.
Merci d'avance à celui/celle (…celle ? no, wait…) qui prendra quelques minutes pour m'aider.

Hors ligne

#2 Le 30/05/2014, à 10:19

Filador

Re : Finaliser config d'Apache2 (je crois)

Bonjour,

Peux-tu me mettre le fichier de configuration de ton site perso ? (fichier du dossier sites-available)

Merci.

Hors ligne

#3 Le 30/05/2014, à 22:52

Chloros

Re : Finaliser config d'Apache2 (je crois)

Euh… Dans /etc/apache2/sites-available/… Ah oui, c'est vrai, ce fichier…

<VirtualHost *: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 www.example.com

	# ServerAdmin webmaster@localhost
	ServerAdmin root@localhost
	# DocumentRoot /var/www/html
	DocumentRoot /home/chloros/

	# 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

	<Directory "/home/chloros/">
	Order allow,deny
	Allow from all
	AllowOverride FileInfo
	Require all granted
	</Directory>

</VirtualHost>

# vim: syntax=apache ts=4 sw=4 sts=4 sr noet

En fait la bonne nouvelle, c'est que j'ai réussi à désactiver la vérification des ".htaccess", du coup j'ai enfin la possibilité de voir les pages placées dans des sous-dossiers de mon petit site offline. En revanche, actuellement, pas moyen d'écrire un message :

You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'bla-blabla' at line 1

Autrefois, j'arrivais parfaitement à enregistrer/éditer mes petites anecdotes… Mais c'est vrai que de toutes manières, il va falloir réviser un peu mon code. Dans le dossier de tests, il y a quelques semaines, j'ai découvert en préparant un enregistrement en BdD que de nos jours, il est fortement déconseillé d'utiliser les commandes traditionnelles en "mysql_" et de leur préférer les commandes type "mysqli_". De longues heures de codage, en perspective…

Hors ligne

#4 Le 02/06/2014, à 11:09

Filador

Re : Finaliser config d'Apache2 (je crois)

<VirtualHost *:80>
        [...]

	<Directory "/home/chloros/">
	Order allow,deny
	Allow from all
	AllowOverride FileInfo
	Require all granted
	</Directory>

</VirtualHost>

Dans Apache 2.7.*,

	Order allow,deny
	Allow from all

n'est plus valide, et est remplacé par

Require all granted

Ensuite pour mysql_, oui c'est dépricié, je te conseil de te tourner vers le PDO si ton site web est développé avec la logique "objet".

Hors ligne