httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Prince" <frien...@kaltelnet.net>
Subject Re: [users@httpd] .htaccess files with windows ME
Date Wed, 23 Apr 2003 16:18:46 GMT
k got it now tnx didnt know had to do that one...


----- Original Message -----
From: "Boyle Owen" <Owen.Boyle@swx.com>
To: <users@httpd.apache.org>
Sent: Wednesday, April 23, 2003 8:42 AM
Subject: RE: [users@httpd] .htaccess files with windows ME


> >-----Original Message-----
> >From: Prince [mailto:friendly@kaltelnet.net]
> >
> >i put a deny from all in the lib/ dir but it still will let
> >url get into
> >that dir and do whatever.. does the .htaccess file need to be
> >in htdocs root
> >or the dir to have control over?
>
> The .htaccess file has to be in the directory you want it to apply to. I
don't think that's your problem.
>
> Do you know how to use .htaccess files? You don't just create them, you
also have to make sure apache is allowed to use them to override the config
file. You do this with the "AllowOverride" directive (check docs for
details).
>
> At the minimum, you need;
>
> <Directory /usr/local/apache/htdocs/lib>
> AllowOverride Limit
> </Directory>
>
> in a directory container which controls your lib dir. Alternatively,
>
> <Directory /usr/local/apache/htdocs>
> AllowOverride All
> </Directory>
>
> in a directory container which controls the docroot will enable .htaccess
files everywhere on your site.
>
> NB these directives have to go in the httpd.conf - you can't put them in
.htaccess!
>
> Rgds,
> Owen Boyle
> Disclaimer: Any disclaimer attached to this message may be ignored.
>
>
> >
> >
> >----- Original Message -----
> >From: "Boyle Owen" <Owen.Boyle@swx.com>
> >To: <users@httpd.apache.org>
> >Sent: Wednesday, April 23, 2003 3:34 AM
> >Subject: RE: [users@httpd] .htaccess files with windows ME
> >
> >
> >> >-----Original Message-----
> >> >From: Prince [mailto:friendly@kaltelnet.net]
> >> >
> >> >i have a htdocs/lib/ dir that i want to keep url's out of what
> >> >would i put
> >> >in the .htaccess file to make it work on windows i just want
> >> >the lib/ part
> >> >denied from url's...
> >>
> >> Deny from all
> >>
> >> if you want to deny all access from anywhere, or (e.g.)
> >>
> >> Deny from 192.168.1
> >>
> >> if you want to deny access from a subdomain (in this case
> >192.168.1.XXX)
> >>
> >> Check docs for "Deny" and "Allow" for details.
> >>
> >> Rgds,
> >> Owen Boyle
> >> Disclaimer: Any disclaimer attached to this message may be ignored.
> >> >
> >> >
> >> >tnx for help
> >> >
> >> >
> >> >
> >> >
> >>
> >>---------------------------------------------------------------------
> >> >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
> >> >
> >> >
> >>
> >> This message is for the named person's use only. It may contain
> >> confidential, proprietary or legally privileged information. No
> >> confidentiality or privilege is waived or lost by any
> >mistransmission.
> >> If you receive this message in error, please notify the
> >sender urgently
> >> and then immediately delete the message and any copies of it
> >from your
> >> system. Please also immediately destroy any hardcopies of
> >the message.
> >> You must not, directly or indirectly, use, disclose,
> >distribute, print,
> >> or copy any part of this message if you are not the intended
> >recipient.
> >> The sender's company reserves the right to monitor all e-mail
> >> communications through their networks. Any views expressed in this
> >> message are those of the individual sender, except where the message
> >> states otherwise and the sender is authorised to state them to be the
> >> views of the sender's company.
> >>
> >>
> >>
> >> ---------------------------------------------------------------------
> >> 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