PrestaShop Forums: Error 403 - Forbidden L'accès au fichier requiert une autorisation. - PrestaShop Forums

Jump to content


Welcome to the PrestaShop Forum! We hope you'll share your comments and suggestions with us. We ask that you please post in English to the main sections of the PrestaShop Forum. If you want to write in another language, please post in the corresponding PrestaShop Community section below.

Please note that PrestaShop Community sections are largely self-moderated. PrestaShop team members may or may not participate in non-English sections. To improve the chances of receiving feedback to your question or comment, please post it in English to the main sections of our Forum.

NYC

Vous parlez français ? par ici !


Error 403 - Forbidden L'accès au fichier requiert une autorisation.


Error 403 - Forbidden L'accès au fichier requiert une autorisation.

#1 tibibou

    PrestaShop Newbie

  • 07 Feb 2010
  • Members
  • Pip
  • 1 posts

Posted 07 February 2010 - 03:12 PM

Bonjour,

J'essaie d'installer Prestashop chez 1and1. Je suis passé en PHP5.2.12.
J'ai envoyé tous les fichiers en FTP dans un répertoire /prestashop.
J'ai créé un fichier php.ini (à la racine et dans /prestashop, /prestashop/admin et /prestashop/install) qui contient :
allow_url_fopen=On allow_url_include=On 
extension=php_gd2.dll


J'ai créé un fichier .htaccess (à la racine) qui contient :
SetEnv SG_DEFAULT_PHP_VERSION 5
AddType x-mapp-php5 .php
AddHandler x-mapp-php5 .php

# URL rewriting module activation
RewriteEngine on
RewriteBase /

# URL rewriting rules
RewriteRule ^([0-9]+)-([a-zA-Z0-9-]*).html(.)$ product.php?id_product=$1$3 [L,E]
RewriteRule ^([0-9]+)-([a-zA-Z0-9-])(.)$ category.php?id_category=$1$3 [L,E]
RewriteRule ^([0-9]+)__([a-zA-Z0-9-])(.)$ supplier.php?id_supplier=$1$3 [L,E]
RewriteRule ^([0-9]+)_([a-zA-Z0-9-])(.)$ manufacturer.php?id_manufacturer=$1$3 [L,E]

# Catch 404 errors
ErrorDocument 404 /404.php


J'ai mis en CHMOD 777 les fichiers signalés dans le wiki http://www.prestasho...tall_PrestaShop

Quand j'essaie d'installer prestashop avec http://www.monsiteàm...stashop/install je reçois un message d'erreur : Error 403 - Forbidden L'accès au fichier requiert une autorisation.

Et je ne sais plus quoi faire. Je n'ai pas trouvé de solution dans le forum.
Merci d'avance.

#2

    PrestaShop Newbie

  • 15 Dec 2011
  • Members
  • Pip
  • 0 posts

Posted 07 February 2010 - 08:04 PM

Pourquoi ne pas commencer par un htaccess simple (et sans le php.ini) sur la racine du site avec la ligne suivante :

AddType application/x-httpd-php5 .php

Une fois que ceci fonctionne, ajouter les réécritures d'URL

#3

    PrestaShop Newbie

  • 15 Dec 2011
  • Members
  • Pip
  • 0 posts

Posted 09 February 2010 - 11:48 AM

Merci.

J'ai suivi vos conseils. le php.ini est vide. Le .htaccess ne comprend que la ligne indiquée ci-dessus.
Le problème reste le même.
D'autres idées ?

#4

    PrestaShop Newbie

  • 15 Dec 2011
  • Members
  • Pip
  • 0 posts

Posted 09 February 2010 - 12:09 PM

Bonjour, pour moi pas de problèmes avec 1&1;, ne pas modifier les permissions celles de départ conviennent, htaccess normal avec les ligne pour PHP5.

Pas de phi.ini non plus.





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users