[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [cobalt-users] htaccess allow only from url
- Subject: RE: [cobalt-users] htaccess allow only from url
- From: "Paul Alcock" <webmgr@xxxxxxxxxxxxxxxxxx>
- Date: Mon Sep 11 14:19:33 2000
> >
> > i need to protect a dir as to allow access from only one page
> on a different
> > url.
> >
> > nothing i have tried works i keep getting server error
> >
> > my latest attempt
> > <Limit GET>
> > order deny,allow
> > deny from all
> > allow from my page on other url
> > </Limit>
>
Found this at http://hoohoo.ncsa.uiuc.edu/docs/tutorials/user.html#Basic
Hope it helps..
Paul.
Quote.....
Protection by network domain -- exclusion.
This document is accessible to clients running on machines anywhere but
inside domain ncsa.uiuc.edu.
Note for NCSA readers: The .htaccess file used in this case is as follows:
AuthUserFile /dev/null
AuthGroupFile /dev/null
AuthName ExampleDenyFromNCSA
AuthType Basic
<Limit GET>
order allow,deny
allow from all
deny from .ncsa.uiuc.edu
</Limit>