[snip]
struggling with the following:
I have an URL
www.mycompany.com/index.php?id=10&a=1&b=2&c=3
What I want to do is using mod_rewrite have
www.mycompany.com/10/?a=1&b=2&c=3
Have tried the following rewrite rules in .htaccess
RewriteEngine on
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_URI} ^/([0-9]*)/\?(.+)$
RewriteRule ^([0-9]*)/\?(.+)$ get.php?id=$1&$2 [L]
But this doesnt work, something's wrong with "?", because if
I put in rule any alphabetical character, for example "Z" then
www.mycompany.com/10/Za=1&b=2&c=3 works fine
[/snip]
a. Have you sent this to an Apache list?
2. I just almost cannot bring myself to say it, but this relates to PHP
how?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php