Hi,
I am trying to use mod rewrite to take everything after the domain name in the url to then be parsed into variables and generate pages based on what is there. The problem is that image requests wont load because they go through the index page. So what im trying to do is redirect all image requests to a seperate server with:
rewriteRule ^([^.]+\.(gif|jpg))$ [P]
if i hit is with it redirects it. But when i do the folder/some page which loads page i want dynamically built all the images within it keep the link folder/some page and just add the locationn on the end of it for example:
folder/some page/images/test.jpg
Any help with how i can get the image requesst to go to the other server would be greatly appreciated.
Thanks
Live by the code, Die by the code!!
I am trying to use mod rewrite to take everything after the domain name in the url to then be parsed into variables and generate pages based on what is there. The problem is that image requests wont load because they go through the index page. So what im trying to do is redirect all image requests to a seperate server with:
rewriteRule ^([^.]+\.(gif|jpg))$ [P]
if i hit is with it redirects it. But when i do the folder/some page which loads page i want dynamically built all the images within it keep the link folder/some page and just add the locationn on the end of it for example:
folder/some page/images/test.jpg
Any help with how i can get the image requesst to go to the other server would be greatly appreciated.
Thanks
Live by the code, Die by the code!!