|
Home > Archive > Web Servers on Windows > November 2004 > htdocs subdirectory not recognized on localhost
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
htdocs subdirectory not recognized on localhost
|
|
| john gibb 2004-11-08, 5:47 pm |
| Hi,
I am using Apache 2, netscape 7.2, and IE 6.
I have a directory called "images" at my ISP underneath that is under my
main webpage area, "/webdocs" and contains some GIF files which, in turn,
render fine. And I reference them in my main page with
"/webdocs/images/test.gif" , for example.
I don't have the same luck with my local installation wherein I am using
Apache and am trying for similar results in a directory called
"\htdocs\images". Everything renders fine from the parent, "Apache2\htdocs"
directory, but not from its subdirectory. (with Netscape, I get a vertically
shortened partial image, and with IE, I get an error.)
Any thoughts?
thanks
-john
| |
| Nisse Engström 2004-11-13, 5:47 pm |
| john gibb<jgibb1@earthlink.net> wrote:
>
> I have a directory called "images" at my ISP underneath that is under my
> main webpage area, "/webdocs" and contains some GIF files which, in turn,
> render fine. And I reference them in my main page with
> "/webdocs/images/test.gif" , for example.
At a guess, if "/webdocs" is the root directory for web pages,
your pages should use "/images/test.gif" or "images/test.gif" (or
possibly even "/USERNAME/images/test.gif" depending on setup).
> I don't have the same luck with my local installation wherein I am using
> Apache and am trying for similar results in a directory called
> "\htdocs\images". Everything renders fine from the parent, "Apache2\htdocs"
> directory, but not from its subdirectory. (with Netscape, I get a vertically
> shortened partial image, and with IE, I get an error.)
Same thing here, unless I've misunderstood something.
Use "/images/..." etc. on your pages.
--n
|
|
|
|
|