I have similar configurations, this is what I did:
Mount image directory on machine_b to /usr/local/apache/htdocs/images on
machine_a, link image files as /image/xxxx.tif.




-----Original Message-----
From: Kairam, Raj [mailto:[EMAIL PROTECTED]]
Sent: Monday, September 25, 2000 8:19 AM
To: '[EMAIL PROTECTED]'
Cc: Kairam, Raj
Subject: Accessing images from a different server


I have Apache 1.3.12 running on a HP-UX 11 (Machine_A).
The document root is /usr/local/apache/htdocs.
I need the ability to make images on a different HP-UX 10.20 (Machine_B)
available for users from a web browser.
The images are in a directory /vault30 which is exported on Machine_B and is
nfs mounted on Machine_A.
In other words from Machine_A I can cd to /vault30 and see the images (
217359-0-2.tif) as if it is a local file.
I have the file /usr/local/apache/htdocs/index.html which has the following
line
<P><IMG SRC="/vault30/217359-0-2.tif"><BR>
>From a browser, if the user gives the URL as http://Machine_A/index.html the
browser should let him access the file 217359-0-2.tif.
The browser has a plugin and that can view this file if it is actually there
in /usr/local/apache/htdocs directory.
Since the file is physically located on a different machine, despite the
directory being nfs mounted, the browser fails to access that file.
How do I make the Apache Server on Machine_A get to the file on Machine_B
and make it available from the browser ?.

Any advise on how to configure this in httpd.conf will be greatly
appreciated.
Thanks
Raj Kairam

Reply via email to