Re: apache2 - restrict download with password - Solved

2006-06-08 Thread Csanyi Pal
> > 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

Re: apache2 - restrict download with password

2006-06-07 Thread Jon Dowland
At 1149630710 past the epoch, Csanyi Pal wrote: > 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

Re: apache2 - restrict download with password

2006-06-06 Thread Csanyi Pal
> Date: Sun, 04 Jun 2006 17:38:50 +0200 > From: "Martin A. Brooks" <[EMAIL PROTECTED]> > To: Csanyi Pal <[EMAIL PROTECTED]>, > Debian-User > Subject: Re: apache2 - restrict download with password > > Csanyi Pal wrote: > > > >

Re: apache2 - restrict download with password

2006-06-04 Thread Martin A. Brooks
Csanyi Pal wrote: Here lies your problem. This needs to be the _virtual_ location, not the on-disk location. -- Martin A. Brooks | http://www.antibodymx.net/ | Anti-spam & anti-virus Consultant| [EMAIL PROTECTED] | filtering. Inoculate antibodymx.net | m: +4745888254

Re: apache2 - restrict download with password

2006-06-04 Thread Csanyi Pal
On Sun, Jun 04, 2006 at 02:26:59PM +0200, Martin A. Brooks wrote: > Csanyi Pal wrote: > >I did so, and try to open or download a file in this directory, but > >nothing restricts to open it or download it. Why? > > Without seeing your configuration file, I have no idea. I'm attaching the configur

Re: apache2 - restrict download with password

2006-06-04 Thread Csanyi Pal
On Sun, Jun 04, 2006 at 08:47:56AM -0400, Roberto C. Sanchez wrote: > >>Csanyi Pal wrote: > >> > >>>Now I don't know where to put in mine files to download? > >>>Can I put these files in ~/public_html/downloads/ ? > >> > >>If you want, yes. Just alter the virtual location to match. > > > > I did

Re: apache2 - restrict download with password

2006-06-04 Thread Roberto C. Sanchez
Csanyi Pal wrote: > On Sun, Jun 04, 2006 at 02:00:00PM +0200, Martin A. Brooks wrote: > >>Csanyi Pal wrote: >> >>>Now I don't know where to put in mine files to download? >>>Can I put these files in ~/public_html/downloads/ ? >> >>If you want, yes. Just alter the virtual location to match. > >

Re: apache2 - restrict download with password

2006-06-04 Thread Martin A. Brooks
Csanyi Pal wrote: I did so, and try to open or download a file in this directory, but nothing restricts to open it or download it. Why? Without seeing your configuration file, I have no idea. -- Martin A. Brooks | http://www.antibodymx.net/ | Anti-spam & anti-virus Consultant| [E

Re: apache2 - restrict download with password

2006-06-04 Thread Csanyi Pal
On Sun, Jun 04, 2006 at 02:00:00PM +0200, Martin A. Brooks wrote: > Csanyi Pal wrote: > >Now I don't know where to put in mine files to download? > >Can I put these files in ~/public_html/downloads/ ? > > If you want, yes. Just alter the virtual location to match. I did so, and try to open or do

Re: apache2 - restrict download with password

2006-06-04 Thread Martin A. Brooks
Csanyi Pal wrote: Now I don't know where to put in mine files to download? Can I put these files in ~/public_html/downloads/ ? If you want, yes. Just alter the virtual location to match. -- Martin A. Brooks | http://www.antibodymx.net/ | Anti-spam & anti-virus Consultant| [EMAIL

Re: apache2 - restrict download with password

2006-06-04 Thread Csanyi Pal
Hello! On Sun, Jun 04, 2006 at 07:32:48AM -0400, Roberto C. Sanchez wrote: > Martin A. Brooks wrote: > > Csanyi Pal wrote: > > > >> Any advices will be appreciated! > > > > Add a section like this to your apache config file: > > > > > >AuthType Basic > >A

Re: apache2 - restrict download with password

2006-06-04 Thread Roberto C. Sanchez
Martin A. Brooks wrote: > Csanyi Pal wrote: > >> Any advices will be appreciated! >> > > > Add a section like this to your apache config file: > > >AuthType Basic >AuthUserFile /path/to/htpasswd >AuthName "Who are you?" >

Re: apache2 - restrict download with password

2006-06-04 Thread Martin A. Brooks
Csanyi Pal wrote: Any advices will be appreciated! Add a section like this to your apache config file: AuthType Basic AuthUserFile /path/to/htpasswd AuthName "Who are you?" Require valid-user Regards -- Martin

apache2 - restrict download with password

2006-06-04 Thread Csanyi Pal
Hello! apache2 version: 2.0.54 I would like to restrict download from my http server with password. How can I do that? Any advices will be appreciated! -- Regards, Csányi Paul http://www.ektf.hu/~Csanyi.Pal (Up to now, it is in Hungarian only.) http://csanyipal.info/moodle <<<--- Moodle - C