Can 'require' override 'allow'/'deny' (Apache)

Can 'require' override 'allow'/'deny' (Apache)

Post by Sze-Yao » Wed, 10 Jan 1996 04:00:00



I am using apache 1.0.0.

It seems that 'require' in .htaccess can not override the
order/allow/deny setting in the access.conf.
Is it possible to mix the usages of 'require' and 'order/allow/deny'?
--
::  Sze-Yao Ni
::  Institute of CSIE, National Central University, Chung-Li, Taiwan, R.O.C.

::  finger me to get my PGP public key

 
 
 

Can 'require' override 'allow'/'deny' (Apache)

Post by Brad Crittende » Tue, 16 Jan 1996 04:00:00



> I am using apache 1.0.0.

> It seems that 'require' in .htaccess can not override the
> order/allow/deny setting in the access.conf.
> Is it possible to mix the usages of 'require' and 'order/allow/deny'?
> --
> ::  Sze-Yao Ni

the NCSA Httpd documentation discusses a directive "satisfy [any|all]".
it basically says to be authenticated a user must satisfy all of the
requirements or any of them.  to override IP/Domain filtering you would
use a require after deny/allow followed by a "satify any".

unfortunately Apache 1.0 does not implement this directive.  i
don't know why.  can someone clear this up?

--brad


 
 
 

Can 'require' override 'allow'/'deny' (Apache)

Post by Andrew Wilso » Fri, 19 Jan 1996 04:00:00




>> I am using apache 1.0.0.

>> It seems that 'require' in .htaccess can not override the
>> order/allow/deny setting in the access.conf.
>> Is it possible to mix the usages of 'require' and 'order/allow/deny'?
>> --
>> ::  Sze-Yao Ni

>the NCSA Httpd documentation discusses a directive "satisfy [any|all]".
>it basically says to be authenticated a user must satisfy all of the
>requirements or any of them.  to override IP/Domain filtering you would
>use a require after deny/allow followed by a "satify any".

>unfortunately Apache 1.0 does not implement this directive.  i
>don't know why.  can someone clear this up?

NCSA 1.5 introduced the Satisfy directive, and since Apache has
been tracking compatibility with NCSA 1.3 directives we haven't
been adding newer NCSA features.  We are aware of the usefulness
of Satisfy and will be exploring ways to add this functionality
to Apache in the near future, either as NCSA 1.5 compatibility
or buy using our own brand of access control directives.

If anyone out there's already added Satisfy to Apache then drop
me a line.

Cheers,
Ay.

- Show quoted text -

>--brad


 
 
 

Can 'require' override 'allow'/'deny' (Apache)

Post by Nathan Neuling » Sat, 20 Jan 1996 04:00:00


Quote:> >unfortunately Apache 1.0 does not implement this directive.  i
> >don't know why.  can someone clear this up?

> NCSA 1.5 introduced the Satisfy directive, and since Apache has
> been tracking compatibility with NCSA 1.3 directives we haven't
> been adding newer NCSA features.  We are aware of the usefulness
> of Satisfy and will be exploring ways to add this functionality
> to Apache in the near future, either as NCSA 1.5 compatibility
> or buy using our own brand of access control directives.

> If anyone out there's already added Satisfy to Apache then drop
> me a line.

How? You didn't post with a valid address?

Something else that was added with NCSA 1.5 that I would REALLY like to
see in Apache is sortof two things:

   1. Redirects in .htaccess files
   2. 'Options Redirect' - a separate option for controlling whether or
not a directory can do redirects or not. (In the betas of 1.5 they had the
redirect privilege grouped in with something else that I didn't want to
enable for users)

The other thing is allowing SSI #exec cgi only, (not cmd), and only for
CGI scripts that would be directly executable via HTTP to the server. (Eg.
the argument would be a URI specifying the cgi script)

------------------------------------------------------------
Nathan Neulinger                  Univ. of Missouri - Rolla

WWW: http://www.umr.edu/~nneul      SysAdmin: rollanet.org
WWW: http://pluto.cc.umr.edu      SysAdmin: pluto.cc.umr.edu

 
 
 

1. sed -e 's/\'a\'/\';\'/' ?

Hi,

my question is, how can I mask the single
quotation mark in my file for sed

I have a lot of SQL-Loader files of this kind:

cat t55.ctl
load data
infile 't55'
truncate
into table A_220_T55
fields terminated by ';' TRAILING NULLCOLS
(AAA_000_KEY    char ,
B_220_BBB_LFD_NR char ,
AAA_220_BBB     char )

there is given a delimiter ';'

The delimiter should be changed to a.

#!/bin/ksh
#set -x
for file in t*.ctl
do
sed -e 's/;/a/' $file >$file.new
mv $file.new $file
done

That's ok.

Now the delimiter should be rechanged from a to ;.
I'd tried

sed -e 's/\'a\'/\';\'/' $file >$file.new

It doesn't work.

How to mask the single quotation mark inside the sed command?

TIA,

Nele

2. optimum malloc size

3. Apache patch to allow 'Options None' when Options override disallowed

4. xpert@work agp

5. Why does 'ls' give '/' as the output?

6. Modem on Linux

7. sed and '/' to '\/' conversion.

8. new to Sol8 (Sparc) and need help

9. replacing '/' with '\\'

10. Why does 'ls' give '/' as the output?

11. How to do 'tunefs' on '/'

12. 'mail'/'sendmail' with higher priority??

13. 1.3.75 - "undefined ref to 'shm_swap'/'shm_segs'