trying to rewrite data to index.php on another domain

New to mod_rewrite? This is a good place to start.

trying to rewrite data to index.php on another domain

Postby fris » Thu Feb 23, 2006 12:08 pm

bascially i have an opendirectory of jpgs. so when they view the opendir and click on a .jpg i want it to open view.php on another domain which passes the data of id

RewriteRule ([0-9a-zA-z]+).jpg$ /view.php?id=$1

this works fine for the current domain

not sure how to do it, to make it work to parse the data across to another domain with view.php on it.
fris
 
Posts: 52
Joined: Thu Feb 23, 2006 12:05 pm

Return to Beginner's Corner

Who is online

Users browsing this forum: No registered users and 30 guests

cron