Jump to content

Recommended Posts

Posted (edited)

Bonjour à tous,

Soit un .htaccess dans un répertoire rep1 :

Options +FollowSymLinks 
RewriteEngine On

RewriteRule ^rep2/([0-9]+)-([0-9]+)-fic.html$ fichier.php?a=$1&b=$2 [L]

Je veus donc que http://www.site.tld/rep1/rep2/8-7-fic.html se réécrive en : http://www.site.tld/rep1/fichier.php?a=8&b=7

Le problème c'est qu'apache me point la réécriture vers : http://www.site.tld/fichier.php?a=8&b=7

Une piste ?

Edited by Grasshopper
Posted

Bah comme je l'ai indiqué au dessus, ton dédié utilise un bête DocumentRoot ; tandis que 1and1 utilise certainement un VirtualDocumentRoot.

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...