php - What is wrong in my .htaccess code? -
thank reading
i trying website working again. running on webhost in stead of virtual server. code below .htaccesss using currently.
<ifmodule mod_rewrite.c> rewriteengine on #rule imported rule 2 rewriterule ^error/(.*)$ error.php?p=$1 [] #rule imported rule 4 rewriterule ^administratie/backup/(.*)$ admin.php? p=dash&pagina=backup&table=$1 [] #rule imported rule 5 rewriterule ^administratie/chatlogs_popup/(.*)$ admin.php? p=chatlogs_popup&speler=$1 [] #rule imported rule 6 rewriterule ^administratie/berichtenbalk/verwijder/(.*)$ admin.php?p=dash&pagina=berichtenbalk&id=$1 [] #rule imported rule 7 rewriterule ^administratie/(.*)$ admin.php?p=dash&pagina=$1 [] #rule imported rule 8 rewriterule ^(.*)$ index.php?p=$1 [] #rule imported rule 9 rewriterule ^team/(.*)$ index.php?p=team&staff=$1 [] #rule imported rule 10 rewriterule ^forum/categorie/(.*)/topic/(.*)$ ./index.php?p=forum&id=$1&topic=$2 [] #rule imported rule 11 rewriterule ^forum/categorie/(.*)$ ./index.php?p=forum&id=$1 [] #rule imported rule 12 rewriterule ^helptool/ticket/(.*)$ ./index.php?p=helptool&id=$1 [] #rule imported rule 13 rewriterule ^helptool/(.*)$ ./index.php?p=helptool&pagina=$1 [] #rule imported rule 14 rewriterule ^groep_overzicht/favoriet/(.*)$ ./index.php?p=groep_overzicht&favo=$1 [] #rule imported rule 15 rewriterule ^groep_overzicht/wordlid/(.*)$ ./index.php?p=groep_overzicht&lid=$1 [] #rule imported rule 16 rewriterule ^bank/(.*)$ index.php?p=bank&rekening=$1 [] #rule imported rule 17 rewriterule ^nieuws/(.*)/p/(.*)$ ./index.php?p=nieuws&id=$1&pagina=$2 [] #rule imported rule 18 rewriterule ^nieuws/(.*)$ ./index.php?p=nieuws&id=$1 [] #rule imported rule 19 rewriterule ^pagina/(.*)/quote/(.*)$ ./index.php?p=pagina&naam=$1"e=$2 [] #rule imported rule 20 rewriterule ^pagina/(.*)$ ./index.php?p=pagina&naam=$1 [] #rule imported rule 21 rewriterule ^meldingen/id/(.*)$ ./index.php?p=meldingen&extra=id&id=$1 [] #rule imported rule 22 rewriterule ^minimail/(.*)$ ./index.php?p=minimail&extra=$1 [] #rule imported rule 23 rewriterule ^client/id/(.*)$ index.php?p=client&roomid=$1 [] #rule imported rule 24 rewriterule ^groups/(.*)/id$ ./index.php?p=groep&id=$1 [] #rule imported rule 25 rewriterule ^botsbeheer/(.*)$ ./index.php?p=botsbeheer&id=$1 [] </ifmodule>
it results in internal server error. don't know how can resolve this. able me this?
1st, remove brackets []
@ end of lines , spaces before ?
in rule 4. may be, result correct :)
Comments
Post a Comment