httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mark A. Craig" <mark.a.cr...@gmail.com>
Subject Re: [users@httpd] image folder outside the root....how 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 ImageAvenue.com, whose specific goal is to prevent 
direct access to the files themselves.

Mark

-------- Original Message  --------
Subject: Re: [users@httpd] image folder outside the root....how to  access it ?
From: Dragon <dragon@crimson-dragon.com>
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: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message