Renseignemnt sur un fichier htaccess

knpc Messages postés 2 Date d'inscription jeudi 15 octobre 2009 Statut Membre Dernière intervention 8 avril 2010 - 8 avril 2010 à 23:02
roymatthieu Messages postés 112 Date d'inscription jeudi 31 août 2006 Statut Membre Dernière intervention 3 février 2011 - 13 avril 2010 à 10:00
Salut à Tous,

J'aurais besoin d'un renseignement sur un script que j'ai récupérer sur internet et lorsque je veux accéder à la parti admin qui se trouve dans un répertoire autre que la récine j'ai un retour d'erreur 1.php

dans le fichier .htaccess que j'ai se trouve ce fichier.

Qelqu'un pourrait il m'aider a comprendre le contenue de ce fichier que je vous mets ci dessous :

# Helicon ISAPI_Rewrite configuration file
# Version 3.1.0.56



RewriteEngine on
RewriteCond %{REQUEST_URI} !/(.*)_([0-9]+).*\.html$
RewriteRule ^(.*)\.html$ $1.php [L]

RewriteCond %{REQUEST_URI} /auction_(.*)_([0-9]+).*\.html$
RewriteRule (.*) productdetails.php?aid=%2 [L]

RewriteCond %{REQUEST_URI} /all_auctions_([0-9]+)_([0-9]+)_EndedAuction.*\.html$
RewriteRule (.*) allauctions.php?pgno2=%2&id=%1&hashtag=EndedAuction [L]

RewriteCond %{REQUEST_URI} /all_auctions_([0-9]+)_([0-9]+)_FutureAuction.*\.html$
RewriteRule (.*) allauctions.php?pgno3=%2&id=%1&hashtag=FutureAuction [L]

RewriteCond %{REQUEST_URI} /all_auctions_([0-9]+)_([0-9]+).*\.html$
RewriteRule (.*) allauctions.php?pgno=%2&id=%1 [L]

RewriteCond %{REQUEST_URI} /all_auctions_([0-9]+)_(.*).*\.html$
RewriteRule (.*) allauctions.php?pgno=%1&st=%2 [L]

RewriteCond %{REQUEST_URI} /all_auctions_([0-9]+).*\.html$
RewriteRule (.*) allauctions.php?id=%1 [L]

RewriteCond %{REQUEST_URI} /all_ended_auctions_([0-9]+)_([0-9]+)_([a-zA-Z]).*\.html$
RewriteRule (.*) allauctions.php?aid=%1&pgno2=%2&hashtag=%3 [L]

RewriteCond %{REQUEST_URI} /all_future_auctions_([0-9]+)_([0-9]+)_([a-zA-Z]).*\.html$
RewriteRule (.*) allauctions.php?aid=%1&pgno3=%2&hashtag=%3 [L]

RewriteCond %{REQUEST_URI} /all_([a-z]+)_auctions_([0-9]+)_([a-zA-Z]).*\.html$
RewriteRule (.*) allauctions.php?aid=%2&hashtag=%3 [L]

RewriteCond %{REQUEST_URI} /all_([a-z]+)_auctions_([0-9]+)_([0-9]+).*\.html$
RewriteRule (.*) allauctions.php?aid=%2&pgno=%3 [L]

RewriteCond %{REQUEST_URI} /all_([a-z]+)_auctions_([0-9]+).*\.html$
RewriteRule (.*) allauctions.php?aid=%2 [L]

RewriteCond %{REQUEST_URI} /bid_history_([0-9]+)_N.*\.html$
RewriteRule (.*) bid_history.php?pgNo=%1 [L]

RewriteCond %{REQUEST_URI} /([a-zA-Z_]+)_([0-9]+).*\.html$
RewriteRule (.*) %1.php?pgno=%2 [L]

Merci à Tous pour vos réponses.....

1 réponse

roymatthieu Messages postés 112 Date d'inscription jeudi 31 août 2006 Statut Membre Dernière intervention 3 février 2011 1
13 avril 2010 à 10:00
Salut,

Quelqu'un pourrait-il m'aider a comprendre le contenue de ce fichier que je vous mets ci dessous :


Est-ce un problème de compréhension même lié à la non connaissance de la réécriture d'url ?

Où connais-tu et tu ne comprends pas l'erreur si c'est le cas merci de donner plus d'info concernant ceci :

j'ai un retour d'erreur 1.php


BIen à toi.
0
Rejoignez-nous