-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Tue, Jan 6, 2009 at 8:06 AM, Jeff D  wrote:

> you could add something like this to your vhost conf:
>
>    Order Deny,Allow
>    Deny from all
>    Allow from 1.2.3.4
>

I am using Apache 2, so I add on sites-availabe directory


        ServerAdmin z...@design.paume.itb.ac.id
        ServerName blaba.zup-zup.xxx.ac.id
        DocumentRoot /var/lib/mediawiki

        Order Deny,Allow
        Deny from all
        Allow from x.x.x.x/16   

        LogLevel warn
        ErrorLog /var/log/apache2/error-wiki.log
        CustomLog /var/log/apache2/access-wiki.log common

        ServerSignature Off



But then when I reload it....
# /etc/init.d/apache2 reload
Syntax error on line 6 of /etc/apache2/sites-enabled/wiki:
order not allowed here
   ...fail!

:(

- --
Zaki Akhmad


-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: http://getfiregpg.org

iEYEARECAAYFAkljQbEACgkQI3d58oE7Pt7wVwCdESEuZOdRPlPonwW7mXV36ftN
IHoAoII9etd89oQWaa0EUIddUR4V0K8s
=SVfV
-----END PGP SIGNATURE-----


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to