html non authorisé apres etre passé a l'url rewriting

PHP-Nuke France - CE -> Référencement - URL Rewrittin - Google

Auteur: fozen MessagePosté le: 19.09.2004, 20:45:26    Sujet du message: html non authorisé apres etre passé a l'url rewriting

Bonjour,

j'ai fais l'url rewriting de mon site. tout marche presque bien.
mon problème vient d'une page d'erreur (que je n'avais encore jamais vu nul part !!!)

les pages topics1.html topics2.html topicsN.html renvoient toute sur une page qui comporte:
une bannière phpnuke
et le message suivant :
Citation:
The html tags you attempted to use are not allowed

Go Back


cette page marchait tres bien avant et est devenue innacessible depuis l'url rewriting. le problème n'existe que lorsque j'essaye d'y acceder en cliquant sur le logo du sujet d'une news

avez vous une idée?

Auteur: FBLocalisation: Gradignan (33) MessagePosté le: 19.09.2004, 21:36:07    Sujet du message:

Bonjour,

Il y a certainement un problème dans tes ré-écritures. peux-tu copier les lignes correspondantes de ton .htaccess et de ton addon GTAP dans ton header.php ?

(c'est en principe la 3° ligne de tes tableaux $urlin = array( et $urlout = array(.)

Auteur: fozen MessagePosté le: 19.09.2004, 23:55:49    Sujet du message:

le .htaccess
Code:

RewriteEngine On

RewriteRule ^index.html /index.php


#Articles
RewriteRule ^article([1-9][0-9]*).html$ /modules.php?name=News&file=article&sid=$1 [QSA,L]
RewriteRule ^article([1-9][0-9]*).html$ /modules.php?name=News&file=article&sid=$1&mode=$2("der=$3&thold=$4  [QSA,L]
RewriteRule ^topic([1-9][0-9]*)-([0-9]*).html$ /modules.php?name=News`"w_topic=$1&pagenum=$2   [QSA,L]
RewriteRule ^topic([1-9][0-9]*).html$ /modules.php?name=News`"w_topic=$1   [QSA,L]
RewriteRule ^cat([1-9][0-9]*)-([0-9]*).html$ /modules.php?name=News&file=categories&op=newindex&catid=$1&pagenum=$2 [QSA,L]
RewriteRule ^cat([1-9][0-9]*).html$ /modules.php?name=News&file=categories&op=newindex&catid=$1 [QSA,L]
RewriteRule ^cat([1-9][0-9]*)-([0-9]*).html$ /modules.php?name=News&file=article&op=newindex&catid=$1&pagenum=$2 [QSA,L]
RewriteRule ^cat([1-9][0-9]*).html$ /modules.php?name=News&file=article&op=newindex&catid=$1 [QSA,L]
RewriteRule ^printout([1-9][0-9]*).html$ /modules.php?name=News&file=print&sid=$1 [QSA,L]
RewriteRule ^newspage([1-9][0-9]*).html$ /modules.php?name=News&pagenum=$1 [QSA,L]
RewriteRule ^comment([0-9]*)-([0-9]*)-([0-9]*)([a-zA-Z0-9]*)([0-9]*)([/:|\s\-\'{}().&_0-9+=]*).html$ /modules.php?name=News&file=comments&op=showreply&tid=$1&sid=$2Àd=$3&mode=$4("der=$5&thold=$6 [QSA,L]
RewriteRule ^articles.html$ /modules.php?name=News&file=index   [QSA,L]

#Content
RewriteRule ^content-cat-([0-9]*).html$ /modules.php?name=Content&pa=list_pages_categories&cid=$1 [QSA,L]
RewriteRule ^contentid-([0-9]*)-page([0-9]*).html$ /modules.php?name=Content&pa=showpageÀd=$1&page=$2 [QSA,L]
RewriteRule ^contentid-([0-9]*).html$ /modules.php?name=Content&pa=showpageÀd=$1   [QSA,L]
RewriteRule ^content.html /modules.php?name=Content [QSA,L]

#Downloads
RewriteRule ^topdowns.html /modules.php?name=Downloads&d_op=TopRated [QSA,L]
RewriteRule ^topdowns-(1|5|10|25|50)-(num|percent).html$ /topdowns.html&ratenum=$1&ratetype=$2 [QSA,L]
RewriteRule ^popdowns.html /modules.php?name=Downloads&d_op=MostPopular [QSA,L]
RewriteRule ^popdowns-(1|5|10|25|50)-(num|percent).html$ /popdowns.html&ratenum=$1&ratetype=$2 [QSA,L]
RewriteRule ^newdowns.html /modules.php?name=Downloads&d_op=NewDownloads [QSA,L]
RewriteRule ^newdownsw-([0-9]*).html$ /modules.php?name=Downloads&d_op=NewDownloads`"wdownloadshowdays=$1   [QSA,L]
RewriteRule ^newdownsd-([0-9]*).html$ /modules.php?name=Downloads&d_op=NewDownloadsDate&selectdate=$1 [QSA,L]
RewriteRule ^downcat([0-9]*).html$ /modules.php?name=Downloads&d_op=viewdownload&cid=$1  [QSA,L]
RewriteRule ^downorder([0-9]*)-([a-zA-Z0-9]*).html$ /modules.php?name=Downloads&d_op=viedownload&cid=$1("derby=$2   [QSA,L]
RewriteRule ^downfile([0-9]*).zip /modules.php?name=Downloads&d_op=getit&lid=$1 [QSA,L]
RewriteRule ^downcat([0-9]*)-([a-zA-Z_]*).html$ /modules.php?name=Downloads&d_op=viewdownload&cid=$1("derby=$2 [QSA,L]
RewriteRule ^downcat([0-9]*)-([0-9]*)-([a-zA-Z0-9]*)-([0-9]*).html$ /modules.php?name=Downloads&d_op=viewdownload&cid=$1&min=$2("derby=$3&show=$4   [QSA,L]
RewriteRule ^downloads.html /modules.php?name=Downloads [QSA,L]

#Encyclopedia
RewriteRule ^dic([1-9][0-9]*)all([[a-zA-Z0-9]*).html$ /modules.php?name=Encyclopedia&op=terms&eid=$1<r=$2 [QSA,L]
RewriteRule ^term([1-9][0-9]*)-([1-9][0-9]*).html$ /modules.php?name=Encyclopedia&op=content&tid=$1&page=$2 [QSA,L]
RewriteRule ^term([1-9][0-9]*).html$ /modules.php?name=Encyclopedia&op=content&tid=$1 [QSA,L]
RewriteRule ^dic([1-9][0-9]*).html$ /modules.php?name=Encyclopedia&op=list_content&eid=$1 [QSA,L]
RewriteRule ^encyclopedia.html$ /modules.php?name=Encyclopedia&file=index [QSA,L]

#FAQ
RewriteRule ^faq.html /modules.php?name=FAQ&file=index [QSA,L]
RewriteRule ^faq-([a-zA-Z0-9+]*)-([0-9]*)-([a-zA-Z0-9+]*) /modules.php?name=FAQ&myfaq=$1&id_cat=$2&categories=$3 [QSA,L]

#Forums
#RewriteRule ^forums.html$ /modules.php?name=Forums&file=index   [QSA,L]
#RewriteRule ^forums.html$ /modules.php?name=Forums&file=index&mark=forums   [QSA,L]
#RewriteRule ^forcat([0-9]*).html$ /modules.php?name=Forums&file=index&c=$1 [QSA,L]
#RewriteRule ^forum([0-9]*).html$ /modules.php?name=Forums&file=viewforum&f=$1&mark=topic [QSA,L]
#RewriteRule ^viewforum([0-9]*)-([0-9]*)-([0-9]*).html$ /modules.php?name=Forums&file=viewforum&f=$1&topicdays=$2&start=$3 [QSA,L]
#RewriteRule ^forum([0-9]*).html$ /modules.php?name=Forums&file=viewforum&f=$1   [QSA,L]
#RewriteRule ^pretopic([0-9]*).html$ /modules.php?name=Forums&file=viewtopic&t=$1&view=previous [QSA,L]
#RewriteRule ^nextopic([0-9]*).html$ /modules.php?name=Forums&file=viewtopic&t=$1&view=next [QSA,L]
#RewriteRule ^watchtopic([0-9]*)-([0-9]*).html$ /modules.php?name=Forums&file=viewtopic&t=$1&watch=topic&start=$2 [QSA,L]
#RewriteRule ^unwatchtopic([0-9]*)-([0-9]*).html$ /modules.php?name=Forums&file=viewtopic&t=$1&unwatch=topic&start=$2 [QSA,L]
#RewriteRule ^fortopic([0-9]*)-([0-9]*)-([a-zA-Z]*)-([0-9]*).html$ /modules.php?name=Forums&file=viewtopic&t=$1&postdays=$2&postorder=$3&start=$4 [[QSA,L]
#RewriteRule ^fortopic([0-9]*)-([0-9]*).html$ /modules.php?name=Forums&file=viewtopic&t=$1&start=$2 [QSA,L]
#RewriteRule ^fortopic([0-9]*).html$ /modules.php?name=Forums&file=viewtopic&t=$1 [QSA,L]
#RewriteRule ^fortopic([0-9]*).html$ /modules.php?name=Forums&file=viewtopic&t=$1&highlight=$2   [QSA,L]
#RewriteRule ^fortopic([0-9]*).html$ /modules.php?name=Forums&file=viewtopic&t=$1&start=$2&postdays=$3&postorder=$4&highlight=$5 [QSA,L]
#RewriteRule ^author-([a-zA-Z0-9+=]*).html$ /modules.php?name=Forums&file=search&search_author=$1 [QSA,L]
#RewriteRule ^member-([a-zA-Z0-9+=]*)-([0-9]*).html$ /modules.php?name=Forums&file=profile&mode=$1&u=$2   [QSA,L]
#RewriteRule ^post([0-9]*).html$ /modules.php?name=Forums&file=viewtopic&p=$1&highlight=$2 [QSA,L]
#RewriteRule ^post([0-9]*).html$ /modules.php?name=Forums&file=viewtopic&p=$1 [QSA,L]

#Members
RewriteRule ^members.html /modules.php?name=Members_List [QSA,L]
RewriteRule ^members.html /modules.php?name=Members_List&file=index [QSA,L]
RewriteRule ^members-mode([a-zA-Z0-9]*)-([a-zA-Z0-9]*)-([0-9]*).html$ /modules.php?name=Members_List&file=index&mode=$1("der=$2&start=$3 [QSA,L]

#Reviews
RewriteRule ^reviews.html /modules.php?name=Reviews [QSA,L]
RewriteRule ^review([0-9]*).html$ /modules.php?name=Reviews&rop=showcontent&id=$1 [QSA,L]
RewriteRule ^reviews-new.html /modules.php?name=Reviews&rop=write_review [QSA,L]
RewriteRule ^reviews-sortby-([a-zA-Z0-9]*).html$ /modules.php?name=Reviews&rop=$1 [QSA,L]
RewriteRule ^reviews-comment-([0-9]*)-([a-zA-Z0-9]*) /modules.php?name=Reviews&rop=postcomment&id=$1&title=$2 [QSA,L]
RewriteRule ^review([0-9]*)-delete.html /modules.php?name=Reviews&rop=del_review&id_del=$1 [QSA,L]
RewriteRule ^review([0-9]*)-del_comment([0-9]*).html$ /modules.php?name=Reviews&rop=del_comment&cid=$1&id=$2 [QSA,L]
RewriteRule ^review([0-9]*)-edit.html /modules.php?name=Reviews&rop=mod_review&id=$1 [QSA,L]

#Search
RewriteRule ^topic([0-9]*).html$ /modules.php?name=Search&topic=$1   [QSA,L]

#Sections
RewriteRule ^secart([0-9]*)-page([0-9]*).html$ /modules.php?name=Sections&op=viewarticle&artid=$1&page=$2 [QSA,L]
RewriteRule ^secart([0-9]*).html$ /modules.php?name=Sections&op=viewarticle&artid=$1 [QSA,L]
RewriteRule ^secartprint([0-9]*).html$ /modules.php?name=Sections&op=printpage&artid=$1 [QSA,L]
RewriteRule ^section([0-9]*).html$ /modules.php?name=Sections&op=listarticles&secid=$1 [QSA,L]
RewriteRule ^sections.html /modules.php?name=Sections [QSA,L]

#Stories Archive
RewriteRule ^journal.html /modules.php?name=Stories_Archive [QSA,L]
RewriteRule ^allarticles.html /modules.php?name=Stories_Archive&sa=show_all[QSA,L]
RewriteRule ^allarticles-([0-9]*).html$ /modules.php?name=Stories_Archive&sa=show_all&min=$1 [QSA,L]
RewriteRule ^issue([0-9]*)-([0-9]*).html$ /modules.php?name=Stories_Archive&sa=show_month&year=$1&month=$2&month_l=$3 [QSA,L]

#Surveys
RewriteRule ^surveys.html /modules.php?name=Surveys [QSA,L]
RewriteRule ^survey([0-9]*)-results.html /modules.php?name=Surveys&op=results&pollID=$1 [QSA,L]
RewriteRule ^survey([0-9]*).html$ /modules.php?name=Surveys&pollID=$1 [QSA,L]
RewriteRule ^viewreply([0-9]*)-sur([0-9]*)-com([0-9]*)-mode([a-zA-Z0-9]*)-ord([0-9]*)-tre([0-9]*).html$ /modules.php?name=Surveys&file=comments&op=showreply&tid=$1&pollID=$2Àd=$3&mode=$4("der=$5&thold=$6 [QSA,L]
RewriteRule ^recom([0-9]*)-sur([0-9]*)-mode([a-zA-Z0-9]*)-ord([0-9]*)-tre([0-9]*).html$ /modules.php?name=Surveys&file=comments&op=ReplyÀd=$1&pollID=$2&mode=$3("der=$4&thold=$5   [QSA,L]
RewriteRule ^commentsurvey([0-9]*)-post([0-9]*).html$ /modules.php?name=Surveys&file=comments&pollID=$1Àd=$2 [QSA,L]
RewriteRule ^commentsurvey.html /modules.php?name=Surveys&file=comments [QSA,L]

#Top10
RewriteRule ^top.html /modules.php?name=Top [QSA,L]

#Topics
RewriteRule ^topics.html /modules.php?name=Topics [QSA,L]

#WebChat
RewriteRule ^chat /modules.php?name=WebChat [QSA,L]

#Web Links
RewriteRule ^addlink.html /modules.php?name=Web_Links&l_op=AddLink   [QSA,L]
RewriteRule ^randomlink.html /modules.php?name=Web_Links&l_op=RandomLink [QSA,L]
RewriteRule ^toplinks.html /modules.php?name=Web_Links&l_op=TopRated [QSA,L]
RewriteRule ^poplinks.html /modules.php?name=Web_Links&l_op=MostPopular  [QSA,L]
RewriteRule ^toplinks-(1|5|10|25|50)-(num|percent).html$ /toplinks.html&ratenum=$1&ratetype=$2 [QSA,L]
RewriteRule ^poplinks-(1|5|10|25|50)-(num|percent).html$ /poplinks.html&ratenum=$1&ratetype=$2 [QSA,L]
RewriteRule ^newlinks.html /modules.php?name=Web_Links&l_op=NewLinks [QSA,L]
RewriteRule ^newlinksw-([0-9]*).html$ /modules.php?name=Web_Links&l_op=NewLinks`"wlinkshowdays=$1 [QSA,L]
RewriteRule ^newlinksd-([0-9]*).html$ /modules.php?name=Web_Links&l_op=NewLinksDate&selectdate=$1 [QSA,L]
RewriteRule ^vlink([0-9]*).html$ /modules.php?name=Web_Links&l_op=visit&lid=$1 [QSA,L]
RewriteRule ^links([0-9]*).html$ /modules.php?name=Web_Links&l_op=viewlink&cid=$1 [QSA,L]
RewriteRule ^linkorder([0-9]*)-([a-zA-Z0-9]*).html$ /modules.php?name=Web_Links&l_op=viewlink&cid=$1("derby=$2   [QSA,L]
RewriteRule ^links([0-9]*)-([0-9]*)-([a-zA-Z0-9]*)-([0-9]*).html$ /modules.php?name=Web_Links&l_op=viewlink&cid=$1&min=$2("derby=$3&show=$4 [QSA,L]

#Your Account
RewriteRule ^userinfo-([/:|\s\-\'{}().&_a-zA-Z0-9+=_-]*).html$ /modules.php?name=Your_Account&op=userinfo&username=$1 [QSA,L]


le code du header :
Code:

function replace_for_mod_rewrite(&$s)
{
$urlin =
array(
/*001*/"'(?<!/)index.php'",
/*002*/"'(?<!/)modules.php\?name=News&amp;file=comments&amp;op=showreply&amp;tid=([0-9]*)&amp;sid=([0-9]*)&amp;pid=([0-9]*)&amp;mode=([a-zA-Z0-9+]*)&amp;order=([0-9]*)&amp;thold=([/:|\s\-\'{}().&_0-9+=]*)'",
/*003*/"'(?<!/)modules.php\?name=News&amp;file=categories&amp;op=newindex&amp;catid=([0-9]*)&amp;pagenum=([0-9]*)'",
/*004*/"'(?<!/)modules.php\?name=News&amp;file=categories&amp;op=newindex&amp;catid=([0-9]*)'",
/*005*/"'(?<!/)modules.php\?name=News&file=categories&op=newindex&catid=([0-9]*)'",
/*006*/"'(?<!/)modules.php\?name=News&amp;file=article&amp;op=newindex&amp;catid=([0-9]*)&amp;pagenum=([0-9]*)'",
/*007*/"'(?<!/)modules.php\?name=News&amp;file=article&amp;op=newindex&amp;catid=([0-9]*)'",
/*008*/"'(?<!/)modules.php\?name=News&amp;op=newindex&amp;catid=([0-9]*)'",
/*009*/"'(?<!/)modules.php\?name=News&amp;file=article&amp;sid=([0-9]*)&amp;mode=([a-zA-Z0-9+]*)&amp;order=([0-9]*)&amp;thold=([/:|\s\-\'{}().&_0-9+=]*)'",
/*010*/"'(?<!/)modules.php\?name=News&amp;file=article&amp;sid=([0-9]*)'",
/*011*/"'(?<!/)modules.php\?name=News&file=article&sid=([0-9]*)'",
/*012*/"'(?<!/)modules.php\?name=News&amp;new_topic=([0-9]*)&amp;pagenum=([0-9]*)'",
/*013*/"'(?<!/)modules.php\?name=News&amp;new_topic=([0-9]*)'",
/*014*/"'(?<!/)modules.php\?name=News&new_topic=([0-9]*)'",
/*015*/"'(?<!/)modules.php\?name=News&amp;file=print&amp;sid=([0-9]*)'",
/*016*/"'(?<!/)modules.php\?name=News&amp;pagenum=([0-9]*)'",
/*017*/"'(?<!/)modules.php\?name=News&amp;file=index'",
/*018*/"'(?<!/)modules.php\?name=News&file=index'",
/*019*/"'(?<!/)modules.php\?name=Encyclopedia&amp;op=list_terms&amp;eid=([0-9]*)&amp;ltr=([a-zA-Z0-9]*)'",
/*020*/"'(?<!/)modules.php\?name=Encyclopedia&op=list_terms&eid=([0-9]*)&ltr=([a-zA-Z0-9]*)'",
/*021*/"'(?<!/)modules.php\?name=Encyclopedia&amp;op=content&amp;tid=([0-9]*)&amp;page=([0-9]*)'",
/*022*/"'(?<!/)modules.php\?name=Encyclopedia&op=content&tid=([0-9]*)&page=([0-9]*)'",
/*023*/"'(?<!/)modules.php\?name=Encyclopedia&amp;op=content&amp;tid=([0-9]*)'",
/*024*/"'(?<!/)modules.php\?name=Encyclopedia&op=content&tid=([0-9]*)'",
/*025*/"'(?<!/)modules.php\?name=Encyclopedia&amp;op=list_content&amp;eid=([0-9]*)'",
/*026*/"'(?<!/)modules.php\?name=Encyclopedia&op=list_content&eid=([0-9]*)'",
/*027*/"'(?<!/)modules.php\?name=Encyclopedia&amp;file=index'",
/*028*/"'(?<!/)modules.php\?name=Encyclopedia&file=index'",
/*029*/"'(?<!/)modules.php\?name=Content&amp;pa=list_pages_categories&amp;cid=([0-9]*)'",
/*030*/"'(?<!/)modules.php\?name=Content&amp;pa=showpage&amp;pid=([0-9]*)&amp;page=([0-9]*)'",
/*031*/"'(?<!/)modules.php\?name=Content&amp;pa=showpage&amp;pid=([0-9]*)'",
/*032*/"'(?<!/)modules.php\?name=Content'",
/*033*/"'(?<!/)modules.php\?name=FAQ&file=index'",
/*034*/"'(?<!/)modules.php\?name=FAQ&amp;myfaq=([a-zA-Z0-9+]*)&amp;id_cat=([0-9]*)&amp;categories=([a-zA-Z0-9+]*)'",
/*035*/"'(?<!/)modules.php\?name=Stories_Archive&sa=show_month&year=([0-9]*)&month=([0-9]*)&month_l=([a-ÿA-ß]*)'",
/*036*/"'(?<!/)modules.php\?name=Stories_Archive&sa=show_all&min=([0-9]*)'",
/*037*/"'(?<!/)modules.php\?name=Stories_Archive&sa=show_all'",
/*038*/"'(?<!/)modules.php\?name=Stories_Archive'",
/*039*/"'(?<!/)modules.php\?name=WebChat'",
/*040*/"'(?<!/)modules.php\?name=Downloads&d_op=TopRated'",
/*041*/"'(?<!/)topdowns.html&amp;ratenum=(1|5|10|25|50)&amp;ratetype=(num|percent)'",
/*042*/"'(?<!/)modules.php\?name=Downloads&d_op=MostPopular'",
/*043*/"'(?<!/)popdowns.html&amp;ratenum=(1|5|10|25|50)&amp;ratetype=(num|percent)'",
/*044*/"'(?<!/)modules.php\?name=Downloads&d_op=NewDownloads&amp;newdownloadshowdays=([0-9]*)'",
/*045*/"'(?<!/)modules.php\?name=Downloads&d_op=NewDownloadsDate&amp;selectdate=([0-9]*)'",
/*046*/"'(?<!/)modules.php\?name=Downloads&d_op=NewDownloads'",
/*047*/"'(?<!/)modules.php\?name=Downloads&d_op=getit&amp;lid=([0-9]*)'",
/*048*/"'(?<!/)modules.php\?name=Downloads&d_op=viewdownload&amp;cid=([0-9]*)&amp;orderby=([a-zA-Z0-9]*)'",
/*049*/"'(?<!/)modules.php\?name=Downloads&d_op=viewdownload&amp;cid=([0-9]*)&amp;min=([0-9]*)&amp;orderby=([a-zA-Z0-9]*)&amp;show=([0-9]*)'",
/*050*/"'(?<!/)modules.php\?name=Downloads&d_op=viewdownload&amp;cid=([0-9]*)'",
/*051*/"'(?<!/)modules.php\?name=(Downloads\")'",
/*052*/"'(?<!/)modules.php\?name=NukeJokes&func=JokeView&jokeid=([1-9][0-9]*)'",
/*053*/"'(?<!/)modules.php\?name=NukeJokes&func=CatView&cat=([1-9][0-9]*)'",
/*054*/"'(?<!/)modules.php\?name=NukeJokes&file=index'",
/*055*/"'(?<!/)modules.php\?name=Reviews&rop=showcontent&amp;id=([0-9]*)'",
/*056*/"'(?<!/)modules.php\?name=Reviews&rop=write_review'",
/*057*/"'(?<!/)modules.php\?name=Reviews&rop=postcomment&amp;id=([0-9]*)&amp;title=([a-zA-Z0-9+]*)'",
/*058*/"'(?<!/)modules.php\?name=Reviews&rop=mod_review&amp;id=([0-9]*)'",
/*059*/"'(?<!/)modules.php\?name=Reviews&rop=del_review&amp;id_del=([0-9]*)'",
/*060*/"'(?<!/)modules.php\?name=Reviews&rop=del_comment&amp;cid=([0-9]*)&amp;id=([0-9]*)'",
/*061*/"'(?<!/)modules.php\?name=Reviews&rop=([a-zA-Z0-9]*)'",
/*062*/"'(?<!/)modules.php\?name=Reviews'",
/*063*/"'(?<!/)modules.php\?name=Sections&op=viewarticle&amp;artid=([0-9]*)&amp;page=([0-9]*)'",
/*064*/"'(?<!/)modules.php\?name=Sections&op=viewarticle&artid=([0-9]*)&page=([0-9]*)'",
/*065*/"'(?<!/)modules.php\?name=Sections&op=viewarticle&artid=([0-9]*)'",
/*066*/"'(?<!/)modules.php\?name=Sections&op=printpage&artid=([0-9]*)'",
/*067*/"'(?<!/)modules.php\?name=Sections&op=printpage&amp;artid=([0-9]*)'",
/*068*/"'(?<!/)modules.php\?name=Sections&op=listarticles&amp;secid=([0-9]*)'",
/*069*/"'(?<!/)modules.php\?name=Sections&op=listarticles&secid=([0-9]*)'",
/*070*/"'(?<!/)modules.php\?name=Sections'",
/*071*/"'(?<!/)modules.php\?name=Search&topic=([0-9]*)'",
/*072*/"'(?<!/)modules.php\?name=Search&amp;topic=([0-9]*)'",
/*073*/"'(?<!/)modules.php\?name=Surveys&amp;pollID=([0-9]*)'",
/*074*/"'(?<!/)modules.php\?name=Surveys&op=results&pollID=([0-9]*)'",
/*075*/"'(?<!/)modules.php\?name=Surveys&amp;op=results&amp;pollID=([0-9]*)'",
/*076*/"'(?<!/)modules.php\?name=Surveys&amp;file=comments&amp;op=Reply&pid=([0-9]*)&pollID=([0-9]*)&mode=([a-zA-Z0-9+]*)&order=([0-9]*)&thold=([0-9]*)'",
/*077*/"'(?<!/)modules.php\?name=Surveys&amp;file=comments&amp;op=Reply&amp;pid=([0-9]*)&amp;pollID=([0-9]*)&amp;mode=([a-zA-Z0-9+]*)&amp;order=([0-9]*)&amp;thold=([0-9]*)'",
/*078*/"'(?<!/)modules.php\?name=Surveys&amp;file=comments&amp;op=showreply&tid=([0-9]*)&pollID=([0-9]*)&pid=([0-9]*)&mode=([a-zA-Z0-9+]*)&order=([0-9]*)&thold=([0-9]*)'",
/*079*/"'(?<!/)modules.php\?name=Surveys&amp;file=comments&amp;pollID=([0-9]*)&amp;pid=([0-9]*)'",
/*080*/"'(?<!/)modules.php\?name=Surveys&amp;file=comments'",
/*081*/"'(?<!/)modules.php\?name=Surveys'",
/*082*/"'(?<!/)modules.php\?name=Topics'",
/*083*/"'(?<!/)modules.php\?name=Top'",
/*084*/"'(?<!/)modules.php\?name=Members_List&file=index&mode=([a-zA-Z0-9]*)&amp;order=([a-zA-Z0-9]*)&amp;start=([0-9]*)'",
/*085*/"'(?<!/)modules.php\?name=Members_List&file=index'",
/*086*/"'(?<!/)modules.php\?name=Members_List'",
#/*087*/"'(?<!/)modules.php\?name=Forums&file=search&search_author=([a-zA-Z0-9+=]*)'",
#/*088*/"'(?<!/)modules.php\?name=Forums&file=profile&mode=([a-zA-Z0-9+=]*)&amp;u=([0-9]*)'",
#/*089*/"'(?<!/)modules.php\?name=Forums&amp;file=profile&amp;mode=([a-zA-Z0-9+=]*)&amp;u=([0-9]*)'",
#/*090*/"'(?<!/)modules.php\?name=Forums&file=viewforum&f=([0-9]*)&amp;topicdays=([0-9]*)&amp;start=([0-9]*)'",
#/*091*/"'(?<!/)modules.php\?name=Forums&file=viewforum&f=([0-9]*)&amp;mark=topics'",
#/*092*/"'(?<!/)modules.php\?name=Forums&file=viewforum&f=([0-9]*)'",
#/*093*/"'(?<!/)modules.php\?name=Forums&amp;file=viewforum&amp;f=([0-9]*)'",
#/*094*/"'(?<!/)modules.php\?name=Forums&file=viewtopic&t=([0-9]*)&amp;view=previous'",
#/*095*/"'(?<!/)modules.php\?name=Forums&file=viewtopic&t=([0-9]*)&amp;view=next'",
#/*096*/"'(?<!/)modules.php\?name=Forums&file=viewtopic&t=([0-9]*)&amp;postdays=([0-9]*)&amp;postorder=([a-zA-Z]*)&amp;start=([0-9]*)'",
#/*097*/"'(?<!/)modules.php\?name=Forums&file=viewtopic&t=([0-9]*)&amp;start=([0-9]*)&amp;postdays=([0-9]*)&amp;postorder=([a-zA-Z]*)&amp;highlight=([a-zA-Z0-9]*)'",
#/*098*/"'(?<!/)modules.php\?name=Forums&file=viewtopic&t=([0-9]*)&amp;start=([0-9]*)'",
#/*099*/"'(?<!/)modules.php\?name=Forums&file=viewtopic&t=([0-9]*)&amp;watch=topic&amp;start=([0-9]*)'",
#/*100*/"'(?<!/)modules.php\?name=Forums&file=viewtopic&t=([0-9]*)&amp;unwatch=topic&amp;start=([0-9]*)'",
#/*101*/"'(?<!/)modules.php\?name=Forums&file=viewtopic&t=([0-9]*)&amp;highlight=([a-zA-Z0-9]*)'",
#/*102*/"'(?<!/)modules.php\?name=Forums&file=viewtopic&t=([0-9]*)'",
#/*103*/"'(?<!/)modules.php\?name=Forums&file=viewtopic&p=([0-9]*)&amp;highlight=([a-zA-Z0-9]*)'",
#/*104*/"'(?<!/)modules.php\?name=Forums&amp;file=viewtopic&amp;p=([0-9]*)'",
#/*105*/"'(?<!/)modules.php\?name=Forums&file=viewtopic&p=([0-9]*)'",
#/*106*/"'(?<!/)modules.php\?name=Forums&file=index&c=([0-9]*)'",
#/*107*/"'(?<!/)modules.php\?name=Forums&file=index&mark=forums'",
#/*108*/"'(?<!/)modules.php\?name=Forums&amp;file=index'",
#/*109*/"'(?<!/)modules.php\?name=Forums&file=index'",
/*110*/"'(?<!/)modules.php\?name=Web_Links&l_op=AddLink'",
/*111*/"'(?<!/)modules.php\?name=Web_Links&l_op=RandomLink'",
/*112*/"'(?<!/)modules.php\?name=Web_Links&l_op=TopRated'",
/*113*/"'(?<!/)modules.php\?name=Web_Links&l_op=MostPopular'",
/*114*/"'(?<!/)toplinks.html&amp;ratenum=(1|5|10|25|50)&amp;ratetype=(num|percent)'",
/*115*/"'(?<!/)poplinks.html&amp;ratenum=(1|5|10|25|50)&amp;ratetype=(num|percent)'",
/*116*/"'(?<!/)modules.php\?name=Web_Links&l_op=NewLinks&amp;newlinkshowdays=([0-9]*)'",
/*117*/"'(?<!/)modules.php\?name=Web_Links&l_op=NewLinksDate&amp;selectdate=([0-9]*)'",
/*118*/"'(?<!/)modules.php\?name=Web_Links&l_op=NewLinks'",
/*119*/"'(?<!/)modules.php\?name=Web_Links&l_op=visit&amp;lid=([0-9]*)'",
/*120*/"'(?<!/)modules.php\?name=Web_Links&l_op=viewlink&amp;cid=([0-9]*)&amp;orderby=([a-zA-Z0-9]*)'",
/*121*/"'(?<!/)modules.php\?name=Web_Links&l_op=viewlink&amp;cid=([0-9]*)&amp;min=([0-9]*)&amp;orderby=([a-zA-Z0-9]*)&amp;show=([0-9]*)'",
/*122*/"'(?<!/)modules.php\?name=Web_Links&l_op=viewlink&amp;cid=([0-9]*)'",
/*123*/"'(?<!/)modules.php\?name=Your_Account&op=userinfo&username=([/:|\s\-\'{}().&_a-zA-Z0-9+=]*)'",
/*124*/"'(?<!/)modules.php\?name=Your_Account&amp;op=userinfo&username=([/:|\s\-\'{}().&_a-zA-Z0-9+=]*)'",
/*125*/"'(?<!/)modules.php\?name=Your_Account&amp;op=userinfo&amp;username=([/:|\s\-\'{}().&_a-zA-Z0-9+=_-]*)'"
);

$urlout = array(
/*001*/"index.html",
/*002*/"comment\\1-\\2-\\3\\4\\5\\6.html",
/*003*/"cat\\1-\\2.html",
/*004*/"cat\\1.html",
/*005*/"cat\\1.html",
/*006*/"cat\\1-\\2.html",
/*007*/"cat\\1.html",
/*008*/"cat\\1.html",
/*009*/"article\\1.html",
/*010*/"article\\1.html",
/*011*/"article\\1.html",
/*012*/"topic\\1-\\2.html",
/*013*/"topic\\1.html",
/*014*/"topic\\1.html",
/*015*/"printout\\1.html",
/*016*/"newspage\\1.html",
/*017*/"articles",
/*018*/"articles",
/*019*/"dic\\1all\\2.html",
/*020*/"dic\\1all\\2.html",
/*021*/"term\\1-\\2.html",
/*022*/"term\\1-\\2.html",
/*023*/"term\\1.html",
/*024*/"term\\1.html",
/*025*/"dic\\1.html",
/*026*/"dic\\1.html",
/*027*/"encyclopedia.html",
/*028*/"encyclopedia.html",
/*029*/"content-cat-\\1.html",
/*030*/"contentid-\\1-page\\2.html",
/*031*/"contentid-\\1.html",
/*032*/"content.html",
/*033*/"faq.html",
/*034*/"faq-\\1-\\2-\\3",
/*035*/"issue\\1-\\2.html",
/*036*/"allarticles-\\1.html",
/*037*/"allarticles.html",
/*038*/"journal.html",
/*039*/"chat.html",
/*040*/"topdowns.html",
/*041*/"topdowns-\\1-\\2.html",
/*042*/"popdowns.html",
/*043*/"popdowns-\\1-\\2.html",
/*044*/"newdownsw-\\1.html",
/*045*/"newdownsd-\\1.html",
/*046*/"newdowns.html",
/*047*/"downfile\\1",
/*048*/"downorder\\1-\\2.html",
/*049*/"downcat\\1-\\2-\\3-\\4.html",
/*050*/"downcat\\1.html",
/*051*/"downloads.html\"",
/*052*/"jokeid-\\1.html",
/*053*/"jokecat-\\1.html",
/*054*/"anecdota.html",
/*055*/"review\\1.html",
/*056*/"reviews-new.html",
/*057*/"reviews-comment-\\1-\\2",
/*058*/"review\\1-edit.html",
/*059*/"review\\1-delete.html",
/*060*/"review\\1-del_comment\\2.html",
/*061*/"reviews-sortby-\\1.html",
/*062*/"reviews.html",
/*063*/"secart\\1-page\\2.html",
/*064*/"secart\\1-page\\2.html",
/*065*/"secart\\1.html",
/*066*/"secartprint\\1.html",
/*067*/"secartprint\\1.html",
/*068*/"section\\1.html",
/*069*/"section\\1.html",
/*070*/"sections.html",
/*071*/"topic\\1.html",
/*072*/"topic\\1.html",
/*073*/"survey\\1.html",
/*074*/"survey\\1-results.html", 
/*075*/"survey\\1-results.html",
/*076*/"recom\\1-sur\\2-mode\\3-ord\\4-tre\\5.html",
/*077*/"recom\\1-sur\\2-mode\\3-ord\\4-tre\\5.html",
/*078*/"viewreply\\1-sur\\2-com\\3-mode\\4-ord\\5-tre\\6.html",
/*079*/"commentsurvey\\1-post\\2.html",
/*080*/"commentsurvey.html",
/*081*/"surveys.html",
/*082*/"topics.html",
/*083*/"top.html",
/*084*/"members-mode\\1-\\2-\\3.html",
/*085*/"members.html",
/*086*/"members.html",
#/*087*/"author-\\1.html",
#/*088*/"member-\\1-\\2.html",
#/*089*/"member-\\1-\\2.html",
#/*090*/"viewforum\\1-\\2-\\3.html",
#/*091*/"forum\\1.html",
#/*092*/"forum\\1.html",
#/*093*/"forum\\1.html",
#/*094*/"pretopic\\1.html",
#/*095*/"nextopic\\1.html",
#/*096*/"fortopic\\1-\\2-\\3-\\4.html",
#/*097*/"fortopic\\1.html",
#/*098*/"fortopic\\1-\\2.html",
#/*099*/"watchtopic\\1-\\2.html",
#/*100*/"unwatchtopic\\1-\\2.html",
#/*101*/"fortopic\\1.html",
#/*102*/"fortopic\\1.html",
#/*103*/"post\\1.html",
#/*104*/"post\\1.html",
#/*105*/"post\\1.html",
#/*106*/"forcat\\1.html",
#/*107*/"forums.html",
#/*108*/"forums.html",
#/*109*/"forums.html",
/*110*/"addlink.html",
/*111*/"randomlink.html",
/*112*/"toplinks.html",
/*113*/"poplinks.html",
/*114*/"toplinks-\\1-\\2.html",
/*115*/"poplinks-\\1-\\2.html",
/*116*/"newlinksw-\\1.html",
/*117*/"newlinksd-\\1.html",
/*118*/"newlinks.html",
/*119*/"vlink\\1.html",
/*120*/"linkorder\\1-\\2.html",
/*121*/"links\\1-\\2-\\3-\\4.html",
/*122*/"links\\1.html",
/*123*/"userinfo-\\1.html",
/*124*/"userinfo-\\1.html",
/*125*/"userinfo-\\1.html"
);



il y a aussi un probleme avec le module forum, mais il vient du fait qu'il faut supprimer le $sid=XXXXXXXXXXXXXXXXX qui se glisse apres les pages html donc son url rewritting est désactivée. tous les correctifs donnés sur le forum de phpbb ont été testé mais rien ne marche
(la je glisse une question hors sujet mais bon)

le ccode me parrait logique mais bon, moi je connait pas trop

merci a toi

Auteur: FBLocalisation: Gradignan (33) MessagePosté le: 20.09.2004, 22:20:54    Sujet du message:

J'en demandais pas tant !

Dans ton htaccess, 4° ligne (RewriteRule...) de la section #Articles, tu as :

Code:
RewriteRule ^topic([1-9][0-9]*).html$ /modules.php?name=News`"w_topic=$1   [QSA,L]


Ces `" n'ont rien à faire là ! Changes cette ligne en :

Code:
RewriteRule ^topic([1-9][0-9]*).html$ /modules.php?name=News&new_topic=$1   [QSA,L]


Il y a le même problème juste au dessus (3° ligne) => changes les `" par &ne ( -> ...name=News&new_topic=$1&pagenum=$2 )



PHP-Nuke France - CE -> Référencement - URL Rewrittin - Google

Toutes les heures sont au format GMT + 2 Heures

Page 1 sur 1


>> Fermer cette Page <<