httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kirk Woellert <kdwo...@gmail.com>
Subject Re: [users@httpd] Apache virtualhost order deny, allow works only on localhost; ignores public IP for allow
Date Sat, 22 Jun 2013 03:30:12 GMT
Its not file permissions -
So, I tried the suggestion. Now, in addition to access denied from the
public IP, access is also denied on the localhost (I tried the alias and a
physical path).
AND the site with a FQDN got redirected to the default Apache site
(/var/www). I was not expecting the currently working vhost to get broken
like that. I changed things back as per the start of my post but, I guess
this means something is very wrong with how the vhosts are setup. Some sort
of namespace confusion by Apache?


On Fri, Jun 21, 2013 at 8:42 PM, Igor Cicimov <icicimov@gmail.com> wrote:

>
> > <VirtualHost *:80>
> >     ServerName test
> >     ServerAlias test
> >     DocumentRoot /home/user3/public_html/test
> >     <IfModule mod_fcgid.c>
> >         SuexecUserGroup test test
> >         <Directory /home/user3/public_html/test>
> >             Order Deny,Allow
> >             Deny from all
> >             Allow from xxx.xxx.xxx.xxx 127
> >
> Assuming its not the file permission have you tried
>
> Order Allow,Deny
> Allow from xxx.xxx.xxx.xxx 127
> Deny from all
>
> ?
>

Mime
View raw message