[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: .htaccess question



* Gruessle (debian@orces.com) [031219 12:39]:
> 
> I have a lot of large files deep in directories berried
> like this:
> 
> http://myserver.com/shop/more/even/more/images/1-999/
> http://myserver.com/shop/more/even/more/images/1000-1999/
> http://myserver.com/shop/more/even/more/images/2000-2999/
> http://myserver.com/shop/more/even/more/images/10000-10999/
> etc.
> 
> What I like to do is move those files out to
> 
> http://myserver.com/images/1-999/
> http://myserver.com/images/1000-1999/
> http://myserver.com/images/2000-2999/
> http://myserver.com/images/10000-10999/
> etc.
> 
> The problem is that I am running oscommerce and oscommerce gets his
> image files from that location.
> 
> Is there a way I can use .htaccess to redirect oscommerce to get the
> files from the new location?
> If so how?
> Or is there a better solution?

Don't bother with HTTP redirects.  Just use a symlink.

good times,
Vineet
-- 
http://www.doorstop.net/
-- 
http://www.anti-dmca.org/	

Attachment: signature.asc
Description: Digital signature


Reply to: