Hi,
I'm trying to get Apache v1.3 (on windows) to redirect the url /parking/ to /parking.php but no matter what I do it keeps failing!
Here's my .htaccess file (in the document root): -
RewriteEngine on
Options +FollowSymlinks
RewriteBase /
RewriteRule parking/?$ parking.php
Here's the error log: -
(2) init rewrite engine with requested uri /parking/
(1) pass through /parking/
(3) [per-dir k:/easyphp/www/] add path-info postfix: k:/easyphp/www/parking -> k:/easyphp/www/parking/
(3) [per-dir k:/easyphp/www/] strip per-dir prefix: k:/easyphp/www/parking/ -> parking/
(3) [per-dir k:/easyphp/www/] applying pattern 'parking/?$' to uri 'parking/'
(2) [per-dir k:/easyphp/www/] rewrite parking/ -> parking.php
(3) [per-dir k:/easyphp/www/] add per-dir prefix: parking.php -> k:/easyphp/www/parking.php
(3) [per-dir k:/easyphp/www/] add per-dir prefix: k:/easyphp/www/parking.php -> k:/easyphp/www/k:/easyphp/www/parking.php
Any ideas why it's adding the per-dir prefix twice?
Thanks for any help!
James