WMIT
03-12-2005, 01:13 PM
Hi everyone.
i know this has been discussed before
i copied this from Sitami's post a while ago
RewriteEngine On
RewriteRule ^(http://www.mydomain.com)/([a-zA-Z0-9_]*)/? $1/outbound.php?oblid=$2
in outbound.php it queries the db for the url to redircect to and then redirects using the header("Location :" .$result['url'])
if i go to mydomain.com/outbound.php?oblid=1 then it works
but if i go to mydomain.com/1 nothing happens except a 404
the rewrite rule is turned on
any ideas will be welcomed
thanks
i know this has been discussed before
i copied this from Sitami's post a while ago
RewriteEngine On
RewriteRule ^(http://www.mydomain.com)/([a-zA-Z0-9_]*)/? $1/outbound.php?oblid=$2
in outbound.php it queries the db for the url to redircect to and then redirects using the header("Location :" .$result['url'])
if i go to mydomain.com/outbound.php?oblid=1 then it works
but if i go to mydomain.com/1 nothing happens except a 404
the rewrite rule is turned on
any ideas will be welcomed
thanks