httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Igor Cicimov <icici...@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 00:42:09 GMT
> <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