Hallo meine Freunde,
seit zwei Tagen hänge ich daran, den Oxid eShop (Community Edition) zu installieren. Hauptproblem: Das mod_rewrite Modul wurde nicht erkannt. Dabei ist das Modul geladen laut phpinfo().
Vermutlich ist das Modul doch nicht richtig eingebunden?
Wenn ich den Vorgaben aus dem Ubuntuuserswiki folge, und eine Regel definiere bringt er zwar keine Fehler beim Laden, aber beim klicken auf einen Link kommt "Not Found" Die in .htacces definierte Regel lautet:
1 | RewriteRule ([^/]*).html$rewrite.php?link=$1[L] |
(Quelle: http://www.webune.com/tutorials/mod_rewrite/rewrite.php)
Die rewrite.php sieht wie folgt aus:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 | <h2 align=center> <?php // mod_rewrite Test Page // Copyright 2006 Webune.com if($_GET['link']==1){echo"You are not using mod_rewrite";} elseif($_GET['link']==2){ echo"Congratulations!! You are using Apache mod_rewrite"; } else{ echo"Linux Apache mod_rewrte Test Tutorial"; } ?> </h2> <hr> <head> <title>How To Test mod_rewrite in Apache Linux Server</title> </head> <body> <p align="center">by <a href="http://www.webune.com">Webune</a></p> <p><a href="rewrite.php?link=1">LINK1</a> = rewrite.php?link=1</p> <p><a href="link.html">LINK2</a> = link2.html</p> <p>How this works: both links are for this same page, except they both are different. link one is without the mod_rewrite and link2 is using mod_rewrite. Link1 show the php file, with with mod_rewrite we are mascarading the php file into a html file. you can use whatever type of extension you want, you can change it to .htm or .shtml etc... all you have to do is to make sure you also chang it in the .htaccess file</p> <p><< <a href="http://www.webune.com/forums/viewtopic-p-62.html">Go back to webune forums.</a></p> </body> </html> |
Evtl. weiß ja jemand, woran es liegt. Vermutlich ein typisch Fehler, der auf mangelndes Basiswissen zurückzuführen ist 😉
Über eure Hilfe/Hinweise würde ich mich freuen.
MfG Kurdder
Achja: Es läuft der Apache 2.2.22 Build vom 15. Juli 2013 und PHP 5.4.9 in der aktuellsten Version. Sind weitere angaben von nöten?