bonjour
Cela fait presque 1 mois que j'essaie de configurer le fichier .htaccess qui ne fonctionne pa!!
est- ce qu'une personne parmi vous tous pourrais me le corriger svp ?
dès que je le renomme en .htaccess erreur 500
autre probleme apres une validation d'annonce test je n'arrive pas à la lire !
url du site :
http://www.milleannonce.com
fichier d'origine vendu avec le script de petites annonces :
Options +FollowSymlinks
RewriteEngine On
RewriteRule ^([-]?[0-9]+)([-_][^/]*)?/annonces/([0-9]+)([-_][^/]*)?/([0-9]+)([-_][^/]*)?/([0-9]+)([-_][^/]*)?\.html /index.php?view=showad&adid=$7&cityid=$1 [QSA]
RewriteRule ^([-]?[0-9]+)([-_][^/]*)?/annonces/([0-9]+)([-_][^/]*)?/([0-9]+)([-_][^/]*)?/page([0-9]*)\.html /index.php?view=ads&catid=$3&subcatid=$5&cityid=$1&page=$7 [QSA]
RewriteRule ^([-]?[0-9]+)([-_][^/]*)?/annonces/([0-9]+)([-_][^/]*)?/([0-9]+)([-_][^/]*)? /index.php?view=ads&catid=$3&subcatid=$5&cityid=$1 [QSA]
RewriteRule ^([-]?[0-9]+)([-_][^/]*)?/annonces/([0-9]+)([-_][^/]*)?/page([0-9]*)\.html /index.php?view=ads&catid=$3&subcatid=0&&cityid=$1&page=$5 [L,QSA]
RewriteRule ^([-]?[0-9]+)([-_][^/]*)?/annonces/([0-9]+)([-_][^/]*)? /index.php?view=ads&catid=$3&cityid=$1 [QSA]
RewriteRule ^([-]?[0-9]+)([-_][^/]*)?/evenements(/(([0-9]+)-([0-9]+)-([0-9]+)))?/([0-9]+)([-_][^/]*)?\.html /index.php?view=showevent&date=$4&adid=$8&cityid=$1 [QSA]
RewriteRule ^([-]?[0-9]+)([-_][^/]*)?/evenements/(([0-9]+)-([0-9]+)-([0-9]+))/page([0-9]*)\.html /index.php?view=events&date=$3&cityid=$1&page=$7 [QSA]
RewriteRule ^([-]?[0-9]+)([-_][^/]*)?/evenements/(([0-9]+)-([0-9]+)-([0-9]+)) /index.php?view=events&date=$3&cityid=$1 [QSA]
RewriteRule ^([-]?[0-9]+)([-_][^/]*)?/evenements /index.php?view=events&cityid=$1 [QSA]
RewriteRule ^([-]?[0-9]+)([-_][^/]*)?/images/([^/]+)/([0-9]+)([-_][^/]*)?\.html /index.php?view=showimg&posterenc=$3&imgid=$4&cityid=$1 [QSA]
RewriteRule ^([-]?[0-9]+)([-_][^/]*)?/images/([^/]+)/page([0-9]+)\.html /index.php?view=imgs&posterenc=$3&cityid=$1&page=$4 [QSA]
RewriteRule ^([-]?[0-9]+)([-_][^/]*)?/images/page([0-9]+)\.html /index.php?view=imgs&cityid=$1&page=$3 [QSA]
RewriteRule ^([-]?[0-9]+)([-_][^/]*)?/images/([^/]+) /index.php?view=imgs&posterenc=$3&cityid=$1 [QSA]
RewriteRule ^([-]?[0-9]+)([-_][^/]*)?/images /index.php?view=imgs&cityid=$1 [QSA]
RewriteRule ^([-]?[0-9]+)([-_][^/]*)?/showpost/([0-9]+)([-_][^/]*)?\.html /index.php?view=showad&adid=$3&cityid=$1 [QSA]
RewriteRule ^([-]?[0-9]+)([-_][^/]*)?/showevent/([0-9]+)([-_][^/]*)?\.html /index.php?view=showevent&adid=$3&cityid=$1 [QSA]
RewriteRule ^([-]?[0-9]+)([-_][^/]*)?/showimage/([0-9]+)([-_][^/]*)?\.html /index.php?view=showimg&imgid=$3&cityid=$1 [QSA]
RewriteRule ^([-]?[0-9]+)([-_][^/]*)? /index.php?view=main&cityid=$1 [QSA]
RewriteRule ^([-]?[0-9]+)([-_][^/]*)? /index.php?view=main&cityid=$1 [QSA]
# RSS URLs
RewriteRule ^feed/annonces /rss.php?view=ads&cityid=0 [QSA]
RewriteRule ^feed/evenements /rss.php?view=events&cityid=0 [QSA]
RewriteRule ^feed/([-]?[0-9]+)([-_][^/]*)?/annonces/([0-9]+)([-_][^/]*)?/([0-9]+)([-_][^/]*)? /rss.php?view=ads&catid=$3&subcatid=$5&cityid=$1 [QSA]
RewriteRule ^feed/([-]?[0-9]+)([-_][^/]*)?/annonces/([0-9]+)([-_][^/]*)? /rss.php?view=ads&catid=$3&cityid=$1 [QSA]
RewriteRule ^feed/([-]?[0-9]+)([-_][^/]*)?/annonces /rss.php?view=ads&cityid=$1 [QSA]
RewriteRule ^feed/([-]?[0-9]+)([-_][^/]*)?/evenements/(([0-9]+)-([0-9]+)-([0-9]+)) /rss.php?view=events&date=$3&cityid=$1 [QSA]
RewriteRule ^feed/([-]?[0-9]+)([-_][^/]*)?/evenements /rss.php?view=events&cityid=$1 [QSA]
# Ads Vip
RewriteRule ^annonce-vip.html /ads_vip.php
# Ads promotion
RewriteRule ^annonce-promotion.html /ads_promotion.php