[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: nimda



On Sat, 22 Sep 2001, Randy Bush wrote:
>
> could you translate the last sentence?  or, to put it another way, if
> my /usr/local/etc/apache/htttpd.conf has a lot of virtual-hosts, exactly
> where do i put this?

Place it as below. It should cover all the virtual hosts i.e
if all your virtual hosts document roots fall under /usr/www

---------------------------------
<Directory "/usr/www">

#
# This may also be "None", "All", or any combination of "Indexes",
# "Includes", "FollowSymLinks", "ExecCGI", or "MultiViews".
#
# Note that "MultiViews" must be named *explicitly* --- "Options All"
# doesn't give it to you.
#
    Options Indexes FollowSymLinks MultiViews

#
# This controls which options the .htaccess files in directories can
# override. Can also be "All", or any combination of "Options",
"FileInfo",
# "AuthConfig", and "Limit"
#
    AllowOverride None

>>>>>>>> RedirectMatch (.*)\cmd.exe$ http://127.0.0.1 <<<<<<<<<<

#
# Controls who can get stuff from this server.
#
    Order allow,deny
    Allow from all
</Directory>



Joseph.




-----
This is the afnog mailing list, managed by Majordomo 1.94.4

To send a message to this list, e-mail afnog at afnog.org
To send a request to majordomo, e-mail majordomo at afnog.org and put
your request in the body of the message (i.e use "help" for help)

This list is maintained by owner-afnog at afnog.org