ReRoute

S

Samuël van Laere

I've got a couple of images on my website,
that are placed in the root of my webspace.
These images are needed by some sites, other then mine.
I would like to move those images to a directory,
and then reroute requests for these images to the directory containing them.

Is it possible to catch a request for "myimage.jpg"
and then reroute it to "mydirectory/myimage.jpg"?

Thanks in advance for hints, tips.

Cheers,
Sam
 
J

Jonathan N. Little

Samuël van Laere said:
I've got a couple of images on my website,
that are placed in the root of my webspace.
These images are needed by some sites, other then mine.
I would like to move those images to a directory,
and then reroute requests for these images to the directory containing them.

Is it possible to catch a request for "myimage.jpg"
and then reroute it to "mydirectory/myimage.jpg"?

Thanks in advance for hints, tips.
if you are running Apache, then Google mod_rewrite.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,432
Messages
2,571,680
Members
48,796
Latest member
Greg L.

Latest Threads

Top