mod_rewrite problem
Hejsa,Jeg har problemer med min .htaccess den effekturere ikke hvad jeg beder den om. Der sker ingenting når jeg ser på min show.php?id=12 fx.
Min Virtualhost sådan:
<VirtualHost *:80>
DocumentRoot /var/sites/xxx.dk/test
ServerName dev.xxx.dk
RewriteLog "/etc/apache2/rewrite.log"
RewriteLogLevel 9
<Directory /var/sites/akvarieviden.dk/test/>
Options Indexes FollowSymLinks MultiViews
AllowOverride All
Order allow,deny
allow from all
</Directory>
</VirtualHost>
Min .htaccess ser sådan her ud:
RewriteEngine on
RewriteRule ^show/([0-9]+)$ /show.php?id=$1
I min RewriteLog ser det sådan her ud:
X.X.X.X - - [07/May/2010:20:38:51 +0200] [www.xxx.dk/sid#217f18c0][rid#21a0cf98/initial] (3) [perdir /var/sites/xxx.dk/test/fisk/] strip per-dir prefix: /var/sites/xxx.dk/test/fisk/show.php -> show.php
X.X.X.X - - [07/May/2010:20:38:51 +0200] [www.xxx.dk/sid#217f18c0][rid#21a0cf98/initial] (3) [perdir /var/sites/xxx.dk/test/fisk/] applying pattern '^show/([0-9]+)$' to uri 'show.php'
X.X.X.X - - [07/May/2010:20:38:51 +0200] [www.xxx.dk/sid#217f18c0][rid#21a0cf98/initial] (1) [perdir /var/sites/xxx.dk/test/fisk/] pass through /var/sites/xxx.dk/test/fisk/show.php