httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jordan Thompson" <Jor...@ThompCo.com>
Subject Re: [users@httpd] confused with directory permissions
Date Sun, 01 Dec 2002 21:22:33 GMT

----- Original Message -----
From: "J. Greenlees" <jaqui@shaw.ca>
To: <users@httpd.apache.org>
Sent: Sunday, December 01, 2002 4:12 PM
Subject: Re: [users@httpd] confused with directory permissions


> Jordan,
> are you sure it's var/www/httpd and not var/www/http ?
> my Mandrake 9 box is the latter.

my  root is http, but my auth files (for .htaccess files) are in httpd.


I just checked my logs and am getting this error:
[Sun Dec  1 16:16:48 2002] [alert] [client 192.168.1.1]
/var/www/html/viasat/.htaccess: AuthName not allowed here

this is my .htaccess file:

AuthName "ViaSat Downloads"
  AuthType Basic
  AuthUserFile /var/www/httpd/viasat.users

  require valid-user

It used to work on older versions of apache.

thanks,
Jordan
>
> Jordan Thompson wrote:
> > WAITASEC... I guess I didn't hit refresh - Now, when I try to access the
> > directory, I get an Internal Server Error.  This is a little better...
Here
> > is my .htaccess file:
> >
> > AuthName "ViaSat Downloads"
> >   AuthType Basic
> >   AuthUserFile /var/www/httpd/viasat.users
> >
> >   require valid-user
> >
> >
> > Once again, this *used* to work.  I checked the path to viasat.users is
> > valid.
> >
> > thanks,
> > Jordan
> > ----- Original Message -----
> > From: "Jordan Thompson" <Jordan@ThompCo.com>
> > To: <users@httpd.apache.org>
> > Sent: Sunday, December 01, 2002 3:59 PM
> > Subject: Re: [users@httpd] confused with directory permissions
> >
> >
> >
> >>----- Original Message -----
> >>From: "Chris Meadors" <clubneon@hereintown.net>
> >>To: <users@httpd.apache.org>
> >>Sent: Sunday, December 01, 2002 3:55 PM
> >>Subject: Re: [users@httpd] confused with directory permissions
> >>
> >>
> >>
> >>>Don't worry about the <Location /> stuff now that you found your
> >>>DocumentRoot.  Now you just need the <Directory "/var/www/html">
> >>>directive.  Go and make the changes I said in my first e-mail to that
> >>>part of the conf.
> >>
> >>So my commonhttpd.conf should contain:
> >>
> >><Directory />
> >>  Options FollowSymLinks
> >>  AllowOverride None
> >></Directory>
> >>
> >><Directory /var/www/html>
> >>  Options +Indexes
> >>  AllowOverride Options
> >></Directory>
> >>
> >>I think that is what you were saying.
> >>
> >>thanks,
> >>Jordan
> >>
> >>---------------------------------------------------------------------
> >>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
> >
> >
> >
> > ---------------------------------------------------------------------
> > 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
> >
> >
>
>
>
> ---------------------------------------------------------------------
> 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


---------------------------------------------------------------------
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