htaccess Elite

.htaccess tutorial


All times are UTC [ DST ]





Post new topic Reply to topic  [ 1 post ] 
Author Message
 Post subject: Dynamic Image Work Around??
PostPosted: 22 Jul 2008 17:29 
Offline

Joined: 22 Jul 2008 16:56
Posts: 1
I'm trying to work around a few websites that will not allow dynamic image calls. I have seen this done using 301 redirects

There are 2 different sites I need to pull the dynamic images using 2 different formats. Using the redirect I want to call a static address on my domain and have it redirect to the dynamic address of the image server domain... and to add a kink in this I will be using my friends website, so I'm not sure if he has mod_rewrite.c so I would like to get this done using both the mod_rewrite.c and mod_alias RedirectMatch if it can be done in both. I'm working on the assumption of a blank .htaccess file :)

FORMAT #1
Logo - Can be a 1 or 2
UserID - is a alpha numeric id
Personal Text - is some text that will get added to the image when its created
of course the " 's need to be removed :)

Static Address
http://MyDomain.com/StatBar/"Logo"/"UserID"/"Personal Text".jpg

Redirect To
http://StatImageDomain.com/stats/img.aspx?txt="Personal+Text"&uid="UserID"&bg="Logo"


FORMAT #2
UserID - just numeric id

Static Address
http://MyDomain.com/WorldStat/"UserID".jpg

Redirect To
http://WorldStatImage.com/Stats/stat.aspx?id="UserID"


Thank you in advance for all the insight you will provide
SprayPaint


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 

All times are UTC [ DST ]


Who is online

Users browsing this forum: No registered users and 9 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Powered by phpBB