[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: apache2 - restrict download with password - Solved



> > So would You please explain to me what is the virtual
> > location?
> 
> 'Virtual location' is a misleading term. What is meant is,
> the URI with which you access the resource.
> 
> As an example, On a fresh apache install, if you visit '/',
> the URI is /, the real location is /var/www,
> and the actual file served is /var/www/index.html.
> 
> A <Location> block works in terms of URIs[1].
> In the above example, you would specify <Location />.
> 
> If you want to do a local-directory based match, use
> <Directory>[2]. In the above example, you would specify
> <Directory /var/www>.
> 
> 
> [1] http://httpd.apache.org/docs/2.0/mod/core.html#location
> [2] http://httpd.apache.org/docs/2.0/mod/core.html#directory
> 
> -- 
> Jon Dowland

This explanation help me to solve my problem. Thanks!

-- 
Regards, Csányi Paul
http://www.ektf.hu/~Csanyi.Pal (Up to now, it is in Hungarian only.)
http://csanyipal.info/moodle  <<<---  Moodle - Course Management System
http://csanyipal.info:81      <<<---  sTeam - Cooperative Learning



Reply to: