Les erreurs 404 et 500
Ennemine
Messages postés
67
Date d'inscription
Statut
Membre
Dernière intervention
-
Ennemine Messages postés 67 Date d'inscription Statut Membre Dernière intervention -
Ennemine Messages postés 67 Date d'inscription Statut Membre Dernière intervention -
Bonjour,
Après avoir complété l'hébergement de mon site, je trouve la situation suivante: je ne peut accéder qu'à la page d'accueil et si je clique sur un lien il m'affiche l'erreur 404.
Après j'ai supprimé le fichier .htaccess qui marche bien à locale et j'ai supprimé aussi ce qui concerne ce fichier, pour trouver l'erreur 500 comme suit:
500 - Internal Server Error
This is a temporary server error.
Please try to reload the webpage later.
If you are the webmaster of this site please log in to Cpanel and check the Error Logs. You will find the exact reason for this error there.
Common reasons for this error are:
Incorrect file/directory permissions: Above 755.
In order files to be processed by the webserver, their permissions have to be equal or below 755. You can update file permissions with a FTP client or through cPanel's File Manager.
Incorrect Apache directives inside .htaccess file.
Make sure you have not specified unsupported directives inside the local .htaccess file. Such include PHP settings and Apache module settings.
Aidez-moi.
Après avoir complété l'hébergement de mon site, je trouve la situation suivante: je ne peut accéder qu'à la page d'accueil et si je clique sur un lien il m'affiche l'erreur 404.
Après j'ai supprimé le fichier .htaccess qui marche bien à locale et j'ai supprimé aussi ce qui concerne ce fichier, pour trouver l'erreur 500 comme suit:
500 - Internal Server Error
This is a temporary server error.
Please try to reload the webpage later.
If you are the webmaster of this site please log in to Cpanel and check the Error Logs. You will find the exact reason for this error there.
Common reasons for this error are:
Incorrect file/directory permissions: Above 755.
In order files to be processed by the webserver, their permissions have to be equal or below 755. You can update file permissions with a FTP client or through cPanel's File Manager.
Incorrect Apache directives inside .htaccess file.
Make sure you have not specified unsupported directives inside the local .htaccess file. Such include PHP settings and Apache module settings.
Aidez-moi.
A voir également:
- Les erreurs 404 et 500
- Erreur 500 - Guide
- Scan manga erreur 404 ✓ - Forum Réseaux sociaux
- Formate pour taxer client 500€ frigo - Forum Loisirs / Divertissements
- Devolo dlan 500 wifi problème ✓ - Forum CPL
- 500 mb ✓ - Forum Mobile
2 réponses
Pour l'erreur 404, c'est peut-être parce que tu as mis les liens absolus au complet comme http://localhost/blablabla.php plutôt que /blablabla.php.
Pour ce qui est de l'erreur 500, assure toi de mettre les droits d'accès à 755 pour les dossiers et vérifie.
Pour ce qui est de l'erreur 500, assure toi de mettre les droits d'accès à 755 pour les dossiers et vérifie.
J'ai fait 755 pour les dossiers mais rien a changé.
voici mon .htaccess qui marche à locale mais pas en ligne!:
voici mon .htaccess qui marche à locale mais pas en ligne!:
Options +FollowSymlinks
RewriteEngine on
RewriteRule ^page=accueil_123yle-klm=yeefg003_mpzes008=nbcre001\.htm$ index.php [L,NC]
RewriteRule ^page1prd_os=engs_yeef12_frty09-objkylm=décr_y567\.htm$ saisit.php [L,NC]
RewriteRule ^page2trv_pos=engs_yeef13=edg345_huyp946-gbpl06_yef\.htm$ saisit1.php [L,NC]
RewriteRule ^page3prd_nbvf=lst1_jkyr321=elb07_vcb032jgh-021hjl\.htm$ affich.php [L,NC]
RewriteRule ^page4trv_vfdc=lst2_tyui543=smlo5-klm08_gfvh03-ety09\.htm$ affich1.php [L,NC]
RewriteRule ^page5liv_part=mvdy_lkow23=dsert_ftrd05_htyc01_fvc00\.htm$ livreor.php [L,NC]
RewriteRule ^page6cnt_fvc=yfe_ct13_lkji612=trvb123_nbvc08_khj06\.htm$ contact.php [L,NC]
RewriteRule ^page7cnt_vsf=eyf_ct2cvf_gopl543=nxwe87_lopm658eeylm\.htm$ contacta.php [L,NC]
RewriteRule ^page8if_tluge=obyt1_poaze521_lkvb1234=oder09_lsdz07\.htm$ info.php [L,NC]
RewriteRule ^page9nf_yrop=obyt2_jkfd067_pnlk007=fdscv060_eryt090\.htm$ infoa.php [L,NC]
RewriteRule ^page10st_nov=fd_liensim321_ynbv001=23tamlo_sptygf324\.htm$ sitesa.php [L,NC]
RewriteRule ^page11df_usl=rte_hvcns110_rybw03=gfred09_edxfgh0123\.htm$ nous.php [L,NC]
RewriteRule ^page12fd_lhk=res_hgfnsa21_bnez00=plrbn321_hlets007kl\.htm$ nousa.php [L,NC]