Rewrite mit 4.5

Hallo,

ich habe oxid 4.5 CE auf einem Debian 6.0 32-bit Testsystem installiert.

Allerdings wird der mod_rewrite nicht erkannt obwohl:


ap@oxid-4-5:~# ls /etc/apache2/mods-enabled/
alias.conf	      autoindex.conf  mime.conf		rewrite.load
alias.load	      autoindex.load  mime.load		setenvif.conf
auth_basic.load       cgi.load	      negotiation.conf	setenvif.load
authn_file.load       deflate.conf    negotiation.load	status.conf
authz_default.load    deflate.load    php5.conf		status.load
authz_groupfile.load  dir.conf	      php5.load
authz_host.load       dir.load	      reqtimeout.conf
authz_user.load       env.load	      reqtimeout.load

und

ap@oxid-4-5:~# a2enmod rewrite
Module rewrite already enabled

und

ap@oxid-4-5:~# cat /var/www/.htaccess
RewriteEngine On

auf meinem System erhalte ich dann halt dementsprechend:

Not Found

The requested URL /de/Bekleidung/Fashion/Accessoires/Kuyichi-Lederguertel-JEVER.html was not found on this server.
Apache/2.2.16 (Debian) Server at 192.168.1.171 Port 80

Damit ich Oxid installieren konnte habe ich der Datei oxsysrequire.php die public function checkRewrite so abgeändert das return 1; ist.

Gruß,

Hallo,

also ich habe jetzt diverse tests durchgeführt und bin zum Schluss gekommen das bei der oxid installation scheinbar etwas nicht so richtig geklappt hat.

Auf dem Server funktioniert mod_rewrite ohne Probleme.

Weiß jemand wo ich den inhalt von der .htaccess bekomme bzw. mit Oxid neuerstellen kann?

Gruß

Die .htaccess befindet sich im Installationspaket. Verändert werden muss nur die rewriteBase falls der Shop in einem Unterverzeichnis liegt (macht bei der Installation die Setuproutine). Könnte es sein dass du die .htaccess aus dem Installationspaket nicht mitkopiert hast?

Hi leofonic,

das war die Lösung, Mac osx ist ja ein unixodies Betriebssystem und .$datei ist versteckt…

Danke :slight_smile: