Jump to content
Sign in to follow this  
Atelier Blaudeau

[resolu]impossible de creer mon .htaccess sur serveur dédié AMEN

Recommended Posts

Bonjour, j'ai egalement une galere avec mon htaccess pour lurl rewriting, des que j'active la fonction dans l'admin et que j'upload mon fichier sur le serveur = plus rien, j'ai pas mal cherché et pas grand chose au niveau de AMEN, mis a part ça:

RewriteEngine On RewriteRule ^$ /public/index.html [L] RewriteCond %{REQUEST_URI} !^/your_application/public

RewriteRule ^(.*)$ /public/$1 [L] RewriteCond %{REQUEST_FILENAME} !-f RewriteRule ^(.*)$ public/dispatch.fcgi/$1 [QSA,L]



bref je sais plus trop quoi faire, merci à vous.

Share this post


Link to post
Share on other sites
t'as lu ca ?

oui mais change rien, voilà mon fichier:

# URL rewriting module activation
RewriteEngine on

# URL rewriting rules
RewriteBase/
RewriteRule ^([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]

# Catch 404 errors
ErrorDocument 404 /404.php

AuthPAM_Enabled off
AuthGroupFile /dev/null
AuthType Basic
require valid-user

RewriteBase / 




J'ai suivi à la lettre une seconde fois GENERATOR et ça fonctionne :ohh:

Share this post


Link to post
Share on other sites

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
Sign in to follow this  

×
×
  • Create New...

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More