Jump to content

ENcore un PB error 404 (page blanche)


Recommended Posts

bonjour a tous, je vien vers vous en dernier recourt car j'ai tout essayé avant (du moin, tout ce qui se dit sur le forum)

bref, voila mon cas:

je suis hébergé chez amen, serveur linux .

j'ai installé ma boutique la semaine dernière, pas de pb

lorsque j'essaie de parametrer mon htaccess pour l'erreur 404, et donc la redirection vers la page 404.php , lorsque j'ecrit nimporte quoi derriere le "/" pour tester, c'a m'envoie sur une page blanche (code source vierge en faisant ctrl+u)

de plus, lorsque je tappe directement ..../404.php, c'a me fait exactemement la meme chose, page blanche sans code source.

voila mon .htaccess :

# .htaccess automaticaly generated by PrestaShop e-commerce open-source solution
# WARNING: PLEASE DO NOT MODIFY THIS FILE MANUALLY. IF NECESSARY, ADD YOUR SPECIFIC CONFIGURATION WITH THE HTACCESS GENERATOR IN BACK OFFICE
# http://www.prestashop.com - http://www.prestashop.com/forums
# Catch 404 errors
ErrorDocument 404 /404.php
<IfModule mod_rewrite.c>
# Disable Multiviews
Options -Multiviews
# URL rewriting module activation
RewriteEngine on
# URL rewriting rules
RewriteRule ^([a-z0-9]+)\-([a-z0-9]+)(\-[_a-zA-Z0-9-]*)/[_a-zA-Z0-9-]*\.jpg$ /boutique/img/p/$1-$2$3.jpg [L]
RewriteRule ^([0-9]+)\-([0-9]+)/[_a-zA-Z0-9-]*\.jpg$ /boutique/img/p/$1-$2.jpg [L]
RewriteRule ^([0-9])(\-[_a-zA-Z0-9-]*)?/[_a-zA-Z0-9-]*\.jpg$ /boutique/img/p/$1/$1$2.jpg [L]
RewriteRule ^([0-9])([0-9])(\-[_a-zA-Z0-9-]*)?/[_a-zA-Z0-9-]*\.jpg$ /boutique/img/p/$1/$2/$1$2$3.jpg [L]
RewriteRule ^([0-9])([0-9])([0-9])(\-[_a-zA-Z0-9-]*)?/[_a-zA-Z0-9-]*\.jpg$ /boutique/img/p/$1/$2/$3/$1$2$3$4.jpg [L]
RewriteRule ^([0-9])([0-9])([0-9])([0-9])(\-[_a-zA-Z0-9-]*)?/[_a-zA-Z0-9-]*\.jpg$ /boutique/img/p/$1/$2/$3/$4/$1$2$3$4$5.jpg [L]
RewriteRule ^([0-9])([0-9])([0-9])([0-9])([0-9])(\-[_a-zA-Z0-9-]*)?/[_a-zA-Z0-9-]*\.jpg$ /boutique/img/p/$1/$2/$3/$4/$5/$1$2$3$4$5$6.jpg [L]
RewriteRule ^([0-9])([0-9])([0-9])([0-9])([0-9])([0-9])(\-[_a-zA-Z0-9-]*)?/[_a-zA-Z0-9-]*\.jpg$ /boutique/img/p/$1/$2/$3/$4/$5/$6/$1$2$3$4$5$6$7.jpg [L]
RewriteRule ^([0-9])([0-9])([0-9])([0-9])([0-9])([0-9])([0-9])(\-[_a-zA-Z0-9-]*)?/[_a-zA-Z0-9-]*\.jpg$ /boutique/img/p/$1/$2/$3/$4/$5/$6/$7/$1$2$3$4$5$6$7$8.jpg [L]
RewriteRule ^([0-9])([0-9])([0-9])([0-9])([0-9])([0-9])([0-9])([0-9])(\-[_a-zA-Z0-9-]*)?/[_a-zA-Z0-9-]*\.jpg$ /boutique/img/p/$1/$2/$3/$4/$5/$6/$7/$8/$1$2$3$4$5$6$7$8$9.jpg [L]
RewriteRule ^c/([0-9]+)(\-[_a-zA-Z0-9-]*)/[_a-zA-Z0-9-]*\.jpg$ /boutique/img/c/$1$2.jpg [L]
RewriteRule ^c/([a-zA-Z-]+)/[a-zA-Z0-9-]+\.jpg$ /boutique/img/c/$1.jpg [L]
RewriteRule ^([0-9]+)(\-[_a-zA-Z0-9-]*)/[_a-zA-Z0-9-]*\.jpg$ /boutique/img/c/$1$2.jpg [L]
RewriteRule ^([0-9]+)\-[a-zA-Z0-9-]*\.html /boutique/product.php?id_product=$1 [QSA,L]
RewriteRule ^[a-zA-Z0-9-]*/([0-9]+)\-[a-zA-Z0-9-]*\.html /boutique/product.php?id_product=$1 [QSA,L]
RewriteRule ^([0-9]+)\-[a-zA-Z0-9-]*(/[a-zA-Z0-9-]*)+ /boutique/category.php?id_category=$1&noredirect=1 [QSA,L]
RewriteRule ^([0-9]+)\-[a-zA-Z0-9-]* /boutique/category.php?id_category=$1 [QSA,L]
RewriteRule ^([0-9]+)__([a-zA-Z0-9-]*) /boutique/supplier.php?id_supplier=$1 [QSA,L]
RewriteRule ^([0-9]+)_([a-zA-Z0-9-]*) /boutique/manufacturer.php?id_manufacturer=$1 [QSA,L]
RewriteRule ^content/([0-9]+)\-([a-zA-Z0-9-]*) /boutique/cms.php?id_cms=$1 [QSA,L]
RewriteRule ^content/category/([0-9]+)\-([a-zA-Z0-9-]*) /boutique/cms.php?id_cms_category=$1 [QSA,L]
RewriteRule ^page-non-trouvee$ /boutique/404.php [QSA,L]
RewriteRule ^adresse$ /boutique/address.php [QSA,L]
RewriteRule ^adresses$ /boutique/addresses.php [QSA,L]
RewriteRule ^authentification$ /boutique/authentication.php [QSA,L]
RewriteRule ^meilleures-ventes$ /boutique/best-sales.php [QSA,L]
RewriteRule ^panier$ /boutique/cart.php [QSA,L]
RewriteRule ^contactez-nous$ /boutique/contact-form.php [QSA,L]
RewriteRule ^bons-de-reduction$ /boutique/discount.php [QSA,L]
RewriteRule ^suivi-commande-invite$ /boutique/guest-tracking.php [QSA,L]
RewriteRule ^historique-des-commandes$ /boutique/history.php [QSA,L]
RewriteRule ^identite$ /boutique/identity.php [QSA,L]
RewriteRule ^fabricants$ /boutique/manufacturer.php [QSA,L]
RewriteRule ^mon-compte$ /boutique/my-account.php [QSA,L]
RewriteRule ^nouveaux-produits$ /boutique/new-products.php [QSA,L]
RewriteRule ^commande$ /boutique/order.php [QSA,L]
RewriteRule ^details-de-la-commande$ /boutique/order-follow.php [QSA,L]
RewriteRule ^commande-rapide$ /boutique/order-opc.php [QSA,L]
RewriteRule ^avoirs$ /boutique/order-slip.php [QSA,L]
RewriteRule ^mot-de-passe-oublie$ /boutique/password.php [QSA,L]
RewriteRule ^promotions$ /boutique/prices-drop.php [QSA,L]
RewriteRule ^recherche$ /boutique/search.php [QSA,L]
RewriteRule ^plan-du-site$ /boutique/sitemap.php [QSA,L]
RewriteRule ^magasins$ /boutique/stores.php [QSA,L]
RewriteRule ^fournisseurs$ /boutique/supplier.php [QSA,L]
</IfModule>

<IfModule mod_expires.c>
ExpiresActive On
ExpiresByType image/gif "access plus 1 month"
ExpiresByType image/jpeg "access plus 1 month"
ExpiresByType image/png "access plus 1 month"
ExpiresByType text/css "access plus 1 week"
ExpiresByType text/javascript "access plus 1 week"
ExpiresByType application/javascript "access plus 1 week"
ExpiresByType application/x-javascript "access plus 1 week"
ExpiresByType image/x-icon "access plus 1 year"
</IfModule>
FileETag INode MTime Size
<IfModule mod_deflate.c>
AddOutputFilterByType DEFLATE text/html
AddOutputFilterByType DEFLATE text/css
AddOutputFilterByType DEFLATE text/javascript
AddOutputFilterByType DEFLATE application/javascript
AddOutputFilterByType DEFLATE application/x-javascript
</IfModule>

 

j'espere que quelq'un vas pouvoir m'aider car je ne trouve rien du tout... (mon PHP5 est activé sur mon serveur.)

merci d'avance a ceux qui pourrons m'aider...

Link to comment
Share on other sites

  • 2 months later...
  • 3 weeks later...

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...