Ich will mein V9 von RealScripts mit mod_rewirte bestücken. Nur will ichs erstma lokal testen etc. und das will irgendwie nicht. Ich habe das mit Leutz alles durchgeguckt aber das will einfach nicht. Das LoadModule von mod_rewrite ist ohne #, im IfModule wird der Engine gestartet und ne Log erstellt und im <Directory... hab ichs AllowOverride auf All stehen. Hier habt ihr mal meine .htacces und drunter meine rewrite.log (RewriteLog + RewriteLogLevel 9)
wenn ich php_info() ausführ, steht da nix von mod_rewrite...
// Edit:
Also wenn ich dann /v9/news/1/1 aufrufe bekomm ich ne 404er Seite...
Code:
RewriteEngine On RewriteRule ^/news/(.*)/(.*)$ index.php?page=news?id=$1&start=$2 RewriteRule ^news/(.*)/(.*)/$ index.php?page=news?id=$1&start=$2 RewriteRule ^/news/(.*)/(.*)/$ index.php?page=news?id=$1&start=$2
Code:
127.0.0.1 - - [06/Jun/2004:13:03:40 +0200] [localhost/sid#26bbf8][rid#6b3ec8/initial] (2) init rewrite engine with requested uri /v9/ 127.0.0.1 - - [06/Jun/2004:13:03:40 +0200] [localhost/sid#26bbf8][rid#6b3ec8/initial] (1) pass through /v9/ 127.0.0.1 - - [06/Jun/2004:13:03:40 +0200] [localhost/sid#26bbf8][rid#6b5fb8/subreq] (2) init rewrite engine with requested uri /v9/index.php 127.0.0.1 - - [06/Jun/2004:13:03:40 +0200] [localhost/sid#26bbf8][rid#6b5fb8/subreq] (1) pass through /v9/index.php 127.0.0.1 - - [06/Jun/2004:13:03:40 +0200] [localhost/sid#26bbf8][rid#6b5a18/initial/redir#1] (2) init rewrite engine with requested uri /php/php.exe/v9/index.php 127.0.0.1 - - [06/Jun/2004:13:03:40 +0200] [localhost/sid#26bbf8][rid#6b5a18/initial/redir#1] (1) pass through /php/php.exe/v9/index.php 127.0.0.1 - - [06/Jun/2004:13:03:40 +0200] [localhost/sid#26bbf8][rid#6b9fc8/subreq] (2) init rewrite engine with requested uri /v9/index.php 127.0.0.1 - - [06/Jun/2004:13:03:40 +0200] [localhost/sid#26bbf8][rid#6b9fc8/subreq] (1) pass through /v9/index.php 127.0.0.1 - - [06/Jun/2004:13:03:40 +0200] [localhost/sid#26bbf8][rid#6b7fc0/initial] (2) init rewrite engine with requested uri /v9/style.css 127.0.0.1 - - [06/Jun/2004:13:03:40 +0200] [localhost/sid#26bbf8][rid#6b7fc0/initial] (1) pass through /v9/style.css 127.0.0.1 - - [06/Jun/2004:13:03:40 +0200] [localhost/sid#26bbf8][rid#6b7fc0/initial] (2) init rewrite engine with requested uri /v9/code.js 127.0.0.1 - - [06/Jun/2004:13:03:40 +0200] [localhost/sid#26bbf8][rid#6b7fc0/initial] (1) pass through /v9/code.js 127.0.0.1 - - [06/Jun/2004:13:03:40 +0200] [localhost/sid#26bbf8][rid#6b7fc0/initial] (2) init rewrite engine with requested uri /v9/images/header.gif 127.0.0.1 - - [06/Jun/2004:13:03:40 +0200] [localhost/sid#26bbf8][rid#6b7fc0/initial] (1) pass through /v9/images/header.gif 127.0.0.1 - - [06/Jun/2004:13:03:40 +0200] [localhost/sid#26bbf8][rid#6b7fc0/initial] (2) init rewrite engine with requested uri /v9/images/search.gif 127.0.0.1 - - [06/Jun/2004:13:03:40 +0200] [localhost/sid#26bbf8][rid#6b7fc0/initial] (1) pass through /v9/images/search.gif 127.0.0.1 - - [06/Jun/2004:13:03:41 +0200] [localhost/sid#26bbf8][rid#6b7fc0/initial] (2) init rewrite engine with requested uri /v9/news/1/1/ 127.0.0.1 - - [06/Jun/2004:13:03:41 +0200] [localhost/sid#26bbf8][rid#6b7fc0/initial] (1) pass through /v9/news/1/1/ 127.0.0.1 - - [06/Jun/2004:13:03:43 +0200] [localhost/sid#26bbf8][rid#6b7fc0/initial] (2) init rewrite engine with requested uri /v9/news/1/1/ 127.0.0.1 - - [06/Jun/2004:13:03:43 +0200] [localhost/sid#26bbf8][rid#6b7fc0/initial] (1) pass through /v9/news/1/1/
// Edit:
Also wenn ich dann /v9/news/1/1 aufrufe bekomm ich ne 404er Seite...
Kommentar