httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mark A. Craig" <>
Subject Re: [users@httpd] image folder outside the to access it ?
Date Wed, 26 Sep 2007 22:01:17 GMT
A good example of what Dragon talked about is the server scripting used by 
image-hosting sites like, whose specific goal is to prevent 
direct access to the files themselves.


-------- Original Message  --------
Subject: Re: [users@httpd] image folder outside the to  access it ?
From: Dragon <>
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:> for more info.
To unsubscribe, e-mail:
   "   from the digest:
For additional commands, e-mail:

View raw message