Bonjour à tous,

J'ai un problème qui concerne visiblement une petite partie de mes visiteurs : le rewriting ne semble pas fonctionner.

Il doit s'agir visiblement d'une perte des variables car ces même visiteurs sont reconduits en page d'accueil : condition existante sur ma page catalogue par exemple :

Code php : Sélectionner tout - Visualiser dans une fenêtre à part
if(isset($_GET) && isset($_GET["cID"])) { $cID = $_GET['cID']; } else { header('Location: index.php'); }

Les liens pour accéder à cette page se présentent sous la forme :

Qui est liée à ma règle rewriting suivante :

Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
Options +FollowSymlinks
RewriteEngine on
RewriteRule ^([^/]*)/([^/]*)\.bio$ /catalogue.php?cDisp=$1&cID=$2 [L]
Mon error_log m'indique ainsi :
File does not exist: /www/www.monsite.com/prod/hygiene-naturelle-shampoings-bio, referer: http://www.monsite.com/hygiene-natur...o/4_34_0_2.bio
Pour information mon access_log indique :

[30/May/2012:09:29:55 +0200] "GET /cosmetique/marques-bio.gif HTTP/1.1" 200 395 "http://www.monsite.com/hygiene-naturelle-shampoings-bio/4_34_0_2.bio" "Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; .NET CLR 2.0.50727; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729; .NET4.0C; .NET4.0E)"
[30/May/2012:09:29:55 +0200] "GET /images/12888_S.jpg HTTP/1.1" 200 10729 "http://www.monsite.com/hygiene-naturelle-shampoings-bio/4_34_0_2.bio" "Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; .NET CLR 2.0.50727; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729; .NET4.0C; .NET4.0E)"
[30/May/2012:09:29:55 +0200] "GET /images/12887_S.jpg HTTP/1.1" 200 11272 "http://www.monsite.com/hygiene-naturelle-shampoings-bio/4_34_0_2.bio" "Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; .NET CLR 2.0.50727; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729; .NET4.0C; .NET4.0E)"
[30/May/2012:09:29:55 +0200] "GET /images/12879_S.jpg HTTP/1.1" 200 17149 "http://www.monsite.com/hygiene-naturelle-shampoings-bio/4_34_0_2.bio" "Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; .NET CLR 2.0.50727; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729; .NET4.0C; .NET4.0E)"
[30/May/2012:09:29:55 +0200] "GET /images/9059_S.jpg HTTP/1.1" 200 4428 "http://www.monsite.com/hygiene-naturelle-shampoings-bio/4_34_0_2.bio" "Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; .NET CLR 2.0.50727; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729; .NET4.0C; .NET4.0E)"
Si quelqu'un avait une idée lumineuse ce serait ma-gni-fique !

Merci à vous