pugglewuggle
16 Jan 2007, 08:18 AM
Okay guys,
I am trying to figure out how to make my ASP.NET pages automatically look for image files on a different server with the same file structure. Here is my setup:
Web page server: www.site.com
Image server: www2.site.com
I run the web page server in my house over a DSL connection because I like to have full control over my scripts, access priveleges, etc. The image server is hosted and I want to use it just to store my images because they take forever to load over ADSL (my upload rate is something awful like 17 KBps).
Is there a way to put a script in an include file that will make all of the pages the script is included in recognize the images on the image host like they are in the same folder as the pages are in on the web page host?
All images are referred to as "/global/images/*.*" because of https security warnings if images aren't done this way or are not statically linked to the secured subdomain.
Is this the way to do it or am I just an idiot and am thinking in circles?
Thanks in advance!
JB
I am trying to figure out how to make my ASP.NET pages automatically look for image files on a different server with the same file structure. Here is my setup:
Web page server: www.site.com
Image server: www2.site.com
I run the web page server in my house over a DSL connection because I like to have full control over my scripts, access priveleges, etc. The image server is hosted and I want to use it just to store my images because they take forever to load over ADSL (my upload rate is something awful like 17 KBps).
Is there a way to put a script in an include file that will make all of the pages the script is included in recognize the images on the image host like they are in the same folder as the pages are in on the web page host?
All images are referred to as "/global/images/*.*" because of https security warnings if images aren't done this way or are not statically linked to the secured subdomain.
Is this the way to do it or am I just an idiot and am thinking in circles?
Thanks in advance!
JB