Windows Server 2008R2 und Apache config

    Windows Server 2008R2 und Apache config

    Ich hätte da eine frage. Wenn ich jetzt z.b. IP Adressen die ich blocken will, in meine apache.conf einfügen will, also via include, bekomme ich immer beim Starten von Apache eine Fehler meldung. Aber der include befehlt geht doch so:

    Include conf/extra/httpd-ipbann.conf

    Ich habe kurzerhand eine .conf Datei erstellt, welche alle neuen IPs die gesperrt werden sollen, geladen werden. Liegt der Fehler jetzt am include oder an meiner httpd-ipbann.conf?

    Weil ich habe da bis jetzt nur die IPs reingehauen, vielleicht war das der Fehler?
    .conf schaut so aus:

    # China IP Address Blocks
    deny from 61.164.203.226/121.37.43.102
    deny from 112.65.229.156
    #---------------------------------------

    Müsste ich dann den inlcude zwischen diesen hier machen?

    <Directory "x:/x/htdocs">
    #
    # Possible values for the Options directive are "None", "All",
    # or any combination of:
    # Indexes Includes FollowSymLinks SymLinksifOwnerMatch ExecCGI

    MultiViews
    #
    # Note that "MultiViews" must be named *explicitly* --- "Options All"
    # doesn't give it to you.
    #
    # The Options directive is both complicated and important. Please see
    # httpd.apache.org/docs/2.2/mod/core.html#options
    # for more information.
    #
    Options Indexes FollowSymLinks

    #
    # AllowOverride controls what directives may be placed in .htaccess

    files.
    # It can be "All", "None", or any combination of the keywords:
    # Options FileInfo AuthConfig Limit
    #
    AllowOverride None

    # ====================================== ZUGRIFF auf Server ausschließen =============================================
    # Controls who can get stuff from this server.
    #
    Order allow,deny
    Allow from all
    Include conf/extra/httpd-ipbann.conf
    </Directory>

    Könnt ihr mir helfen?

    Danke
    Ihr sucht Webspace für eure Projekte? Dann sagt bescheid - kostenfrei und ohne Werbung!