-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hallo Liste Ich versuche gerade ein Webportal mit Short-Urls zu versehen. Die Urls sind bisher parametrisiert nach dem Muster index.php?op=modload&file=index etc. und werden umgeschrieben, so dass sie aussehen, als ob man eine HTML-Seite aufruft. Damit der Link auch den richtigen Content findet, soll eine .HTACCESS-Datei dafür sorgen, dass die korrekten Links aufrufen werden. Leider gibt mir Apache2 (unter SuSE 9.0) einen internal Server-Error aus, sobald ich die .HTACCESS in das Verzeichnis stelle. Wo aber liegt darin der Fehler? Hier mal de Inhalt der .HTACCESS: [Anfang] Options FollowSymLinks RewriteEngine On RewriteRule ^index\.html$ index.php [L,NC,NS] # pncommerce RewriteRule ^shop-([^-]+).html$ \index.php?module=pncommerce&func=$1 [L,NC,NS] RewriteRule ^shop-([^-]+)-([^-]+)-([a-zA-Z0-9_]+).html$ \index.php?module=pncommerce&func=$1&$2=$3 [L,NC,NS] RewriteRule ^shop-([^-]+)-([^-]+)-([^-]+)-([^-]+)-([a-zA-Z0-9_]+).html$ \index.php?module=pncommerce&func=$1&$2=$3&$4=$5 [L,NC,NS] # Module (old style call) default action RewriteRule ^([^\+]+)\+main.html$ \modules.php?op=modload&name=$1&file=index [L,NC,NS] # Module (old style call) with just a req parameter RewriteRule ^([^\+]+)\+([a-zA-Z0-9_]+).html$ \modules.php?op=modload&name=$1&file=index&req=$2 [L,NC,NS] # Module (new style call) default action RewriteRule ^([^-]+)-main.html$ \index.php?module=$1&func=main [L,NC,NS] # Article Full Story with default parameters RewriteRule ^displayarticle([0-9]+).html$ \modules.php?op=modload&name=News&file=article&sid=$1&mode=thread&order=0&thold=0 [L,NC,NS] # Article Full Story with default parameters but mode specified RewriteRule ^displayarticle([0-9]+)-([^\.])+.html$ \modules.php?op=modload&name=News&file=article&sid=$1&mode=$2&order=0&thold=0 [L,NC,NS] # Send an email about an article RewriteRule ^sendarticle([0-9]+).html$ \modules.php?op=modload&name=Recommend_Us&file=index&req=FriendSend&sid=$1 [L,NC,NS] # Print an article RewriteRule ^printarticle([0-9]+).html$ \print.php?sid=$1 [L,NC,NS] # Content Express links for menus RewriteRule ^Content-([^-]+)-([0-9]+)-([0-9]+)-menu.html$ \index.php?module=ContentExpress&func=display&bid=$2&btitle=$1&meid=$3&ceid=-1 [L,NC,NS] # Content Express links RewriteRule ^Content-([^-]+)-([0-9]+)-([0-9]+)-([0-9]+).html$ \index.php?module=ContentExpress&func=display&bid=$2&btitle=$1&meid=$3&ceid=$4 [L,NC,NS] # List articles in a topic RewriteRule ^Topic([0-9]+).html$ \modules.php?op=modload&name=News&file=index&catid=&topic=$1 [L,NC,NS] # List all articles in a topic RewriteRule ^Topic([0-9]+)allstories.html$ \modules.php?op=modload&name=News&file=index&catid=&topic=$1&allstories=1 [L,NC,NS] # phpBB_14 with 5 parameters RewriteRule ^phpBB_14-([^-]+)-([^-]+)-([^-]+)-([^-]+)-([^-]+)-([^-]+)-([^-]+)-([^-]+)-([^-]+).html$ \modules.php?op=modload&name=phpBB_14&file=index&action=$1&$2=$3&$4=$5&$6=$7&$8=$9&$10=$11 [L,NC,NS] # phpBB_14 with 4 parameters RewriteRule ^phpBB_14-([^-]+)-([^-]+)-([^-]+)-([^-]+)-([^-]+)-([^-]+)-([^-]+).html$ \modules.php?op=modload&name=phpBB_14&file=index&action=$1&$2=$3&$4=$5&$6=$7&$8=$9 [L,NC,NS] # phpBB_14 with 3 parameters RewriteRule ^phpBB_14-([^-]+)-([^-]+)-([^-]+)-([^-]+)-([^-]+).html$ \modules.php?op=modload&name=phpBB_14&file=index&action=$1&$2=$3&$4=$5&$6=$7 [L,NC,NS] # phpBB_14 with 2 parameters RewriteRule ^phpBB_14-([^-]+)-([^-]+)-([^-]+).html$ \modules.php?op=modload&name=phpBB_14&file=index&action=$1&$2=$3&$4=$5 [L,NC,NS] # phpBB_14 with 1 parameter RewriteRule ^phpBB_14-([^-]+).html$ \modules.php?op=modload&name=phpBB_14&file=index&action=$1&$2=$3 [L,NC,NS] # phpBB_14 without parameter RewriteRule ^phpBB_14-([^-]+).html$ \modules.php?op=modload&name=phpBB_14&file=index&action=$1 [L,NC,NS] # postcontact impressum RewriteRule ^impressum.html$ \modules.php?op=modload&name=PostContact&file=index&mode=2 [L,NC,NS] # PostCalendar: See http:\\www.postcalendar.tv\displayarticle58.html RewriteRule ^PostCalendar-Search\.html$ \index.php?module=PostCalendar&func=search [L,NC] RewriteRule ^PostCalendar-AddEvent-([0-9]{2})-([0-9]{2})-([0-9] {4})\.html$ \index.php?module=PostCalendar&func=submit&tplview=&Date=$3$2$1 [L,NC] RewriteRule ^PostCalendar-event-([0-9]+)\.html$ \index.php?module=PostCalendar&func=view&Date=&tplview=&viewtype=details&eid=$1&print= [L,NC,NS] RewriteRule ^PostCalendar-([0-9]{2})-([0-9]{2})-([0-9] {4})-event-([0-9]+)\.html$ \index.php?module=PostCalendar&func=view&Date=$3$2$1&tplview=&viewtype=details&eid=$4&print= [L,NC,NS] RewriteRule ^PostCalendar-([0-9]{2})-([0-9]{2})-([0-9] {4})-([a-zA-Z_]+)-([0-9a-zA-Z_]+)\.html$ \index.php?module=PostCalendar&func=view&tplview=$5&viewtype=$4&Date=$3$2$1&pc_username=&pc_category=&pc_topic=&print= [L,NC,NS] RewriteRule ^PostCalendar-([0-9]{2})-([0-9]{2})-([0-9] {4})-([a-zA-Z_]+)\.html$ \index.php?module=PostCalendar&func=view&tplview=&viewtype=$4&Date=$3$2$1&pc_username=&pc_category=&pc_topic=&print= [L,NC,NS] RewriteRule ^PostCalendar-([0-9]{2})-([0-9]{2})-([0-9] {4})-([a-zA-Z_]+)\.html$ \index.php?module=PostCalendar&func=view&viewtype=$4&Date=$2\$1\$3 [L,NC] RewriteRule ^PostCalendar-([0-9]{2})-([0-9]{2})-([0-9]{4})\.html$ \index.php?module=PostCalendar&func=view&tplview=default&viewtype=month&Date=$3$2$1 [L,NC,NS] # Module (old style call) 5 parameters RewriteRule ^([^\+]+)\+([^-]+)-([^-]+)-([^-]+)-([^-]+)-([^-]+)-([^-]+)-([^-]+)-([^-]+)-([a-zA-Z0-9_]+).html$ \modules.php?op=modload&name=$1&file=$2&$3=$4&$5=$6&$7=$8&$9=$10 [L,NC,NS] # Module (old style call) 4 parameters RewriteRule ^([^\+]+)\+([^-]+)-([^-]+)-([^-]+)-([^-]+)-([^-]+)-([^-]+)-([a-zA-Z0-9_]+).html$ \modules.php?op=modload&name=$1&file=$2&$3=$4&$5=$6&$7=$8 [L,NC,NS] # Module (old style call) 3 parameters RewriteRule ^([^\+]+)\+([^-]+)-([^-]+)-([^-]+)-([^-]+)-([a-zA-Z0-9_]+).html$ \modules.php?op=modload&name=$1&file=$2&$3=$4&$5=$6 [L,NC,NS] # Module (new style call) 1 parameters RewriteRule ^([^\+]+)-([^-]+)-([^-]+)-([a-zA-Z0-9_]+).html$ \index.php?module=$1&func=$2&$3=$4 [L,NC,NS] # PagEd RewriteRule ^page-([1-9][0-9]*).html \index.php?name=PagEd&page_id=$1 [L,NC,NS] RewriteRule ^printpage-([1-9][0-9]*).html \modules.php?op=modload&name=PagEd&file=index&printerfriendly=1&page_id=$1 [L,NC,NS] RewriteRule ^pagetopic-([1-9][0-9]*).html \modules.php?op=modload&name=PagEd&file=index&topictoview=$1 [L,NC,NS] [ENDE] - -- Thorsten Körner |e-Commerce-Consulting |e-Commerce-Software Dannenkoppel 51 |http://www.123tk.com |Marketing-Software D-22391 Hamburg |Spezial-Hosting |Usability-Proof t.koerner@123tk.com |CMS / Redaktionssysteme|Beratung & Schulung -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (GNU/Linux) iD8DBQFAudmZs5R35vLkl/cRAu3rAJ4xo3bqbsz2gnwlDD/Q6NRRmo5jJACfaibZ O70tgBTHr98gQK6S66XTUt8= =bgCf -----END PGP SIGNATURE-----