Problem to set Apache Directive

Discussion in 'Installation/Configuration' started by sunghost, Sep 7, 2016.

  1. sunghost

    sunghost Member

    i want to set Apache Directives for Directory Listening, but it doesnt work over the Panel. Thats what i do:
    <Directory /var/www/clients/client10/web19/web>
    Options -Indexes
    Order allow,deny
    Allow from all
    But i can still Browse the / of the Webdir and the Error Dir, but not the Log Dir, which shows a white page and Stats Folder is not shown at all. Aim should be to disallow Directory Listening.

    Also Directive "ServerTokens Prod" throws an error in Apache log.
    System is Debian Jessie with Apache 2.4.10
  2. Jesse Norell

    Jesse Norell Well-Known Member Staff Member Howtoforge Staff

    Do you have a .htaccess file which overrides the webserver config file and allows indexing?
  3. NRP

    NRP New Member

  4. sunghost

    sunghost Member

    and thanks for your replies. First - there are no files under /web/ except mentioned dirs. NRP thx - i checked that and mod_autoindex is enabled, but i dont know what to do next with that info. One Point is that Option "ServerTokens Prod" was not excepted and i think that has nothing to do with this mod.

Share This Page