A good example of what Dragon talked about is the server scripting used by
image-hosting sites like ImageAvenue.com, whose specific goal is to prevent
direct access to the files themselves.
Mark
-------- Original Message --------
Subject: Re: [EMAIL PROTECTED] image folder outside the root....how to access
it ?
From: Dragon <[EMAIL PROTECTED]>
To: users@httpd.apache.org
Date: Wednesday, September 26, 2007 01:33:27 PM
Third, putting the image files outside the server root prevents them
from being served by Apache directly, this really is what you want to
achieve. However, this means that something else has to serve them for
Apache and this is generally done via some sort of script file that
checks the authentication and then sends the requested image file.
Apache can't serve anything it does not know how to get to and putting
the files outside of the server root structure will prevent Apache from
finding those files.
There are open source applications that do exactly what you want, the
files get served by the scripts and are not directly accessible via the
web URL space. Do a little searching and you can find examples of this
sort of script.
So in summary, Apache by itself cannot do what you want. You have to do
some scripting or install an application somebody else wrote that will
do it.
Dragon
---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: [EMAIL PROTECTED]
" from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]