Problem with directory directives?

Problem with directory directives?

am 02.11.2007 04:44:25 von Phil Latio


Order Allow,Deny
Allow from 999.999.999.999



Order Allow,Deny
Allow from 999.999.999.999 111.222.333.444


The problem I have with the above is that the first directive appears to
deny 111.222.333.444. from viewing the user1 directory. How do I overcome
this?

Cheers

Phil

Re: Problem with directory directives?

am 02.11.2007 06:00:45 von spam

"Phil Latio" wrote in message
news:t2xWi.254856$m81.232287@fe01.news.easynews.com...
>
> Order Allow,Deny
> Allow from 999.999.999.999 111.222.333.444
>

>
> The problem I have with the above is that the first directive appears to
> deny 111.222.333.444. from viewing the user1 directory. How do I overcome
> this?

Try separate lines:

Allow from 999.999.999.999
Allow from 111.222.333.444

Re: Problem with directory directives?

am 02.11.2007 06:00:45 von spam

"Phil Latio" wrote in message
news:t2xWi.254856$m81.232287@fe01.news.easynews.com...
>
> Order Allow,Deny
> Allow from 999.999.999.999 111.222.333.444
>

>
> The problem I have with the above is that the first directive appears to
> deny 111.222.333.444. from viewing the user1 directory. How do I overcome
> this?

Try separate lines:

Allow from 999.999.999.999
Allow from 111.222.333.444

Re: Problem with directory directives?

am 02.11.2007 06:00:45 von spam

"Phil Latio" wrote in message
news:t2xWi.254856$m81.232287@fe01.news.easynews.com...
>
> Order Allow,Deny
> Allow from 999.999.999.999 111.222.333.444
>

>
> The problem I have with the above is that the first directive appears to
> deny 111.222.333.444. from viewing the user1 directory. How do I overcome
> this?

Try separate lines:

Allow from 999.999.999.999
Allow from 111.222.333.444

Re: Problem with directory directives?

am 02.11.2007 10:17:56 von shimmyshack

On Nov 2, 3:44 am, "Phil Latio" wrote:
>
> Order Allow,Deny
> Allow from 999.999.999.999
>

>
>
> Order Allow,Deny
> Allow from 999.999.999.999 111.222.333.444
>

>
> The problem I have with the above is that the first directive appears to
> deny 111.222.333.444. from viewing the user1 directory. How do I overcome
> this?
>
> Cheers
>
> Phil

you could change your rules slightly for easier maintenance

/home/html
Deny from All
Allow from this guy

/home/html
Deny from All
Allow from this guy
Allow from another guy

it might be easier to use

/host/html
Deny from All
Allow from this guy

/host/html
Allow from another guy

because they inherit

Re: Problem with directory directives?

am 02.11.2007 15:20:39 von shimmyshack

On Nov 2, 9:17 am, shimmyshack wrote:
> On Nov 2, 3:44 am, "Phil Latio" wrote:
>
>
>
>
>
> >
> > Order Allow,Deny
> > Allow from 999.999.999.999
> >

>
> >
> > Order Allow,Deny
> > Allow from 999.999.999.999 111.222.333.444
> >

>
> > The problem I have with the above is that the first directive appears to
> > deny 111.222.333.444. from viewing the user1 directory. How do I overcome
> > this?
>
> > Cheers
>
> > Phil
>
> you could change your rules slightly for easier maintenance
>
> /home/html
> Deny from All
> Allow from this guy
>
> /home/html
> Deny from All
> Allow from this guy
> Allow from another guy
>
> it might be easier to use
>
> /host/html
> Deny from All
> Allow from this guy
>
> /host/html
> Allow from another guy
>
> because they inherit- Hide quoted text -
>
> - Show quoted text -

sorry typo of course,

/host/html/user1
Allow from another guy