Hi,
I'm trying to integrate an helpdesk application into phpwcms but I'm failing on the rewrite parts (which I think I need to get it integrated).
i.e I need the following:
http://vhost1.domain.tld/?cmd=knowledge
rewritten or redirected to
http://vhost2.domain.tld/index.php?id=2,0,0,1,0,0
I have tried directives like
RewriteEngine On
RewriteRule ^/?cmd=knowledge(.*) http://vhost2.domain.tld/index.php?id=2,0,0,1,0,0
or
Redirect permanent /?cmd=knowledge http://vhost2.domain.tld/index.php?id=2,0,0,1,0,0
but no rewrite or redirect is done. Nothing in the errorlog, and the access log just shows the /?cmd=submit url.
I have tried reading up on apaches use of wildcards in mod_rewrite but can't seen to grasp it all.
Anyone with ideas how toget this to work?
Thanks,
-tsl-