web2site Posted March 19, 2010 Share Posted March 19, 2010 Bonjourje suis chez OVH, j'ai un problème d'url rewriting. Je viens de le mettre en place et sa n'affiche plus les photos. Je suis chez ovh.Merci# URL rewriting module activationRewriteEngine on# URL rewriting rulesRewriteRule ^([a-zA-Z0-9-]*)/([0-9]+)\-([a-zA-Z0-9-]*)\.html(.*)$ product.php?id_product=$2$4 [L,E]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 [QSA,L,E]RewriteRule ^content/([0-9]+)\-([a-zA-Z0-9-]*)(.*)$ cms.php?id_cms=$1 [QSA,L,E]RewriteRule ^([0-9]+)__([a-zA-Z0-9-]*)(.*)$ supplier.php?id_supplier=$1$3 [QSA,L,E]RewriteRule ^([0-9]+)_([a-zA-Z0-9-]*)(.*)$ manufacturer.php?id_manufacturer=$1$3 [QSA,L,E]RewriteCond %{HTTP_HOST} ^monsite.fr/$RewriteRule ^(.*) http://www.monsite.fr/$1 [QSA,L,R=301] RewriteEngine onRewriteCond %{HTTP_HOST} ^ssl5.ovh.net/~user/$ [OR] RewriteCond %{HTTP_HOST} ^www.ssl5.ovh.net/~user/$RewriteRule ^(.*) https://ssl5.ovh.net/~user/$1 [QSA,L,R=301]# Catch 404 errorsErrorDocument 404 /404.phpErrorDocument 403 /403.phpErrorDocument 401 /401.phpSetEnv PHP_VER 5SetEnv REGISTER_GLOBALS 0#Robots bot spammeurs bloquerRewriteEngine OnRewriteCond %{HTTP_USER_AGENT} .*Atomic\_Email\_Hunter* [NC,OR]RewriteCond %{HTTP_USER_AGENT} .*HTTrack* [NC,OR]RewriteCond %{HTTP_USER_AGENT} .*Filangy* [OR]RewriteCond %{HTTP_USER_AGENT} .*BackWeb* [OR]RewriteCond %{HTTP_USER_AGENT} .*BackStreet* [OR]RewriteCond %{HTTP_USER_AGENT} .*Bandit* [OR]RewriteCond %{HTTP_USER_AGENT} .*BatchFTP* [OR]RewriteCond %{HTTP_USER_AGENT} .*Bullseye* [OR]RewriteCond %{HTTP_USER_AGENT} .*bumblebee* [OR]RewriteCond %{HTTP_USER_AGENT} .*capture* [OR]RewriteCond %{HTTP_USER_AGENT} .*CherryPicker* [OR]RewriteCond %{HTTP_USER_AGENT} .*CherryPickrElite* [OR]RewriteCond %{HTTP_USER_AGENT} .*CherryPickerSE* [OR]RewriteCond %{HTTP_USER_AGENT} .*ChinaClaw* [OR]RewriteCond %{HTTP_USER_AGENT} .*clipping* [OR]RewriteCond %{HTTP_USER_AGENT} .*collage* [OR]RewriteCond %{HTTP_USER_AGENT} .*Collector* [OR]RewriteCond %{HTTP_USER_AGENT} .*Copier* [NC,OR]RewriteCond %{HTTP_USER_AGENT} .*Crescent* [NC,OR]RewriteCond %{HTTP_USER_AGENT} .*Download* [OR]RewriteCond %{HTTP_USER_AGENT} .*eCatch* [OR]RewriteCond %{HTTP_USER_AGENT} .*EirGrabber* [OR]RewriteCond %{HTTP_USER_AGENT} .*email* [OR]RewriteCond %{HTTP_USER_AGENT} .*EmeraldShield* [NC,OR]RewriteCond %{HTTP_USER_AGENT} .*FlashGet* [NC,OR]RewriteCond %{HTTP_USER_AGENT} .*FlickBot* [OR]RewriteCond %{HTTP_USER_AGENT} .*FrontPage* [NC,OR]RewriteCond %{HTTP_USER_AGENT} .*GetRight* [NC,OR]RewriteCond %{HTTP_USER_AGENT} .*GetSmart* [OR]RewriteCond %{HTTP_USER_AGENT} .*GetWeb* [OR]RewriteCond %{HTTP_USER_AGENT} .*GetWebPage* [OR]RewriteCond %{HTTP_USER_AGENT} .*gigabaz* [OR]RewriteCond %{HTTP_USER_AGENT} .*Go!Zilla* [OR]RewriteCond %{HTTP_USER_AGENT} .*GornKer* [OR]RewriteCond %{HTTP_USER_AGENT} .*gotit* [OR]RewriteCond %{HTTP_USER_AGENT} .*Grabber* [NC,OR]RewriteCond %{HTTP_USER_AGENT} .*GrabNet* [OR]RewriteCond %{HTTP_USER_AGENT} .*hloader* [OR]RewriteCond %{HTTP_USER_AGENT} .*httpdown* [OR]RewriteCond %{HTTP_USER_AGENT} .*InterGET* [OR]RewriteCond %{HTTP_USER_AGENT} .*JustView* [OR]RewriteCond %{HTTP_USER_AGENT} .*kapere* [OR]RewriteCond %{HTTP_USER_AGENT} .*larbin* [OR]RewriteCond %{HTTP_USER_AGENT} .*LeechFTP* [OR]RewriteCond %{HTTP_USER_AGENT} .*LexiBot* [OR]RewriteCond %{HTTP_USER_AGENT} .*Missigua* [OR]RewriteCond %{HTTP_USER_AGENT} .*MSIECrawler* [OR]RewriteCond %{HTTP_USER_AGENT} .*Vampire* [OR]RewriteCond %{HTTP_USER_AGENT} .*NetAnts* [OR]RewriteCond %{HTTP_USER_AGENT} .*NetMechanic* [OR]RewriteCond %{HTTP_USER_AGENT} .*Openfind* [OR]RewriteCond %{HTTP_USER_AGENT} .*PageGrabber* [OR]RewriteCond %{HTTP_USER_AGENT} .*pavuk* [OR]RewriteCond %{HTTP_USER_AGENT} .*pcBrowser* [OR]RewriteCond %{HTTP_USER_AGENT} .*PersonaPilot* [OR]RewriteCond %{HTTP_USER_AGENT} .*PingALink* [OR]RewriteCond %{HTTP_USER_AGENT} .*Python-urllib* [OR]RewriteCond %{HTTP_USER_AGENT} .*PycURL* [OR]RewriteCond %{HTTP_USER_AGENT} .*RealDownload* [OR]RewriteCond %{HTTP_USER_AGENT} .*Reaper* [OR]RewriteCond %{HTTP_USER_AGENT} .*Recorder* [OR]RewriteCond %{HTTP_USER_AGENT} .*ReGet* [OR]RewriteCond %{HTTP_USER_AGENT} .*replacer* [OR]RewriteCond %{HTTP_USER_AGENT} .*SearchExpress* [OR]RewriteCond %{HTTP_USER_AGENT} .*SlySearch* [OR]RewriteCond %{HTTP_USER_AGENT} .*SmartDownload* [OR]RewriteCond %{HTTP_USER_AGENT} .*snagger* [OR]RewriteCond %{HTTP_USER_AGENT} .*Snake* [OR]RewriteCond %{HTTP_USER_AGENT} .*Stripper* [OR]RewriteCond %{HTTP_USER_AGENT} .*Sucker* [OR]RewriteCond %{HTTP_USER_AGENT} .*SuperBot* [OR]RewriteCond %{HTTP_USER_AGENT} .*SuperHTTP* [OR]RewriteCond %{HTTP_USER_AGENT} .*Surfbot* [OR]RewriteCond %{HTTP_USER_AGENT} .*Syntryx* [OR]RewriteCond %{HTTP_USER_AGENT} .*Teleport* [OR]RewriteCond %{HTTP_USER_AGENT} .*Telesoft* [OR]RewriteCond %{HTTP_USER_AGENT} .*NetSpider* [OR]RewriteCond %{HTTP_USER_AGENT} .*WebAuto* [OR]RewriteCond %{HTTP_USER_AGENT} .*WebBandit* [OR]RewriteCond %{HTTP_USER_AGENT} .*WebCapture* [OR]RewriteCond %{HTTP_USER_AGENT} .*Webclipping* [OR]RewriteCond %{HTTP_USER_AGENT} .*webcollage* [OR] Link to comment Share on other sites More sharing options...
web2site Posted March 19, 2010 Author Share Posted March 19, 2010 Bon j'ai trouvé tout seulCependant il subsiste un problème c'est l'affichage en bas de points d'interrogations !Comment je fais pour les enlever ?Cordialement Link to comment Share on other sites More sharing options...
La Matrice Du 67 Posted April 26, 2010 Share Posted April 26, 2010 Les points d'interrogations apparaissent à la place d'une image qui est appeler mais qui n'existe pas.En gros, dans ton footer.tpl, il demande d'afficher une image et dans ton dossier img il n'existe pas.2 solutions :- Tu supprime la demande d'affichage de l'image.- Tu modifie le nom de l'image et tu met l'image dans ton dossier img de ton thème. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now