serve an image not in the wwwroot

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

serve an image not in the wwwroot

Postby juglesh » Mon Nov 21, 2005 11:48 am

Hello, is it possible to serve an image from below or adjacent to the public_html folder?

like if i have
Code: Select all
<img src='dir/picture.jpg'>
can i get mod_rewrite and apache to change it to
Code: Select all
/home/user/otherDir/picture.jpg
and can it be served thusly?

thanks for your time,
juglesh
juglesh
 
Posts: 5
Joined: Mon Nov 21, 2005 11:38 am

Return to Beginner's Corner

Who is online

Users browsing this forum: No registered users and 33 guests

cron